diff options
Diffstat (limited to 'devel/sablecc')
-rw-r--r-- | devel/sablecc/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/devel/sablecc/Makefile b/devel/sablecc/Makefile index a9604a3c2c4..c75e48e3990 100644 --- a/devel/sablecc/Makefile +++ b/devel/sablecc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2006/10/04 21:36:00 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2008/03/03 17:45:37 jlam Exp $ # DISTNAME= sablecc-2.16.2 @@ -10,6 +10,8 @@ MAINTAINER= hag@linnaean.org HOMEPAGE= http://sablecc.org/ COMMENT= Java based Compiler Compiler +PKG_DESTDIR_SUPPORT= user-destdir + USE_JAVA= run USE_JAVA2= yes @@ -21,9 +23,9 @@ do-build: < ${FILESDIR}/sablecc > ${WRKDIR}/sablecc do-install: - ${INSTALL_SCRIPT} ${WRKDIR}/sablecc ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/lib/java - ${INSTALL_DATA} ${WRKSRC}/lib/sablecc.jar ${PREFIX}/lib/java + ${INSTALL_SCRIPT} ${WRKDIR}/sablecc ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/java + ${INSTALL_DATA} ${WRKSRC}/lib/sablecc.jar ${DESTDIR}${PREFIX}/lib/java .include "../../mk/java-vm.mk" .include "../../mk/bsd.pkg.mk" |