From 8139b1c0634b171299682d0390a940c82fa344e9 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Fri, 19 Apr 2013 22:23:29 +0000 Subject: [PATCH] * commit incomplete conversion of pe-2.4.3_hg to recipe format --- haiku-apps/pe/pe-2.4.3_hg.recipe | 53 ++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 haiku-apps/pe/pe-2.4.3_hg.recipe diff --git a/haiku-apps/pe/pe-2.4.3_hg.recipe b/haiku-apps/pe/pe-2.4.3_hg.recipe new file mode 100644 index 000000000..e2d3f9352 --- /dev/null +++ b/haiku-apps/pe/pe-2.4.3_hg.recipe @@ -0,0 +1,53 @@ +SUMMARY="A programmer's editor" +DESCRIPTION="A programmer's editor" +HOMEPAGE="http://pe-editor.berlios.de/" +LICENSE=" + BSD (4-clause) + MIT + " +COPYRIGHT=" + 1996-2002 Maarteen Hekkelman + 2003-2012 Team Pe + " +SRC_URI="hg+http://hg.berlios.de/repos/pe-editor" +REVISION="2" +ARCHITECTURES="x86_gcc2 ?x86" + +DEPEND="dev-libs/libpcre >= 8.00" +PROVIDES=" + pe = $portVersion + cmd:Pe = $portVersion compat >= 2 + cmd:lpe = $portVersion compat >= 2 + " + +REQUIRES=" + haiku >= $haikuVersion + lib:libpcre >= 8 + lib:libpcreposix >= 8 + " +BUILD_REQUIRES=" + cmd:gcc + cmd:jam + cmd:ld + " +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + " + +SOURCE_DIR="$portVersionedName" + +BUILD() +{ + jam +} + +INSTALL() +{ + mkdir -p ${DESTDIR}/boot/apps + cp -a generated/distro ${DESTDIR}/boot/apps/Pe + cp -a doc ${DESTDIR}/boot/apps/Pe/Documentation + rm -f ${DESTDIR}/boot/apps/Pe/.OptionalPackageDescription + if [ -z "${DESTDIR}" ];then + find /boot/apps/Pe -type d -name ".svn" | xargs rm -rf + fi +}