diff options
author | jlam <jlam> | 2008-03-04 14:44:05 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-04 14:44:05 +0000 |
commit | 1f0baa5fe914d8edfd25c9d669b8292969b33829 (patch) | |
tree | a92e7f8eee54b9a8853da721181945e291a984d5 /geography/xrmap-anthems | |
parent | 8941c4de576f8b78e261f5bc915d4bad2dfff6a7 (diff) | |
download | pkgsrc-1f0baa5fe914d8edfd25c9d669b8292969b33829.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-anthems')
-rw-r--r-- | geography/xrmap-anthems/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/geography/xrmap-anthems/Makefile b/geography/xrmap-anthems/Makefile index bcb7d0e3d53..63889eda1e4 100644 --- a/geography/xrmap-anthems/Makefile +++ b/geography/xrmap-anthems/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2006/09/06 10:00:25 rillig Exp $ +# $NetBSD: Makefile,v 1.7 2008/03/04 14:44:05 jlam Exp $ # DISTNAME= anthems-1.1 @@ -14,11 +14,13 @@ COMMENT= National anthems (text) 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 -pp anthems ${PREFIX}/share/rmap + cd ${WRKSRC} && pax -rw -pp anthems ${DESTDIR}${PREFIX}/share/rmap .include "../../mk/bsd.pkg.mk" |