BSD Ports

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

SystemPortVersion
FreeBSDdevel/m41.4.21,1
OpenBSDdevel/m41.4.21
NetBSDdevel/m41.4.21
DragonFlydevel/m41.4.19_1,1
MidnightBSDdevel/m41.4.21,1
HardenedBSDdevel/m41.4.21,1
GhostBSDdevel/m41.4.21,1
OPNsensedevel/m41.4.21,1

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.4.21,11.4.21,11.4.19,11.4.19_1,11.4.21,1
FreeBSD:14:quarterly1.4.21,11.4.21,1n/a1.4.19_1,11.4.21,1
FreeBSD:15:latest1.4.21,11.4.21,1n/a1.4.19_1,11.4.19_1,1
FreeBSD:15:quarterly1.4.21,11.4.21,1n/an/an/a
FreeBSD:16:latest1.4.21,11.4.21,1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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
Run dependencies 2
Required by 1863

The first 100 are listed.

Configuration

Options name: devel_m4

OptionDefaultDescription
EXAMPLESoffBuild and/or install examples
INFOonBuild and/or install GNU info pages
LIBSIGSEGVoffUse alternative page fault handler (GNU libsigsegv)
NLSoffNative 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
FileSizeSHA256
m4-1.4.21.tar.xz2.080016e+06f25c6ab51548a73a75558742fb031e0625d6485fe5f9155949d6486a2408ab66
Master sites 1
  • GNU

Commit history 0

No commits in the history this site was built from.