Convert man 1.6g recipe to an actual recipe

Due to man needing a config file and our package manager/daemon not
supporting any settings file handling one has to manually copy the
man.conf from the package to the respective settings directory to
make things work.
This commit is contained in:
Ingo Weinhold
2013-04-24 15:58:41 +02:00
parent 27fd02eaf4
commit 98e24ea065

View File

@@ -1,23 +1,54 @@
DESCRIPTION="Standard commands to read man pages."
SUMMARY="Standard commands to read man pages"
DESCRIPTION="Standard commands to read man pages."
HOMEPAGE="http://primates.ximian.com/~flucifredi/man/"
SRC_URI="http://primates.ximian.com/~flucifredi/man/man-1.6g.tar.gz"
CHECKSUM_MD5="ba154d5796928b841c9c69f0ae376660"
LICENSE="GNU GPL v2"
COPYRIGHT="1989-2012 Free Software Foundation, Inc."
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="sys-apps/groff >= 1.20.1"
ARCHITECTURES="x86_gcc2 ?x86"
PATCHES="man-1.6g.patch"
PROVIDES="
man = $portVersion compat >= 1.6
"
REQUIRES="
haiku >= $haikuVersion
cmd:groff
cmd:gunzip
cmd:bzip2
cmd:zcat
"
BUILD_REQUIRES="
cmd:groff
cmd:gunzip
cmd:bzip2
cmd:zcat
cmd:gcc
cmd:ld
cmd:make
cmd:sed
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
"
SOURCE_DIR="$portVersionedName"
BUILD()
{
cd man-1.6g
./configure -prefix=`finddir B_COMMON_DIRECTORY` \
-sbindir=`finddir B_COMMON_BIN_DIRECTORY` \
-confdir=`finddir B_COMMON_SETTINGS_DIRECTORY`
LIBS="-L/boot/system/lib -llocale" \
groff=/packages/$portVersionedName/cmd:groff/bin/groff \
./configure -prefix=$prefix \
-bindir=$binDir \
-sbindir=$sbinDir \
-confdir=$sysconfDir \
-mandir=$manDir
make
}
INSTALL()
{
cd man-1.6g
make install
}
LICENSE="GNU GPL v2"
COPYRIGHT="1989-2012 Free Software Foundation, Inc."