diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 19:21:10 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 19:21:10 +0000 |
commit | 39843c2c61acd3e8f1b7d0fa6eb0f76884067d10 (patch) | |
tree | 49bcc2e4ee778e69c05972f13c0e319fdf272a66 /misc/kanjidic | |
parent | 0523c1825d9b781d6f10c2ef70daf0a164e0f142 (diff) | |
download | pkgsrc-39843c2c61acd3e8f1b7d0fa6eb0f76884067d10.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'misc/kanjidic')
-rw-r--r-- | misc/kanjidic/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/misc/kanjidic/Makefile b/misc/kanjidic/Makefile index 1f771e81727..1ae8d3e78ae 100644 --- a/misc/kanjidic/Makefile +++ b/misc/kanjidic/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2007/07/08 09:43:49 wiz Exp $ +# $NetBSD: Makefile,v 1.10 2008/03/04 19:21:11 jlam Exp $ # # Update instructions: # . bump PKGNAME to today's date @@ -18,6 +18,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.csse.monash.edu.au/~jwb/kanjidic.html COMMENT= Japanese Kanji information +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} DIST_SUBDIR= ${PKGNAME_NOREV} EXTRACT_ONLY= kanjidic.gz @@ -25,12 +27,12 @@ EXTRACT_ONLY= kanjidic.gz NO_BUILD= yes do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/kanjidic - ${INSTALL_DATA} ${WRKSRC}/kanjidic ${PREFIX}/share/kanjidic + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/kanjidic + ${INSTALL_DATA} ${WRKSRC}/kanjidic ${DESTDIR}${PREFIX}/share/kanjidic ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/kanjidic.gz \ - ${PREFIX}/share/kanjidic - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/kanjidic + ${DESTDIR}${PREFIX}/share/kanjidic + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/kanjidic ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/kanjidic.doc \ - ${PREFIX}/share/doc/kanjidic + ${DESTDIR}${PREFIX}/share/doc/kanjidic .include "../../mk/bsd.pkg.mk" |