From 98e24ea06555600d4d76c94f01cda598d6bffa0e Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 24 Apr 2013 15:58:41 +0200 Subject: [PATCH] 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. --- sys-apps/man/man-1.6g.recipe | 51 +++++++++++++++++++++++++++++------- 1 file changed, 41 insertions(+), 10 deletions(-) diff --git a/sys-apps/man/man-1.6g.recipe b/sys-apps/man/man-1.6g.recipe index 812c21cd4..96f589644 100644 --- a/sys-apps/man/man-1.6g.recipe +++ b/sys-apps/man/man-1.6g.recipe @@ -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."