diff options
author | jlam <jlam> | 2008-03-04 16:38:11 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-04 16:38:11 +0000 |
commit | 94625269680b5597c061a1e864b87074eff20b47 (patch) | |
tree | 3b3e69289dd17a1030bb7365e1cb146dbfea41bd /lang/joos | |
parent | a29ce4f7d451f2d5d4a2d323b35045448aa1d767 (diff) | |
download | pkgsrc-94625269680b5597c061a1e864b87074eff20b47.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'lang/joos')
-rw-r--r-- | lang/joos/Makefile | 10 |
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" |