From f603dd881f70fa23f196782b6481f8c36c0643e4 Mon Sep 17 00:00:00 2001 From: abs Date: Fri, 13 Feb 2009 23:36:00 +0000 Subject: Switch to INSTALLATION_DIRS --- lang/brandybasic/Makefile | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'lang/brandybasic/Makefile') 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" -- cgit v1.2.3