Added Mr.Peeps port

This commit is contained in:
Gleb Posobin
2013-12-02 22:33:29 +04:00
parent 664e3c050d
commit 9fe58496ec
2 changed files with 74 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
SUMMARY="Easy to use powerful contact manager for haiku"
DESCRIPTION="MrPeeps is an app for managing People files that has more
features than other contact managers. For more info read README file"
HOMEPAGE="https://github.com/HaikuArchives/MrPeeps"
SRC_URI="git+https://github.com/HaikuArchives/MrPeeps#ce2e65"
LICENSE="MIT"
REVISION="1"
PROVIDES="
MrPeeps = $portVersion
app:MrPeeps = $portVersion
cmd:MrPeeps = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
cmd:gcc
"
ARCHITECTURES="x86 x86_gcc2 x86_64"
PATCHES="MrPeeps-1.2_beta.patch"
BUILD()
{
cd src
cp Locale\ Support/* ./
g++ -lbe -ltranslation -lroot AboutWindow.cpp BitmapDump.cpp \
BitmapView.cpp BStringList.cpp DataView.cpp Formatting.cpp \
IntroView.cpp ListData.cpp MrPeeps.cpp NewTextControl.cpp \
PeepsItem.cpp PeepsWindow.cpp PeopleList.cpp LocaleRoster.cpp \
Locale.cpp TextFile.cpp -o ../MrPeeps
}
INSTALL()
{
mrPeepsDir=$appsDir/MrPeeps
mkdir -p $mrPeepsDir
[ -h $binDir ] || mkdir -p $binDir
cp -f ./MrPeeps $mrPeepsDir
ln -sfn $mrPeepsDir/MrPeeps $binDir/
addAppDeskbarSymlink $mrPeepsDir/MrPeeps
}
COPYRIGHT="2003 DarkWyrm"