globe: Fix the Globe recipe

This commit is contained in:
Josef Gajdusek
2014-12-02 19:38:38 +01:00
parent 2cfffbd702
commit 02f00a5bd1
2 changed files with 164 additions and 27 deletions

View File

@@ -1,27 +1,47 @@
DESCRIPTION="Globe Web Editor"
HOMEPAGE="http://globe.beos.hu/index_en.html"
SUMMARY="Globe Web Editor"
DESCRIPTION="
Globe is an editor with support for HTML and PHP. It offers syntax \
highlighting and basic project management.
"
HOMEPAGE="http://globe.beos.hu/index_en.html"
SRC_URI="http://ports-space.haiku-files.org/source/globe-0.4.zip"
CHECKSUM_MD5="61601576e59b0dc5ab6364f684a47236"
REVISION="1"
CHECKSUM_SHA256="1ed42fa741a7b7923cd9accb759395b6ddaa5287695f7dfceeaa5112ebe3c765"
SOURCE_DIR="globe0.4"
REVISION="2"
STATUS_HAIKU="stable"
DEPEND=""
ARCHITECTURES="x86_gcc2 x86 x86_64"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
makefile_engine
cmd:gcc
cmd:make
"
PROVIDES="
globe = $portVersion
app:Globe = $portVersion
"
PATCHES="globe-0.4.patch"
BUILD()
{
cd globe0.4
make
make $jobArgs OBJ_DIR=objects
}
INSTALL()
{
cd globe0.4
TARGET_DIR=${DESTDIR}`finddir B_APPS_DIRECTORY`/Globe
mkdir -p $TARGET_DIR
cp Globe $TARGET_DIR
cp GlobeBUGList.txt $TARGET_DIR
cp globe* $TARGET_DIR
cp LICENSE.txt $TARGET_DIR
cp NewFeatures.txt $TARGET_DIR
cp objects.*/Globe* $TARGET_DIR
mkdir -p $appsDir
cp objects/Globe $appsDir/Globe
addAppDeskbarSymlink $appsDir/Globe
}
LICENSE="GNU GPL v2"
COPYRIGHT="2001-2004 Gergely Rózsahegyi"