diff options
author | jlam <jlam> | 2008-03-04 14:44:05 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-04 14:44:05 +0000 |
commit | cff5ae096bdb338cbbad22fbcd0ad47e1e3344e8 (patch) | |
tree | a92e7f8eee54b9a8853da721181945e291a984d5 /geography/xrmap-hymns | |
parent | eb494ec145ffdaf4f29a6340669a88a2cff65c81 (diff) | |
download | pkgsrc-cff5ae096bdb338cbbad22fbcd0ad47e1e3344e8.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'geography/xrmap-hymns')
-rw-r--r-- | geography/xrmap-hymns/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/geography/xrmap-hymns/Makefile b/geography/xrmap-hymns/Makefile index ec958862101..24518cac1bb 100644 --- a/geography/xrmap-hymns/Makefile +++ b/geography/xrmap-hymns/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2006/03/04 21:29:45 jlam Exp $ +# $NetBSD: Makefile,v 1.6 2008/03/04 14:44:05 jlam Exp $ # DISTNAME= hymns-1.2 @@ -14,11 +14,13 @@ COMMENT= National anthems (MIDI) for xrmap DEPENDS+= xrmap-base>=2.29:../../geography/xrmap-base +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} NO_BUILD= yes INSTALLATION_DIRS= share/rmap do-install: - cd ${WRKSRC} && ${PAX} -rw -pe hymns ${PREFIX}/share/rmap + cd ${WRKSRC} && ${PAX} -rw -pe hymns ${DESTDIR}${PREFIX}/share/rmap .include "../../mk/bsd.pkg.mk" |