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 | 8216d744ac7ee52a87a0c54540fc68d487f4ad1f (patch) | |
tree | 3b3e69289dd17a1030bb7365e1cb146dbfea41bd /lang/jini/Makefile | |
parent | 642995a0c4f1913cc6893865f1f5905084199dc1 (diff) | |
download | pkgsrc-8216d744ac7ee52a87a0c54540fc68d487f4ad1f.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'lang/jini/Makefile')
-rw-r--r-- | lang/jini/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lang/jini/Makefile b/lang/jini/Makefile index 7b40db5d9de..7aa4f7aba42 100644 --- a/lang/jini/Makefile +++ b/lang/jini/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2007/11/30 20:54:05 rillig Exp $ +# $NetBSD: Makefile,v 1.26 2008/03/04 16:38:12 jlam Exp $ # DISTNAME= jini-${SUN_VERSION}-src @@ -25,6 +25,8 @@ NO_SRC_ON_FTP= ${RESTRICTED} NO_BIN_ON_CDROM= ${RESTRICTED} NO_BIN_ON_FTP= ${RESTRICTED} +PKG_DESTDIR_SUPPORT= destdir + WRKSRC= ${WRKDIR}/jini${SUN_VERSION} VERSION= 1.2.1 SUN_VERSION= ${VERSION:C/\./_/g}_001 @@ -47,9 +49,9 @@ FETCH_MESSAGE+= "Technology Starter Kit must be fetched into ${DISTDIR} from" FETCH_MESSAGE+= ${DOWNLOAD:Q} do-install: - ${INSTALL_PROGRAM_DIR} ${PREFIX}/jini + ${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/jini ${CHOWN} -hR ${BINOWN}:${BINGRP} ${WRKSRC} - cd ${WRKSRC} && ${PAX} -rw . ${PREFIX}/jini + cd ${WRKSRC} && ${PAX} -rw . ${DESTDIR}${PREFIX}/jini cleandir: clean ${RM} -fr ${JINI_HOME} |