diff options
author | jlam <jlam> | 2008-03-03 18:25:52 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 18:25:52 +0000 |
commit | 3d81effabfcbab5f1fe7b559a3b6f6d5f452285e (patch) | |
tree | 94991d2182e36c43f4a6dac0f35a6023230a4d45 /editors/jave | |
parent | db9434603719ac10a2850a15ce7013bca33811d2 (diff) | |
download | pkgsrc-3d81effabfcbab5f1fe7b559a3b6f6d5f452285e.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'editors/jave')
-rw-r--r-- | editors/jave/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/editors/jave/Makefile b/editors/jave/Makefile index 21ff4d60c59..aeb9da51599 100644 --- a/editors/jave/Makefile +++ b/editors/jave/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2006/03/10 23:39:24 rillig Exp $ +# $NetBSD: Makefile,v 1.5 2008/03/03 18:25:52 jlam Exp $ DISTNAME= jave_6.0_M7 PKGNAME= jave-6.0m7 @@ -12,6 +12,8 @@ MAINTAINER= martti@NetBSD.org HOMEPAGE= http://www.jave.de/ COMMENT= Java ASCII Versatile Editor +PKG_DESTDIR_SUPPORT= user-destdir + USE_JAVA= run PKG_JVMS_ACCEPTED= sun-jdk14 sun-jdk15 @@ -27,9 +29,9 @@ do-build: < ${FILESDIR:Q}/jave > ${WRKDIR:Q}/jave do-install: - ${INSTALL_SCRIPT} ${WRKDIR:Q}/jave ${PREFIX:Q}/bin - ${INSTALL_DATA_DIR} ${PREFIX:Q}/share/jave - (cd ${WRKDIR:Q}/.workdir && ${PAX} -rw * ${PREFIX:Q}/share/jave) + ${INSTALL_SCRIPT} ${WRKDIR:Q}/jave ${DESTDIR}${PREFIX:Q}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX:Q}/share/jave + (cd ${WRKDIR:Q}/.workdir && ${PAX} -rw * ${DESTDIR}${PREFIX:Q}/share/jave) .include "../../mk/java-vm.mk" .include "../../mk/bsd.pkg.mk" |