diff options
author | jlam <jlam> | 2008-03-02 06:10:30 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-02 06:10:30 +0000 |
commit | 33be9d571979426caf74e11b4f9a9f2be70808b5 (patch) | |
tree | e69a307404c85a610aac593940553b400d40a654 /audio/applerecords | |
parent | 49d8db83e7f07977deb64d4280dcde0dbef7c34f (diff) | |
download | pkgsrc-33be9d571979426caf74e11b4f9a9f2be70808b5.tar.gz |
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'audio/applerecords')
-rw-r--r-- | audio/applerecords/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/audio/applerecords/Makefile b/audio/applerecords/Makefile index e2b82421cd9..1cd7af6e8be 100644 --- a/audio/applerecords/Makefile +++ b/audio/applerecords/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2007/03/04 11:29:57 wiz Exp $ +# $NetBSD: Makefile,v 1.8 2008/03/02 06:10:31 jlam Exp $ # DISTNAME= applerecords-0.5 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://web.archive.org/web/20060501054520/http://www.cdavies.org/applerecords.html COMMENT= Java DAAP client +PKG_DESTDIR_SUPPORT= user-destdir + NO_BUILD= yes WRKSRC= ${WRKDIR} USE_JAVA= run @@ -24,8 +26,9 @@ do-extract: ${SED} -e 's|@SH@|${SH}|g' -e 's|@PREFIX@|${PREFIX}|g' ${FILESDIR}/applerecords > ${WRKSRC}/applerecords do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/lib/applerecords - ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.jar ${PREFIX}/lib/applerecords/applerecords.jar - ${INSTALL_SCRIPT} ${WRKSRC}/applerecords ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/applerecords + ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.jar \ + ${DESTDIR}${PREFIX}/lib/applerecords/applerecords.jar + ${INSTALL_SCRIPT} ${WRKSRC}/applerecords ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk" |