summaryrefslogtreecommitdiff
path: root/lang/spl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/spl/Makefile')
-rw-r--r--lang/spl/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/lang/spl/Makefile b/lang/spl/Makefile
index 8a5dfc5c8d3..11dcccf3cab 100644
--- a/lang/spl/Makefile
+++ b/lang/spl/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2007/01/08 02:24:13 obache Exp $
+# $NetBSD: Makefile,v 1.8 2007/03/17 08:45:03 obache Exp $
#
-DISTNAME= spl-0.9h
-PKGREVISION= 3
+DISTNAME= spl-1.0pre3
CATEGORIES= lang
MASTER_SITES= http://www.clifford.at/spl/releases/ \
http://www.clifford.at/spl/releases/OLD/
@@ -11,18 +10,20 @@ MAINTAINER= raphael@raphael.g-system.at
HOMEPAGE= http://www.clifford.at/spl/
COMMENT= The SPL Programming Language
-USE_LANGUAGES= c
+USE_LANGUAGES= c c++
USE_TOOLS+= bash gmake gawk
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= pre-patch
SUBST_FILES.prefix= GNUmakefile
SUBST_SED.prefix+= -e 's,^ prefix.*, prefix = ${PREFIX},g'
+SUBST_SED.prefix+= -e 's,^ENABLE_OPENGL_SUPPORT.*,ENABLE_OPENGL_SUPPORT=0,g'
SUBST_SED.prefix+= -e 's,^ cgibin_libdir.*, cgibin_libdir = ${PREFIX}/libexec/cgi-bin,g'
#subst.mk does not correctly detect GNUmakefile as text file
_SUBST_IS_TEXT_FILE=true
+MAKE_ENV+= ENABLE_OPENGL_SUPPORT=0
MAKE_FILE= GNUmakefile
BUILD_TARGET= all spldoc
EGDIR= ${PREFIX}/share/examples/spl
@@ -33,7 +34,7 @@ post-install:
${CHMOD} a+rwx ${PREFIX}/libexec/cgi-bin/webspl_cache
${LN} -s ${PREFIX}/lib/spl_modules ${PREFIX}/libexec/cgi-bin/spl_modules
${INSTALL_DATA_DIR} ${DOCDIR}
- cd ${WRKSRC} && ${PAX} -rw -p am README* manual.tex spldoc webspl_demo webspltut ${DOCDIR}
+ cd ${WRKSRC} && ${PAX} -rw -p am README* manual.tex spldoc webspl_demo webspltut qtdemo ${DOCDIR}
${INSTALL_DATA_DIR} ${EGDIR}
cd ${WRKSRC}/examples && ${INSTALL_DATA} example* ${EGDIR}