mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +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.
70 lines
1.3 KiB
Bash
70 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-2016 Team Pe
|
|
"
|
|
LICENSE="
|
|
BSD (4-clause)
|
|
MIT
|
|
"
|
|
REVISION="8"
|
|
srcGitRev="f50baf0da36478cdb75d3799d8c3d4f5dbe49bce"
|
|
SOURCE_URI="https://github.com/HaikuArchives/Pe/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="94e3946437bc5f5e0163ed3f44b3f597c4471106999d00262ccd9fff763df091"
|
|
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()
|
|
{
|
|
# multi-job builds don't work reliably
|
|
jam -q
|
|
}
|
|
|
|
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
|
|
}
|