mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
* portVersionedName contains the secondary architecture, so using it means secondary package builds fail. example: $portVersionedName is libwow_x86-0.0.0 when doing an x86 build on x86_gcc2
74 lines
1007 B
Plaintext
74 lines
1007 B
Plaintext
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-2013 Team Pe
|
|
"
|
|
|
|
SRC_URI="hg+http://hg.berlios.de/repos/pe-editor#611"
|
|
REVISION="1"
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
|
|
PROVIDES="
|
|
pe = $portVersion
|
|
cmd:Pe = $portVersion compat >= 2
|
|
cmd:lpe = $portVersion compat >= 2
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku
|
|
lib:libpcre
|
|
lib:libpcreposix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
devel:libpcre >= 1
|
|
devel:libpcreposix >= 1
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
haiku_devel
|
|
cmd:bison
|
|
cmd:flex
|
|
cmd:gcc
|
|
cmd:jam
|
|
cmd:ld
|
|
"
|
|
|
|
USER_SETTINGS_FILES="
|
|
settings/pe directory
|
|
"
|
|
|
|
|
|
PATCHES="
|
|
pe-2.4.3_hg611.patch
|
|
pe-2.4.3_hg611.patch2
|
|
pe-2.4.3_hg611.patch3
|
|
"
|
|
|
|
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
|
|
}
|