Configuring the Makefile
is pretty
simple, and again we suggest looking at existing examples
before starting. Also, there is a
sample Makefile in this
handbook, so take a look and please follow the ordering of
variables and sections in that template to make the port easier
for others to read.
Consider these problems in sequence during the
design of the new Makefile
:
Does it live in DISTDIR
as a standard
gzip
ped tarball named something like
foozolix-1.2.tar.gz
? If so, go on
to the next step. If not, the distribution file format might
require overriding one or more of
DISTVERSION
, DISTNAME
,
EXTRACT_CMD
,
EXTRACT_BEFORE_ARGS
,
EXTRACT_AFTER_ARGS
,
EXTRACT_SUFX
, or
DISTFILES
.
In the worst case, create a custom
do-extract
target to override the
default. This is rarely, if ever, necessary.
All FreeBSD documents are available for download at http://ftp.FreeBSD.org/pub/FreeBSD/doc/
Questions that are not answered by the
documentation may be
sent to <[email protected]>.
Send questions about this document to <[email protected]>.