pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/sun-jre15 Full DESTDIR support for sun-{jre|jdk}15.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/81af8d3a0c0c
branches:  trunk
changeset: 537445:81af8d3a0c0c
user:      ghen <ghen%pkgsrc.org@localhost>
date:      Wed Jan 09 02:38:26 2008 +0000

description:
Full DESTDIR support for sun-{jre|jdk}15.

diffstat:

 lang/sun-jre15/Makefile.common |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 0096b760121f -r 81af8d3a0c0c lang/sun-jre15/Makefile.common
--- a/lang/sun-jre15/Makefile.common    Wed Jan 09 01:21:49 2008 +0000
+++ b/lang/sun-jre15/Makefile.common    Wed Jan 09 02:38:26 2008 +0000
@@ -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_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 @@
        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"



Home | Main Index | Thread Index | Old Index