diff --git a/haiku-apps/pe/pe-2.4.5.recipe b/haiku-apps/pe/pe-2.4.5.recipe new file mode 100644 index 000000000..18ceaab9d --- /dev/null +++ b/haiku-apps/pe/pe-2.4.5.recipe @@ -0,0 +1,69 @@ +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="0f29ad9bd84c14c99a16ebc57f49661e55254ca2" +SRC_URI="https://github.com/olta/pe/archive/$srcrev.tar.gz" +CHECKSUM_SHA256="f76b70a1b444582ee537f4a190b788bc63a25d7cd6c759f427c744dbf861b342" +SOURCE_DIR="pe-$srcrev" +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 +}