mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
72 lines
1.3 KiB
Bash
72 lines
1.3 KiB
Bash
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"
|
|
COPYRIGHT="
|
|
1996-2002 Maarteen Hekkelman
|
|
2003-2014 Team Pe
|
|
"
|
|
LICENSE="
|
|
BSD (4-clause)
|
|
MIT
|
|
"
|
|
REVISION="1"
|
|
srcGitRev="8c23b804617361c0ce25dc42fce1c6dea46bbde5"
|
|
SOURCE_URI="https://github.com/olta/pe/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="b3cb6b102a4b509aa6882d7c5a1dd55b3bc6fb072a9a784f98be03809967c247"
|
|
SOURCE_FILENAME="pe-$srcGitRev.tar.gz"
|
|
SOURCE_DIR="pe-$srcGitRev"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
USER_SETTINGS_FILES="
|
|
settings/pe directory
|
|
"
|
|
|
|
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
|
|
"
|
|
|
|
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
|
|
}
|