Merged in atalax/haikuports/betex (pull request #369)

Add recipe for BeTeX
This commit is contained in:
diversys
2014-12-21 14:52:22 +03:00

View File

@@ -0,0 +1,43 @@
SUMMARY="LaTeX editor for Haiku."
DESCRIPTION="BeTeX is the premier TeX/LaTeX editor for BeOS/Haiku. With it you \
can create, compile and preview your latex documents all from within a single \
user-friendly interface."
HOMEPAGE="https://github.com/HaikuArchives/BeTeX/"
SRC_URI="git+https://github.com/HaikuArchives/BeTeX#ee4907"
REVISION="1"
LICENSE="MIT"
COPYRIGHT="2005 Tim de Jong, Brent Miszalski"
ARCHITECTURES="x86_gcc2"
PROVIDES="
betex = $portVersion
app:BeTeX = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
makefile_engine
cmd:make
cmd:mkdepend
cmd:gcc
"
BUILD()
{
make $jobArgs OBJ_DIR=objects
}
INSTALL()
{
mkdir -p $appsDir
cp objects/BeTeX $appsDir/BeTeX
addAppDeskbarSymlink $appsDir/BeTeX
}