From e63177b0b99f7ef658723dfe118e2b7e0589faa0 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Fri, 30 May 2014 10:05:41 +0000 Subject: [PATCH] Update Pe-recipe to current upstream version. --- haiku-apps/pe/pe-2.4.4_2014_05_29.recipe | 76 ++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 haiku-apps/pe/pe-2.4.4_2014_05_29.recipe diff --git a/haiku-apps/pe/pe-2.4.4_2014_05_29.recipe b/haiku-apps/pe/pe-2.4.4_2014_05_29.recipe new file mode 100644 index 000000000..1b5134999 --- /dev/null +++ b/haiku-apps/pe/pe-2.4.4_2014_05_29.recipe @@ -0,0 +1,76 @@ +SUMMARY="A programmer's editor" +DESCRIPTION=" +Pe is a native programmer's editor for Haiku. It features syntax highlighting \ +and a structural view for several programming language, as well as basic \ +support for Makefile and Jamfile project management. +" +HOMEPAGE="https://github.com/olta/pe" +LICENSE=" + BSD (4-clause) + MIT + " + +COPYRIGHT=" + 1996-2002 Maarteen Hekkelman + 2003-2014 Team Pe + " + +srcrev="8c23b804617361c0ce25dc42fce1c6dea46bbde5" +SOURCE_DIR="pe-$srcrev" +SRC_URI="https://github.com/olta/pe/archive/$srcrev.tar.gz" +CHECKSUM_SHA256="b3cb6b102a4b509aa6882d7c5a1dd55b3bc6fb072a9a784f98be03809967c247" +SRC_FILENAME="pe-$srcrev.tar.gz" + + +REVISION="1" +ARCHITECTURES="x86_gcc2 x86 x86_64" + +PROVIDES=" + pe = $portVersion + app:Pe = $portVersion compat >= 2 + cmd:lpe = $portVersion compat >= 2 + " + +REQUIRES=" + haiku + lib:libpcre + lib:libpcreposix + " + +BUILD_REQUIRES=" + haiku_devel + devel:libpcre + devel:libpcreposix + " + +BUILD_PREREQUIRES=" + cmd:bison + cmd:flex + cmd:gcc + cmd:jam + cmd:ld + " + +USER_SETTINGS_FILES=" + settings/pe directory + " + +BUILD() +{ + jam -q + # multi-job builds don't work reliably +} + +INSTALL() +{ + peDir=$appsDir/Pe + + mkdir -p $appsDir + cp -a generated/distro $peDir + cp -a doc $peDir/Documentation + + mkdir $binDir + ln -sfn $peDir/lpe $binDir + + addAppDeskbarSymlink $peDir/Pe +}