diff options
author | abs <abs> | 2009-02-13 23:36:00 +0000 |
---|---|---|
committer | abs <abs> | 2009-02-13 23:36:00 +0000 |
commit | 2ac6e7222a9268dac8dfcc178053c88007a3ee35 (patch) | |
tree | 52924202415d78be9918dbed5b1912ca0ac9e457 /lang | |
parent | 7388ea0ee4580952777c262769db6860a9fe0662 (diff) | |
download | pkgsrc-2ac6e7222a9268dac8dfcc178053c88007a3ee35.tar.gz |
Switch to INSTALLATION_DIRS
Diffstat (limited to 'lang')
-rw-r--r-- | lang/brandybasic/Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/lang/brandybasic/Makefile b/lang/brandybasic/Makefile index 639c108aab7..9c3afd19e9b 100644 --- a/lang/brandybasic/Makefile +++ b/lang/brandybasic/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2008/03/04 16:38:11 jlam Exp $ +# $NetBSD: Makefile,v 1.17 2009/02/13 23:36:00 abs Exp $ # DISTNAME= b116 @@ -18,20 +18,18 @@ NOT_FOR_PLATFORM= SunOS-*-* # needs porting PKG_DESTDIR_SUPPORT= user-destdir WRKSRC= ${WRKDIR}/brandy-1.0.16 -DOCDIR= ${PREFIX}/share/doc/brandy -EXAMPLEDIR= ${PREFIX}/share/examples/brandy +DOCDIR= share/doc/brandy +EXAMPLEDIR= share/examples/brandy BUILD_TARGET= nodebug USE_TOOLS+= gtar -INSTALLATION_DIRS= bin +INSTALLATION_DIRS= bin ${DOCDIR} ${EXAMPLEDIR} do-install: - ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} - ${INSTALL_DATA_DIR} ${DESTDIR}${EXAMPLEDIR} cd ${WRKSRC}/docs && ${GTAR} -cf - `ls |grep -v .orig` | \ - (cd ${DESTDIR}${DOCDIR} && tar xf -) + (cd ${DESTDIR}${PREFIX}/${DOCDIR} && gtar xf -) cd ${WRKSRC}/examples && ${GTAR} -cf - [a-z]* | \ - (cd ${DESTDIR}${EXAMPLEDIR} && tar xf -) + (cd ${DESTDIR}${PREFIX}/${EXAMPLEDIR} && gtar xf -) ${INSTALL_PROGRAM} ${WRKSRC}/brandy ${DESTDIR}${PREFIX}/bin/brandy .include "../../mk/bsd.pkg.mk" |