Pe: nuke old unused recipes.

This commit is contained in:
Augustin Cavalier
2014-07-23 17:41:08 -04:00
parent 8f7f3c4b3a
commit 7122ae7bc3
10 changed files with 0 additions and 813 deletions

View File

@@ -1,104 +0,0 @@
From 38fe29f686b24b11bd946e9cb26975d5b0e540da Mon Sep 17 00:00:00 2001
From: Ingo Weinhold <ingo_weinhold@gmx.de>
Date: Tue, 20 Aug 2013 21:09:09 +0000
Subject: Fix development library and header paths
diff --git a/Jamrules b/Jamrules
index a3c76de..a18dc02 100644
--- a/Jamrules
+++ b/Jamrules
@@ -11,7 +11,7 @@ if $(OS) = HAIKU {
# /boot/develop/lib/x86 to judge whether this is a BeOS compatible and thus
# gcc 2 platform. This is not entirely correct, but should be good enough
# for the time being.
- local hasLibStdC++.R4 = [ Glob /boot/develop/lib/x86 : libstdc++.r4.so ] ;
+ local hasLibStdC++.R4 = [ Glob /boot/system/lib : libstdc++.r4.so ] ;
if ! $(hasLibStdC++.R4) {
IS_GCC_4_PLATFORM = 1 ;
}
diff --git a/build/BuildSettings b/build/BuildSettings
index 31b03c4..2b79ca7 100644
--- a/build/BuildSettings
+++ b/build/BuildSettings
@@ -48,7 +48,7 @@ if $(haveHeadersPcre) {
CCFLAGS += -isystem /boot/develop/headers/pcre ;
C++FLAGS += -isystem /boot/develop/headers/pcre ;
} else {
- haveHeadersPcre = [ GLOB /boot/common/include : pcre.h ] ;
+ haveHeadersPcre = [ GLOB /boot/common/develop/headers : pcre.h ] ;
if ! $(haveHeadersPcre) {
haveHeadersPcre = [ GLOB /boot/home/config/include : pcre.h ] ;
if ! $(haveHeadersPcre) {
--
1.8.3.4
From 84b46dea0f1addae8e3fc1248a3f58e73a799690 Mon Sep 17 00:00:00 2001
From: Ingo Weinhold <ingo_weinhold@gmx.de>
Date: Tue, 20 Aug 2013 21:11:55 +0000
Subject: MainBuildRules: Use -shared instead of -nostart
diff --git a/build/MainBuildRules b/build/MainBuildRules
index 8bd12be..119b081 100644
--- a/build/MainBuildRules
+++ b/build/MainBuildRules
@@ -64,7 +64,7 @@ rule SharedLibrary
MakeLocate $(lib) : $(LOCATE_MAIN_TARGET) ;
local linkFlags ;
if $(OSPLAT) = X86 {
- linkFlags = -nostart -Xlinker -soname=\"$(lib)\"
+ linkFlags = -shared -Xlinker -soname=\"$(lib)\"
-Xlinker --no-undefined ;
} else {
linkFlags = -xms ;
--
1.8.3.4
From d1ebe32fb70e71545959bfd6b848f6c1858ea96a Mon Sep 17 00:00:00 2001
From: Ingo Weinhold <ingo_weinhold@gmx.de>
Date: Tue, 20 Aug 2013 21:19:16 +0000
Subject: node_ref::operator<() is now defined in Haiku
diff --git a/Sources/CDocIO.cpp b/Sources/CDocIO.cpp
index 6ad237e..e4f19aa 100644
--- a/Sources/CDocIO.cpp
+++ b/Sources/CDocIO.cpp
@@ -199,16 +199,6 @@ static bool CopyFile(BEntry& srcEntry, BEntry& dstEntry)
return true;
}
-#ifndef B_ZETA_VERSION_1_2_0 // maybe even B_ZETA_VERSION_1_1_0
-bool operator< (const node_ref& left, const node_ref& right)
-{
- if (left.node < right.node)
- return true;
- else
- return left.device < right.device;
-}
-#endif
-
// #pragma mark - CDocIO
diff --git a/Sources/CDocIO.h b/Sources/CDocIO.h
index 1eed6ef..b81280c 100644
--- a/Sources/CDocIO.h
+++ b/Sources/CDocIO.h
@@ -58,10 +58,6 @@ inline time_t CDocIO::LastSaved() const
return fLastSaved;
}
-#ifndef B_ZETA_VERSION_1_2_0 // maybe even B_ZETA_VERSION_1_1_0
-bool operator< (const node_ref& left, const node_ref& right);
-#endif
-
class CLocalDocIO : public CDocIO
{
public:
--
1.8.3.4

View File

@@ -1,13 +0,0 @@
diff --git a/build/BuildSettings b/build/BuildSettings
index 3c10281..e9c0c62 100644
--- a/build/BuildSettings
+++ b/build/BuildSettings
@@ -43,7 +43,7 @@ if $(OS) = HAIKU {
}
# check for pcre...
-local haveHeadersPcre = [ GLOB /boot/common/develop/headers : pcre.h ] ;
+local haveHeadersPcre = [ GLOB /boot/system/develop/headers : pcre.h ] ;
if ! $(haveHeadersPcre) {
Exit "You need to have pcre installed on your system." ;
}

View File

@@ -1,52 +0,0 @@
diff --git a/Extensions/HeaderHeader.cpp b/Extensions/HeaderHeader.cpp
index 249fc04..1a9c446 100644
--- a/Extensions/HeaderHeader.cpp
+++ b/Extensions/HeaderHeader.cpp
@@ -300,7 +300,7 @@ GetSettingsDir(BDirectory &dir, BPath &path)
//BPath path;
status_t err;
// TODO: build list from text files
- err = find_directory(B_COMMON_SETTINGS_DIRECTORY, &path, true);
+ err = find_directory(B_SYSTEM_SETTINGS_DIRECTORY, &path, true);
if (err < B_OK)
return err;
dir.SetTo(path.Path());
diff --git a/Languages/Sources/Lout_Popup.l b/Languages/Sources/Lout_Popup.l
index 7d3c2db..ede28f4 100644
--- a/Languages/Sources/Lout_Popup.l
+++ b/Languages/Sources/Lout_Popup.l
@@ -221,7 +221,7 @@ static status_t GetLoutDirectory(const char* subDir, BPath& path)
if (!PathExists(path))
{
- if (find_directory(B_COMMON_ETC_DIRECTORY, &path) == B_OK)
+ if (find_directory(B_SYSTEM_ETC_DIRECTORY, &path) == B_OK)
{
path.Append("lout");
path.Append(subDir);
diff --git a/Sources/CDoc.cpp b/Sources/CDoc.cpp
index 002e6c1..75d652a 100644
--- a/Sources/CDoc.cpp
+++ b/Sources/CDoc.cpp
@@ -472,7 +472,7 @@ void CDoc::AddRecent(const char *path)
BPath tp;
try
{
- FailOSErr(find_directory(B_COMMON_TEMP_DIRECTORY, &tp));
+ FailOSErr(find_directory(B_SYSTEM_TEMP_DIRECTORY, &tp));
if (strncmp(tp.Path(), path, strlen(tp.Path())) == 0)
return;
}
diff --git a/Sources/CMimeBox.cpp b/Sources/CMimeBox.cpp
index e9ac4f9..a29a79b 100644
--- a/Sources/CMimeBox.cpp
+++ b/Sources/CMimeBox.cpp
@@ -71,7 +71,7 @@ CMimeItem::CMimeItem(const char *mime)
try
{
char p[PATH_MAX];
- if (find_directory(B_COMMON_TEMP_DIRECTORY, 0, true, p, PATH_MAX) == B_OK)
+ if (find_directory(B_SYSTEM_TEMP_DIRECTORY, 0, true, p, PATH_MAX) == B_OK)
{
BDirectory tmpdir;
FailOSErr(tmpdir.SetTo(p));

View File

@@ -1,217 +0,0 @@
diff --git a/Languages/Resources/Jamfile b/Languages/Resources/Jamfile
index 4b19f87..7ccef27 100644
--- a/Languages/Resources/Jamfile
+++ b/Languages/Resources/Jamfile
@@ -20,6 +20,7 @@ RezObjects
keywords.pl.r
keywords.py.r
keywords.rb.r
+ keywords.recipe.r
keywords.rez.r
keywords.sh.r
keywords.sql.r
diff --git a/Languages/Resources/keywords.recipe b/Languages/Resources/keywords.recipe
new file mode 100644
index 0000000..7c68e3e
--- /dev/null
+++ b/Languages/Resources/keywords.recipe
@@ -0,0 +1,11 @@
+case do done elif else esac fi for function if in select then until while cmd devel lib app add_on
+- Keyword
+BUILD_PACKAGE_ACTIVATION_FILE DISABLE_SOURCE_PACKAGE HOMEPAGE MESSAGE REVISION CHECKSUM_MD5 PATCHES SOURCE_DIR SRC_FILENAME SRC_URI ARCHITECTURES BUILD_PREREQUIRES BUILD_REQUIRES CONFLICTS COPYRIGHT DESCRIPTION FRESHENS GLOBAL_WRITABLE_FILES LICENSE PACKAGE_GROUPS PACKAGE_USERS POST_INSTALL_SCRIPTS PROVIDES REPLACES REQUIRES SUMMARY SUPPLEMENTS USER_SETTING_FILES
+- Function
+PATCH BUILD INSTALL TEST
+- Define
+addOnsDir appsDir binDir buildArchitecture configureDirArgs dataDir dataRootDir debugInfoDir developDir developDocDir developLibDir docDir documentationDir fontsDir haikuVersion includeDir infodir installDestDir isCrossRepository jobArgs jobs libDir libExecDir localStateDir manDir oldIncludeDir portBaseDir portDir portFullVersion portName portPackageLinksdir portRevision portRevisionedName portVersion portVersionedName postInstallDir preferencesDir prefix relativeAddOnsDir relativeAppsDir relativeBinDir relativeDataDir relativeDataRootDir relativeDebugInfoDir relativeDevelopDir relativeDevelopDocDir relativeDevelopLibDir relativeDocDir relativeDocumentationDir relativeFontsDir relativeIncludeDir relativeInfoDir relativeLibDir relativeLibExecDir relativeLocalStateDir relativeManDir relativeOldIncludeDir relativePostInstallDir relativePreferencesDir relativeSbinDir relativeSettingsDir relativeSharedStateDir sbinDir settingsDir sharedStateDir sourceDir targetArchitecture buildMachineTriple buildMachineTripleAsName crossSysrootDir targetMachineTriple targetMachineTripleAsName secondaryArchSuffix
+- Function
+addAppDeskbarSymlink addPreferencesDeskbarSymlink defineDebugInfoPackage extractDebugInfo fixDevelopLibDirReferences fixPkgconfig packageEntries prepareInstalledDevelLib prepareInstalledDevelLibs runConfigure
+- Type
+cmd devel lib app add_on
diff --git a/Languages/Resources/keywords.recipe.r b/Languages/Resources/keywords.recipe.r
new file mode 100644
index 0000000..5e8410c
--- /dev/null
+++ b/Languages/Resources/keywords.recipe.r
@@ -0,0 +1,2 @@
+read 'KeyW' (0, "keywords.recipe")
+ "keywords.recipe";
\ No newline at end of file
diff --git a/Languages/Sources/Jamfile b/Languages/Sources/Jamfile
index 3b1a77e..ff33e31 100644
--- a/Languages/Sources/Jamfile
+++ b/Languages/Sources/Jamfile
@@ -146,6 +146,14 @@ PeLanguage PythonExt
# </pe-src>
# <pe-src>
+PeLanguage RecipeExt
+ : Recipe_Language.cpp
+ : be
+ : keywords.recipe.rsrc
+ ;
+# </pe-src>
+
+# <pe-src>
PeLanguage RezExt
: Rez_Language.cpp Rez_Popup.l
: be
diff --git a/Languages/Sources/Recipe_Language.cpp b/Languages/Sources/Recipe_Language.cpp
new file mode 100644
index 0000000..752eba8
--- /dev/null
+++ b/Languages/Sources/Recipe_Language.cpp
@@ -0,0 +1,154 @@
+#include "CLanguageAddOn.h"
+#include "HColorUtils.h"
+
+_EXPORT const char kLanguageName[] = "Recipe";
+_EXPORT const char kLanguageExtensions[] = "recipe";
+_EXPORT const char kLanguageCommentStart[] = "#";
+_EXPORT const char kLanguageCommentEnd[] = "";
+_EXPORT const char kLanguageKeywordFile[] = "keywords.recipe";
+_EXPORT const int16 kInterfaceVersion = 2;
+
+enum {
+ START, IDENT, LCOMMENT, STRING1, STRING2
+};
+
+#define GETCHAR (c = (i++ < size) ? text[i - 1] : 0)
+
+_EXPORT void ColorLine(CLanguageProxy& proxy, int32& state)
+{
+ const char *text = proxy.Text();
+ int32 size = proxy.Size();
+ int32 i = 0, s = 0, kws = 0, esc = 0;
+ char c = 0;
+ bool leave = false;
+
+ if (state == LCOMMENT)
+ proxy.SetColor(0, kColorComment1);
+ else
+ proxy.SetColor(0, kColorText);
+
+ if (size <= 0)
+ return;
+
+ while (!leave)
+ {
+ char b = c;
+ GETCHAR;
+
+ switch (state) {
+ case START:
+ if (c == '#' && (!b || isspace(b)))
+ state = LCOMMENT;
+ else if (isalpha(c) || c == '_')
+ {
+ kws = proxy.Move(c, 1);
+ state = IDENT;
+ }
+ else if (c == '"')
+ state = STRING1;
+ else if (c == '\'')
+ state = STRING2;
+ else if (c == '\n' || c == 0)
+ leave = true;
+
+ if (leave || (state != START && s < i))
+ {
+ proxy.SetColor(s, kColorText);
+ s = i - 1;
+ }
+ break;
+
+ case LCOMMENT:
+ proxy.SetColor(s, kColorComment1);
+ leave = true;
+ if (text[size - 1] == '\n')
+ state = START;
+ break;
+
+ case IDENT:
+ if (!isalnum(c) && c != '_')
+ {
+ int kwc;
+
+ if (i >= s + 1 && (kwc = proxy.IsKeyword(kws)) != 0)
+ {
+ switch (kwc)
+ {
+ case 1: proxy.SetColor(s, kColorKeyword1); break;
+ case 2: proxy.SetColor(s, kColorUserSet1); break;
+ case 3: proxy.SetColor(s, kColorUserSet2); break;
+ case 4: proxy.SetColor(s, kColorUserSet3); break;
+ case 5: proxy.SetColor(s, kColorUserSet4); break;
+// default:ASSERT(false);
+ }
+ }
+ else
+ {
+ proxy.SetColor(s, kColorText);
+ }
+
+ s = --i;
+ state = START;
+ }
+ else if (kws)
+ kws = proxy.Move((int)(unsigned char)c, kws);
+ break;
+
+ case STRING1:
+ if (c == '"' && !esc)
+ {
+ proxy.SetColor(s, kColorString1);
+ s = i;
+ state = START;
+ }
+ else if (c == '\n' || c == 0)
+ {
+ if (text[i - 2] == '\\' && text[i - 3] != '\\')
+ {
+ proxy.SetColor(s, kColorString1);
+ }
+ else
+ {
+ proxy.SetColor(s, kColorText);
+ state = START;
+ }
+
+ s = size;
+ leave = true;
+ }
+ else
+ esc = !esc && (c == '\\');
+ break;
+
+ case STRING2:
+ if (c == '\'' && !esc)
+ {
+ proxy.SetColor(s, kColorString1);
+ s = i;
+ state = START;
+ }
+ else if (c == '\n' || c == 0)
+ {
+ if (text[i - 2] == '\\' && text[i - 3] != '\\')
+ {
+ proxy.SetColor(s, kColorString1);
+ }
+ else
+ {
+ proxy.SetColor(s, kColorText);
+ state = START;
+ }
+
+ s = size;
+ leave = true;
+ }
+ else
+ esc = !esc && (c == '\\');
+ break;
+
+ default: // error condition, gracefully leave the loop
+ leave = true;
+ break;
+ }
+ }
+} /* CshellIntf::ColorLine */

View File

@@ -1,69 +0,0 @@
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="http://pe-editor.berlios.de/"
LICENSE="
BSD (4-clause)
MIT
"
COPYRIGHT="
1996-2002 Maarteen Hekkelman
2003-2012 Team Pe
"
SRC_URI="hg+http://hg.berlios.de/repos/pe-editor#602"
REVISION="5"
ARCHITECTURES="x86_gcc2 x86"
PATCHES="pe-2.4.3_adjustments_for_pm.patchset"
PROVIDES="
pe = $portVersion
cmd:Pe = $portVersion compat >= 2
cmd:lpe = $portVersion compat >= 2
"
REQUIRES="
haiku >= $haikuVersion
lib:libpcre
lib:libpcreposix
"
BUILD_REQUIRES="
devel:libpcre >= 0.0.1
devel:libpcreposix >= 0.0.1
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:bison
cmd:flex
cmd:gcc
cmd:jam
cmd:ld
"
USER_SETTINGS_FILES="
settings/pe directory
"
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
}

View File

@@ -1,69 +0,0 @@
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="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#606"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PATCHES="pe-2.4.3_adjustments_for_pm.patchset"
PROVIDES="
pe = $portVersion
cmd:Pe = $portVersion compat >= 2
cmd:lpe = $portVersion compat >= 2
"
REQUIRES="
haiku >= $haikuVersion
lib:libpcre
lib:libpcreposix
"
BUILD_REQUIRES="
devel:libpcre >= 0.0.1
devel:libpcreposix >= 0.0.1
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:bison
cmd:flex
cmd:gcc
cmd:jam
cmd:ld
"
USER_SETTINGS_FILES="
settings/pe directory
"
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
}

View File

@@ -1,67 +0,0 @@
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="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#610"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
pe = $portVersion
cmd:Pe = $portVersion compat >= 2
cmd:lpe = $portVersion compat >= 2
"
REQUIRES="
haiku >= $haikuVersion
lib:libpcre
lib:libpcreposix
"
BUILD_REQUIRES="
devel:libpcre >= 0.0.1
devel:libpcreposix >= 0.0.1
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:bison
cmd:flex
cmd:gcc
cmd:jam
cmd:ld
"
USER_SETTINGS_FILES="
settings/pe directory
"
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
}

View File

@@ -1,77 +0,0 @@
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="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
}

View File

@@ -1,75 +0,0 @@
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="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
"
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
}

View File

@@ -1,70 +0,0 @@
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="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#615"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86 x86_64"
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
"
USER_SETTINGS_FILES="
settings/pe directory
"
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
}