diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 16:38:11 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 16:38:11 +0000 |
commit | 8bf74c5086e810635eb42ee6260913f330977167 (patch) | |
tree | 3b3e69289dd17a1030bb7365e1cb146dbfea41bd /lang/jasmin | |
parent | 563238a90334d8045ade559a74f641eba13dbc99 (diff) | |
download | pkgsrc-8bf74c5086e810635eb42ee6260913f330977167.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'lang/jasmin')
-rw-r--r-- | lang/jasmin/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lang/jasmin/Makefile b/lang/jasmin/Makefile index 1a0dcbe88ec..c8a13cdff08 100644 --- a/lang/jasmin/Makefile +++ b/lang/jasmin/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2007/12/01 11:29:15 rillig Exp $ +# $NetBSD: Makefile,v 1.24 2008/03/04 16:38:12 jlam Exp $ # DISTNAME= jasmin-1.06 @@ -10,6 +10,8 @@ MAINTAINER= jschauma@NetBSD.org HOMEPAGE= http://mrl.nyu.edu/~meyer/jasmin/ COMMENT= Java "assembler" interface +PKG_DESTDIR_SUPPORT= user-destdir + USE_JAVA= run WRKSRC= ${WRKDIR}/jasmin @@ -26,9 +28,9 @@ post-patch: ${RM} ${WRKSRC}/bin/jasmin.patch do-install: - ${INSTALL_PROGRAM_DIR} ${PREFIX}/jasmin - cd ${WRKSRC} && ${PAX} -rw . ${PREFIX}/jasmin - ${LN} -s ${PREFIX}/jasmin/bin/jasmin ${PREFIX}/bin/jasmin + ${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/jasmin + cd ${WRKSRC} && ${PAX} -rw . ${DESTDIR}${PREFIX}/jasmin + ${LN} -s ../jasmin/bin/jasmin ${DESTDIR}${PREFIX}/bin/jasmin .include "../../mk/java-vm.mk" .include "../../mk/bsd.pkg.mk" |