devel/m4 1.4.21,1 FreeBSD
GNU M4
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- GPLv3
- Categories
- devel
- Package size
- 331.2 KiB, 1186.0 KiB installed
Description
GNU M4 is an implementation of the traditional Unix macro processor. It is mostly SVR4 compatible although it has some extensions (for example, handling more than 9 positional parameters to macros). GNU M4 also has built-in functions for including files, running shell commands, doing arithmetic, etc.
GNU M4 is a macro processor in the sense that it copies its input to the output expanding macros as it goes. Macros are either builtin or user-defined and can take any number of arguments. Besides just doing macro expansion, m4 has builtin functions for including named files, running UNIX commands, doing integer arithmetic, manipulating text in various ways, recursion etc... m4 can be used either as a front-end to a compiler or as a macro processor in its own right.
One of the biggest users of GNU M4 is the GNU Autoconf project.
In the other systems
Install
Binary package:
pkg install m4
From the ports tree:
cd /usr/ports/devel/m4/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= m4>0:devel/m4
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.4.21,1 | 1.4.21,1 | 1.4.19,1 | 1.4.19_1,1 | 1.4.21,1 |
| FreeBSD:14:quarterly | 1.4.21,1 | 1.4.21,1 | n/a | 1.4.19_1,1 | 1.4.21,1 |
| FreeBSD:15:latest | 1.4.21,1 | 1.4.21,1 | n/a | 1.4.19_1,1 | 1.4.19_1,1 |
| FreeBSD:15:quarterly | 1.4.21,1 | 1.4.21,1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.4.21,1 | 1.4.21,1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 17
- converters/libiconv
- converters/p5-Text-Unidecode
- devel/gettext-runtime
- devel/gettext-tools
- devel/libffi
- devel/libtextstyle
- devel/libunistring
- devel/p5-Locale-libintl
- devel/readline
- lang/perl5.42
- lang/python312
- math/mpdecimal
- print/indexinfo
- print/texinfo
- textproc/expat2
- textproc/libxml2
- textproc/p5-Unicode-EastAsianWidth
Run dependencies 2
Required by 1863
- accessibility/caribou
- accessibility/gammastep
- accessibility/redshift
- archivers/advancecomp
- archivers/ancient
- archivers/arj
- archivers/deutex
- archivers/lha-ac
- archivers/lhasa
- archivers/minizip
- archivers/mscompress
- archivers/par2cmdline
- archivers/par2cmdline-turbo
- archivers/pecl-lzf
- archivers/pecl-rar
- archivers/pecl-zstd
- archivers/php-brotli
- archivers/php-bzip3
- archivers/php-horde_lz4
- archivers/php-lz4
- archivers/php-snappy
- archivers/php-zstd
- archivers/php82-bz2
- archivers/php82-phar
- archivers/php82-zip
- archivers/php82-zlib
- archivers/php83-bz2
- archivers/php83-phar
- archivers/php83-zip
- archivers/php83-zlib
- archivers/php84-bz2
- archivers/php84-phar
- archivers/php84-zip
- archivers/php84-zlib
- archivers/php85-bz2
- archivers/php85-phar
- archivers/php85-zip
- archivers/php85-zlib
- archivers/php86-bz2
- archivers/php86-phar
- archivers/php86-zip
- archivers/php86-zlib
- archivers/snzip
- archivers/torrentzip
- archivers/unadf
- archivers/urbackup-client
- archivers/urbackup-server
- archivers/xarchiver
- astro/erfa
- astro/gnuastro
- astro/gpsbabel14
- astro/kosmindoormap
- astro/libnova
- astro/wmmoonclock
- audio/adplay
- audio/alac
- audio/aqualung
- audio/calf-lv2
- audio/csound
- audio/cuetools
- audio/deadbeef-mpris2-plugin
- audio/dgedit
- audio/din
- audio/espeak-ng
- audio/flac123
- audio/gigedit
- audio/gsequencer
- audio/gvolwheel
- audio/komposter
- audio/liba52
- audio/libadplug
- audio/libaiff
- audio/libamrnb
- audio/libamrwb
- audio/libnoise
- audio/libsidplay
- audio/linux-c7-alsa-plugins-oss
- audio/linux-rl9-alsa-plugins-oss
- audio/linuxsampler
- audio/liquidsfz
- audio/mhwaveedit
- audio/musepack
- audio/ncmpcpp
- audio/opusfile
- audio/pa-applet
- audio/pasystray
- audio/pd
- audio/pianod2
- audio/pipewire-module-xrdp
- audio/portaudio
- audio/pulseaudio-module-xrdp
- audio/rezound
- audio/rnnoise
- audio/rnnoise-nu
- audio/rsynth
- audio/rtmidi
- audio/schismtracker
- audio/shairplay
- audio/shairport-sync
- audio/solfege
The first 100 are listed.
Configuration
Options name: devel_m4
| Option | Default | Description |
|---|---|---|
| EXAMPLES | off | Build and/or install examples |
| INFO | on | Build and/or install GNU info pages |
| LIBSIGSEGV | off | Use alternative page fault handler (GNU libsigsegv) |
| NLS | off | Native Language Support |
- USES
- cpe iconv tar:xz
- Service scripts
- none
Files
Manual pages 1
- gm4(1)
pkg-plist 75
- bin/gm4
- share/examples/m4/barem4.m4
- share/examples/m4/capitalize.m4
- share/examples/m4/capitalize2.m4
- share/examples/m4/comments.m4
- share/examples/m4/curry.m4
- share/examples/m4/ddivert.m4
- share/examples/m4/debug.m4
- share/examples/m4/esyscmd.m4
- share/examples/m4/exp.m4
- share/examples/m4/file.m4
- share/examples/m4/foreach.m4
- share/examples/m4/foreach2.m4
- share/examples/m4/foreachq.m4
- share/examples/m4/foreachq2.m4
- share/examples/m4/foreachq3.m4
- share/examples/m4/foreachq4.m4
- share/examples/m4/forloop.m4
- share/examples/m4/forloop2.m4
- share/examples/m4/forloop3.m4
- share/examples/m4/fstab.m4
- share/examples/m4/hanoi.m4
- share/examples/m4/incl-test.m4
- share/examples/m4/incl.m4
- share/examples/m4/include.m4
- share/examples/m4/indir.m4
- share/examples/m4/join.m4
- share/examples/m4/loop.m4
- share/examples/m4/misc.m4
- share/examples/m4/multiquotes.m4
- share/examples/m4/patsubst.m4
- share/examples/m4/pushpop.m4
- share/examples/m4/quote.m4
- share/examples/m4/regexp.m4
- share/examples/m4/reverse.m4
- share/examples/m4/stack.m4
- share/examples/m4/stack_sep.m4
- share/examples/m4/sync-lines.m4
- share/examples/m4/sysv-args.m4
- share/examples/m4/testbarem4.m4
- share/examples/m4/trace.m4
- share/examples/m4/translit.m4
- share/examples/m4/undivert.m4
- share/examples/m4/wrap.m4
- share/examples/m4/wrapfifo.m4
- share/examples/m4/wraplifo.m4
- share/examples/m4/wraplifo2.m4
- share/locale/bg/LC_MESSAGES/m4.mo
- share/locale/cs/LC_MESSAGES/m4.mo
- share/locale/da/LC_MESSAGES/m4.mo
- share/locale/de/LC_MESSAGES/m4.mo
- share/locale/el/LC_MESSAGES/m4.mo
- share/locale/eo/LC_MESSAGES/m4.mo
- share/locale/es/LC_MESSAGES/m4.mo
- share/locale/fi/LC_MESSAGES/m4.mo
- share/locale/fr/LC_MESSAGES/m4.mo
- share/locale/ga/LC_MESSAGES/m4.mo
- share/locale/gl/LC_MESSAGES/m4.mo
- share/locale/hr/LC_MESSAGES/m4.mo
- share/locale/id/LC_MESSAGES/m4.mo
- share/locale/ja/LC_MESSAGES/m4.mo
- share/locale/ka/LC_MESSAGES/m4.mo
- share/locale/ko/LC_MESSAGES/m4.mo
- share/locale/nl/LC_MESSAGES/m4.mo
- share/locale/pl/LC_MESSAGES/m4.mo
- share/locale/pt_BR/LC_MESSAGES/m4.mo
- share/locale/ro/LC_MESSAGES/m4.mo
- share/locale/ru/LC_MESSAGES/m4.mo
- share/locale/sr/LC_MESSAGES/m4.mo
- share/locale/sv/LC_MESSAGES/m4.mo
- share/locale/uk/LC_MESSAGES/m4.mo
- share/locale/vi/LC_MESSAGES/m4.mo
- share/locale/zh_CN/LC_MESSAGES/m4.mo
- share/locale/zh_TW/LC_MESSAGES/m4.mo
- share/man/man1/gm4.1.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| m4-1.4.21.tar.xz | 2.080016e+06 | f25c6ab51548a73a75558742fb031e0625d6485fe5f9155949d6486a2408ab66 |
Master sites 1
- GNU
Commit history 0
No commits in the history this site was built from.