summaryrefslogtreecommitdiff
path: root/lang/joos
diff options
context:
space:
mode:
Diffstat (limited to 'lang/joos')
-rw-r--r--lang/joos/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/lang/joos/Makefile b/lang/joos/Makefile
index 69344854fa0..e8384e6afe2 100644
--- a/lang/joos/Makefile
+++ b/lang/joos/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2007/02/22 19:26:38 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2008/03/04 16:38:12 jlam Exp $
#
DISTNAME= joos-0.2
@@ -10,12 +10,14 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.brics.dk/~mis/dOvs/index.html
COMMENT= Java Object Oriented Subset
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_JAVA= run
do-install:
- ${INSTALL_PROGRAM_DIR} ${PREFIX}/joos
- cd ${WRKSRC} && ${PAX} -s ,^./.*orig,, -rw . ${PREFIX}/joos
- cd ${PREFIX}/joos/Bin && ${LN} -s joos.a- joos
+ ${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/joos
+ cd ${WRKSRC} && ${PAX} -s ,^./.*orig,, -rw . ${DESTDIR}${PREFIX}/joos
+ cd ${DESTDIR}${PREFIX}/joos/Bin && ${LN} -s joos.a- joos
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"