diff options
author | ghen <ghen@pkgsrc.org> | 2008-01-09 02:38:26 +0000 |
---|---|---|
committer | ghen <ghen@pkgsrc.org> | 2008-01-09 02:38:26 +0000 |
commit | c4910d7e485e3662f0501b62793df5b0d0e9fdda (patch) | |
tree | cd7fe9b91b05952bad8694567097813f6f7e86ab /lang | |
parent | 99eaffe7d3b6e254665e4e72a711d343b3744531 (diff) | |
download | pkgsrc-c4910d7e485e3662f0501b62793df5b0d0e9fdda.tar.gz |
Full DESTDIR support for sun-{jre|jdk}15.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/sun-jre15/Makefile.common | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lang/sun-jre15/Makefile.common b/lang/sun-jre15/Makefile.common index fbc1a0aea43..a79852386a7 100644 --- a/lang/sun-jre15/Makefile.common +++ b/lang/sun-jre15/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.21 2007/08/22 14:03:48 jlam Exp $ +# $NetBSD: Makefile.common,v 1.22 2008/01/09 02:38:26 ghen Exp $ CATEGORIES= lang java COMMENT= Sun's Java(tm) 2 Standard Edition, ${DOWNLOAD_NAME} @@ -17,6 +17,8 @@ NO_SRC_ON_FTP= ${RESTRICTED} NO_BIN_ON_CDROM=${RESTRICTED} NO_BIN_ON_FTP= ${RESTRICTED} +PKG_DESTDIR_SUPPORT= user-destdir + EMUL_PLATFORMS= linux-i386 linux-x86_64 .include "../../mk/bsd.prefs.mk" @@ -64,7 +66,7 @@ post-fetch: fi do-install: - ${INSTALL_PROGRAM_DIR} ${JAVA_HOME} - cd ${WRKSRC} && ${PAX} -rwp ma . ${JAVA_HOME} + ${INSTALL_PROGRAM_DIR} ${DESTDIR}${JAVA_HOME} + cd ${WRKSRC} && ${PAX} -rwp ma . ${DESTDIR}${JAVA_HOME} .include "../../mk/java-env.mk" |