diff --git a/haiku-apps/yab/patches/yab-1.6.patch b/haiku-apps/yab/patches/yab-1.6.patch new file mode 100644 index 000000000..e3b3ee9e5 --- /dev/null +++ b/haiku-apps/yab/patches/yab-1.6.patch @@ -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 diff --git a/haiku-apps/yab/yab-1.6.bep b/haiku-apps/yab/yab-1.6.bep new file mode 100644 index 000000000..3c8340fa3 --- /dev/null +++ b/haiku-apps/yab/yab-1.6.bep @@ -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)"