From 30f1cc3a3beed0c54af7a32701f3c6aa2e157153 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Sun, 20 Oct 2013 00:27:54 -0600 Subject: [PATCH] Convert/update patch to working recipe --- sys-devel/patch/patch-2.6.1.recipe | 29 ----------------------- sys-devel/patch/patch-2.7.1.recipe | 37 ++++++++++++++++++++++-------- 2 files changed, 28 insertions(+), 38 deletions(-) delete mode 100644 sys-devel/patch/patch-2.6.1.recipe diff --git a/sys-devel/patch/patch-2.6.1.recipe b/sys-devel/patch/patch-2.6.1.recipe deleted file mode 100644 index 869ed1002..000000000 --- a/sys-devel/patch/patch-2.6.1.recipe +++ /dev/null @@ -1,29 +0,0 @@ -DESCRIPTION="Utility to apply diffs to files." -HOMEPAGE="http://www.gnu.org/software/patch/" -SRC_URI="http://ftp.gnu.org/pub/gnu/patch/patch-2.6.1.tar.bz2" -CHECKSUM_MD5="0818d1763ae0c4281bcdc63cdac0b2c0" -REVISION="1" -STATUS_HAIKU="stable" -DEPEND="" -BUILD() -{ - cd patch-2.6.1 - prefix=$(finddir B_PACKAGE_LINKS_DIRECTORY)/patch-2.6.1 - ./configure --prefix=$prefix \ - --datarootdir=$prefix/data \ - --sbindir=$prefix/bin \ - --includedir=$prefix/develop/headers \ - --sysconfdir=$prefix/settings \ - --docdir=$prefix/documentation/packages/patch \ - --infodir=$prefix/documentation/info \ - --mandir=$prefix/documentation/man - make -} - -INSTALL() -{ - cd patch-2.6.1 - make install -} -LICENSE="GNU GPL v3" -COPYRIGHT="1989-2009 Free Software Foundation, Inc." diff --git a/sys-devel/patch/patch-2.7.1.recipe b/sys-devel/patch/patch-2.7.1.recipe index 5be2da908..80d5bc4d7 100644 --- a/sys-devel/patch/patch-2.7.1.recipe +++ b/sys-devel/patch/patch-2.7.1.recipe @@ -1,22 +1,41 @@ -DESCRIPTION="Utility to apply diffs to files" +SUMMARY="Utility to apply diffs to files" +DESCRIPTION=" +Patch takes a patch file containing a difference listing produced by +the diff program and applies those differences to one or more +original files, producing patched versions. +" +LICENSE="GNU GPL v3" +COPYRIGHT="2012 Free Software Foundation, Inc." HOMEPAGE="http://www.gnu.org/software/patch/" SRC_URI="http://ftp.gnu.org/pub/gnu/patch/patch-2.7.1.tar.bz2" CHECKSUM_MD5="0881a7c6477862fc395f373ada0ec6b6" -STATUS_HAIKU="stable" +ARCHITECTURES="x86 x86_gcc2" REVISION="1" + +PROVIDES=" + patch = $portVersion + cmd:patch = $portVersion + " + +REQUIRES=" + haiku >= $haikuVersion + " + +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + cmd:make + cmd:gcc + " + +SOURCE_DIR="$portVersionedName" + BUILD() { - cd patch-2.7.1 - ./configure --prefix=`finddir B_COMMON_DIRECTORY` \ - --mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man + runConfigure ./configure make } INSTALL() { - cd patch-2.7.1 make install } - -LICENSE="GNU GPL v3" -COPYRIGHT="2012 Free Software Foundation, Inc." \ No newline at end of file