mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
be declared properly, now * improve formatting of recipe files for better readability and better compatibility with showing diffs (when moving specification lines) * add/improve DESCRIPTION where it was just a copy of SUMMARY
64 lines
1.6 KiB
Plaintext
64 lines
1.6 KiB
Plaintext
SUMMARY="A macro processor"
|
|
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.
|
|
|
|
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 M4 is the GNU Autoconf project.
|
|
"
|
|
HOMEPAGE="http://www.gnu.org/software/m4/"
|
|
SRC_URI="http://ftp.gnu.org/gnu/m4/m4-1.4.16.tar.gz"
|
|
CHECKSUM_MD5="a5dfb4f2b7370e9d34293d23fd09b280"
|
|
REVISION="3"
|
|
ARCHITECTURES="x86_gcc2 ?x86"
|
|
|
|
PROVIDES="
|
|
m4 = $portVersion compat >= 1.4
|
|
cmd:m4 = $portVersion compat >= 1.4
|
|
"
|
|
REQUIRES="
|
|
haiku >= $haikuVersion
|
|
"
|
|
BUILD_REQUIRES="
|
|
cmd:sed
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku-devel >= $haikuVersion
|
|
cmd:gcc
|
|
cmd:ld
|
|
cmd:make
|
|
"
|
|
|
|
SOURCE_DIR="$portVersionedName"
|
|
|
|
BUILD()
|
|
{
|
|
./configure $configureDirArgs \
|
|
--disable-rpath --with-gnu-ld \
|
|
--enable-changeword
|
|
make -j$jobs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|
|
|
|
LICENSE="GNU GPL v3"
|
|
COPYRIGHT="2000, 2005-2011 Free Software Foundation, Inc."
|