Files
haikuports/sys-apps/getconf/getconf-r260000.recipe
2014-01-02 16:40:58 -05:00

49 lines
1001 B
Plaintext

SUMMARY="Prints out values of POSIX configuration variables"
DESCRIPTION="
FreeBSD getconf
The getconf command prints values of system configuration variables. It is a \
command interface to the values returned by sysconf(3), confstr(3), and \
pathconf(3).
"
HOMEPAGE="http://www.freebsd.org/"
COPYRIGHT="2000 Massachusetts Institute of Technology"
LICENSE="MIT"
SRC_URI="svn+http://svn.freebsd.org/base/head/usr.bin/getconf#260000"
#CHECKSUM_MD5=""
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PATCHES="getconf-makefile.patch"
PROVIDES="
getconf = $portVersion
cmd:getconf = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
makefile_engine
cmd:mkdepend
cmd:gcc
cmd:make
"
BUILD()
{
export COPYRIGHT
export LICENSE
export PORT_VERSION=$portVersion
make -f makefile.haiku $jobArgs
}
INSTALL()
{
make -f makefile.haiku install INSTALL_DIR=$binDir
mkdir -p $manDir/man1
install -m 644 getconf.1 $manDir/man1/
}