mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 20:20:06 +02:00
pe: Update to hg614
* Fixes build: - pcre detection - B_COMMON_*_DIRECTORY constants * Fixes find function dialog (functions were missing). * Patches pe-2.4.3_hg611.patch and pe-2.4.3_hg611.patch2 are no longer needed for this version. Patch pe-2.4.3_hg611.patch3 has not been upstreamed as it misses a copyright header in the added file. * Remove pcre version requirement. AFAICT ">= 1" is not necessary and the previous ">= 0.0.1" was superfluous, since that's the earliest packaged version we have anyway.
This commit is contained in:
72
haiku-apps/pe/pe-2.4.3_hg614.recipe
Normal file
72
haiku-apps/pe/pe-2.4.3_hg614.recipe
Normal file
@@ -0,0 +1,72 @@
|
||||
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#614"
|
||||
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
|
||||
devel:libpcreposix
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel
|
||||
cmd:bison
|
||||
cmd:flex
|
||||
cmd:gcc
|
||||
cmd:jam
|
||||
cmd:ld
|
||||
"
|
||||
|
||||
USER_SETTINGS_FILES="
|
||||
settings/pe directory
|
||||
"
|
||||
|
||||
SOURCE_DIR="$portVersionedName"
|
||||
|
||||
PATCHES="
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user