From 94625269680b5597c061a1e864b87074eff20b47 Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 4 Mar 2008 16:38:11 +0000 Subject: Mechanical changes to add DESTDIR support to packages that install their files via a custom do-install target. --- lang/joos/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'lang/joos') 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" -- cgit v1.2.3