diff options
author | asau <asau@pkgsrc.org> | 2011-04-01 01:02:41 +0000 |
---|---|---|
committer | asau <asau@pkgsrc.org> | 2011-04-01 01:02:41 +0000 |
commit | b7659ca3bfcb18469100a3e4d99a62d8376f9196 (patch) | |
tree | a9f0c2c5fa48fb4e7653341f5bab0a34977ed6bc /lang | |
parent | b2af7e6a631dea7a3a55d9c4bec9c0b755810faf (diff) | |
download | pkgsrc-b7659ca3bfcb18469100a3e4d99a62d8376f9196.tar.gz |
Support staged installation.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/spl/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/lang/spl/Makefile b/lang/spl/Makefile index a0468408745..0c00ca18407 100644 --- a/lang/spl/Makefile +++ b/lang/spl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2010/03/02 15:13:48 joerg Exp $ +# $NetBSD: Makefile,v 1.12 2011/04/01 01:02:41 asau Exp $ # DISTNAME= spl-1.0pre3 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.clifford.at/spl/ COMMENT= The SPL Programming Language +PKG_DESTDIR_SUPPORT= user-destdir + USE_LANGUAGES= c c++ USE_TOOLS+= bash gmake gawk pax @@ -31,13 +33,13 @@ EGDIR= ${PREFIX}/share/examples/spl DOCDIR= ${PREFIX}/share/doc/spl post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/libexec/cgi-bin/webspl_cache - ${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 qtdemo ${DOCDIR} - ${INSTALL_DATA_DIR} ${EGDIR} - cd ${WRKSRC}/examples && ${INSTALL_DATA} example* ${EGDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/libexec/cgi-bin/webspl_cache + ${CHMOD} a+rwx ${DESTDIR}${PREFIX}/libexec/cgi-bin/webspl_cache + ${LN} -sf ${PREFIX}/lib/spl_modules ${DESTDIR}${PREFIX}/libexec/cgi-bin/spl_modules + ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} + cd ${WRKSRC} && pax -rw -p am README* manual.tex spldoc webspl_demo webspltut qtdemo ${DESTDIR}${DOCDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} + cd ${WRKSRC}/examples && ${INSTALL_DATA} example* ${DESTDIR}${EGDIR} .include "../../devel/ncurses/buildlink3.mk" .include "../../devel/pcre/buildlink3.mk" |