Portfile Command Reference
Commands
Fetch Options
Extract Options
extract.only
Type: Optional Default: ${distfiles}
List of files to extract into ${workpath}.
extract.only worksrc-1.4.4.tar.gz
extract.cmd
Type: optional Default: gzip
Command to perform extract.
extract.cmd bzip2
extract.pre_args
Type: optional Default: -dc
Arguments added to ${extract.cmd} before a file name.
extract.pre_args -cd
extract.args
Type: read-only Default: ${distpath}/${distfile}
Arguments to ${extract.cmd}.
extract.post_args
Type: optional Default: | tar -xf -
Arguments added to extract command after a file name.
extract.post_args | tar -x -s@bladeenc-0.94.2/other_makefiles/BladeEnc..@@p -f -
extract.suffix
Type: optional Default: .tar.gz
Suffix to append to ${distname}
extract.suffix .tgz
use_zip
Type: optional
Sets extract.suffix to: .zip Sets extract.cmd to:
unzip Sets extract.pre_args to: -q Sets extract.post_args
to: "-d $portpath/$workdir"
use_zip yes
File Verification Options
checksums
Type: optional
List of checksums in the format: <file name>
<checksum type> <checksum> Currently, the only
supported checksum type is md5. If only one file is
downloaded, the filename may be ommitted.
checksums dictd-1.7.1.tar.gz
md5 81317b86ea0a5df0163900ad2e6bb12c
CVS Options
Patch Options
Configure Options
configure.pre_args
Type: optional
Arguments added to configure command before
${configure.args}.
configure.pre_args
--prefix=${prefix}/etc
configure.args
Type: optional
Arguments to pass to ${configure.cmd}.
configure.args
--etcdir=${prefix}/etc
configure.dir
Type: optional
Directory in which to run ${configure-cmd}.
configure.dir src
Automake Options
use_automake
Type: optional Default: ${workpath}/${worksrcdir}
If set to yes, use ${automake.cmd}.
use_automake yes
automake.env
Type: optional
Environmental variables to pass to ${automake.cmd}.
automake.env
CFLAGS=-I${prefix}/include/gtk12
automake.args
Type: optional
Arguments to pass to ${automake.cmd}.
automake.args --foreign
automake.dir
Type: optional Default:
${workpath}/${worksrcdir}
Directory in which to run ${automake.cmd}.
automake.dir src
Autoconf Options
use_autoconf
Type: Optional
If set to yes, run ${autoconf.cmd}.
use_autoconf yes
autoconf.env
Type: optional
Environment variables to pass to ${autoconf.cmd}.
autoconf.env
CFLAGS=-I${prefix}/include/gtk12
autoconf.args
Type: optional
Arguments to pass to ${autoconf.cmd}.
autoconf.args -l
src/aclocaldir
autoconf.dir
Type: optional Default: ${autoconf.dir}
Directory in which to run ${autoconf.cmd}.
autoconf.dir src
Build Options
build.cmd
cmdType: optional, Default: make
Make command to run relative to ${worksrcdir}.
build.cmd pbxbuild
build.type
Type: optional Default: make
Defines which 'make' is required, either 'gnu' or 'bsd'
Sets build.cmd to either 'gnumake' or 'bsdmake' accordingly
build.type bsd
build.pre_args
Type: read-only Default: ${build.target}
Arguments to pass to ${build.cmd} before ${build.args}.
build.args
Type: optional
Arguments to pass to ${build.cmd}.
build.args -DNOWARN
build.target
Type: optional Default: all
Target to pass to make for building everything.
build.target all-src
Install Options
install.cmd
cmdType: optional, Default: ${build.cmd}
Install command to run relative to ${worksrcdir}.
install.cmd pbxbuild
install.type
Type: optional Default: ${build.type}
Defines which 'make' is required, either 'gnu' or 'bsd'
Sets build.cmd to either 'gnumake' or 'bsdmake'
accordingly.
install.type gnu
install.pre_args
Type: read-only Default: ${install.target}
Arguments to pass to ${install.cmd} before
${install.args}.
install.args
Type: optional
Arguments to pass to ${install.cmd}.
build.args -DNOWARN
install.target
Type: optional Default: install
Install target to pass to ${install.cmd}.
install.target install-src
install.destroot
Type: optional Default: DESTDIR='${destroot}'
Arguement passed to ${install.cmd} to cause port to
install via the temporary destroot.
install.destroot prefix='${destroot}'
Xmkmf Options
xmkmf
Does nothing.
Libtool Options
libtool
Does nothing.