From 3c931011aa3fc5577cb7f55b8b0dca739013cb82 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sat, 4 Jan 2014 11:57:07 +0100 Subject: [PATCH] Add recipe for cvsps. --- dev-vcs/cvsps/cvsps-2.2b1.recipe | 57 ++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 dev-vcs/cvsps/cvsps-2.2b1.recipe diff --git a/dev-vcs/cvsps/cvsps-2.2b1.recipe b/dev-vcs/cvsps/cvsps-2.2b1.recipe new file mode 100644 index 000000000..b2d428fdc --- /dev/null +++ b/dev-vcs/cvsps/cvsps-2.2b1.recipe @@ -0,0 +1,57 @@ +SUMMARY="Generate patch sets from a CVS repository" +DESCRIPTION=" +CVSps is a program for generating 'patchset' information from a CVS +repository. A patchset in this case is defined as a set of changes made +to a collection of files, and all committed at the same time (using a +single 'cvs commit' command). This information is valuable to seeing the +big picture of the evolution of a cvs project. While cvs tracks revision +information, it is often difficult to see what changes were committed +'atomically' to the repository. +" +HOMEPAGE="http://www.cobite.com/cvsps/" +COPYRIGHT="2001-2003 David Mansfield" +LICENSE="GNU GPL v2" +SRC_URI="http://www.cobite.com/cvsps/cvsps-2.2b1.tar.gz" +CHECKSUM_MD5="997580e8e283034995b9209076858c68" +REVISION="1" +ARCHITECTURES="x86 x86_64" +if [ $effectiveTargetArchitecture != x86_gcc2 ]; then + # x86_gcc2 is fine as primary target architecture as long as we're building + # for a different secondary architecture. + ARCHITECTURES="$ARCHITECTURES x86_gcc2" +fi +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + cvsps$secondaryArchSuffix = $portVersion + cmd:cvsps = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + lib:libz$secondaryArchSuffix + " +BUILD_REQUIRES=" + devel:libz$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:make + " + + +BUILD() +{ + CC="gcc -lnetwork" make $jobArgs +} + +INSTALL() +{ + # even when building as hybrid, we want this as cvsps, not cvsps-x86. + mkdir -p $prefix/bin + cp cvsps $prefix/bin + + mkdir -p $manDir + cp cvsps.1 $manDir +}