mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 19:48:53 +02:00
Initial .bep and .patch for yab.
This commit is contained in:
20
haiku-apps/yab/patches/yab-1.6.patch
Normal file
20
haiku-apps/yab/patches/yab-1.6.patch
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
diff -urN yab-1.6/src/Makefile yab-1.6-haiku/src/Makefile
|
||||||
|
--- yab-1.6/src/Makefile 2009-10-23 21:02:10.031195136 +0000
|
||||||
|
+++ yab-1.6-haiku/src/Makefile 2011-06-01 16:17:53.000000000 +0000
|
||||||
|
@@ -45,7 +45,7 @@
|
||||||
|
##
|
||||||
|
## Libraries
|
||||||
|
##
|
||||||
|
-LIBPATH = -L/boot/home/config/lib
|
||||||
|
+LIBPATH = -L/$(shell finddir B_COMMON_LIB_DIRECTORY)
|
||||||
|
#-L/boot/home/yab/CalendarControl.a
|
||||||
|
LIB = -lncurses -lbe -lroot -ltranslation -ltracker -lmedia $(ZETALIB)
|
||||||
|
|
||||||
|
@@ -98,6 +98,7 @@
|
||||||
|
main.o: main.c yabasic.h config.h
|
||||||
|
$(GCC) $(GCC_OPT) -c main.c -o main.o
|
||||||
|
flex.c: yabasic.flex
|
||||||
|
+ chmod 755 ./flex
|
||||||
|
./flex $(FLEXFLAGS) -t yabasic.flex >flex.c
|
||||||
|
bison.c: yabasic.bison
|
||||||
|
bison $(BISONFLAGS) --output-file bison.c yabasic.bison
|
||||||
26
haiku-apps/yab/yab-1.6.bep
Normal file
26
haiku-apps/yab/yab-1.6.bep
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
DESCRIPTION="yab is an extended version of yabasic, a BASIC programming language, with special commands designed for BeOS, Haiku and Zeta."
|
||||||
|
HOMEPAGE="http://sourceforge.net/projects/yab-interpreter"
|
||||||
|
SRC_URI="http://ports-space.haiku-files.org/haiku-apps/source/yab-1.6.zip"
|
||||||
|
REVISION="1"
|
||||||
|
STATUS_HAIKU="stable"
|
||||||
|
DEPEND=""
|
||||||
|
CHECKSUM_MD5="071e8653265a60fea96cceab46f67e5b"
|
||||||
|
BUILD {
|
||||||
|
cd yab-1.6/src
|
||||||
|
make clean
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
INSTALL {
|
||||||
|
cd yab-1.6
|
||||||
|
mkdir -p ${DESTDIR}/boot/apps/yab
|
||||||
|
cp -a src/yab ${DESTDIR}/boot/apps/yab
|
||||||
|
cp -a Documentation ${DESTDIR}/boot/apps/yab
|
||||||
|
cp -a Programs ${DESTDIR}/boot/apps/yab
|
||||||
|
cp -a yab-IDE ${DESTDIR}/boot/apps/yab
|
||||||
|
}
|
||||||
|
|
||||||
|
LICENSE="Artistic
|
||||||
|
GNU GPL v2"
|
||||||
|
COPYRIGHT="1995-2006 Marc-Oliver Ihm (yabasic)
|
||||||
|
2006-2009 Jan Bungeroth (yab improvements)"
|
||||||
Reference in New Issue
Block a user