summaryrefslogtreecommitdiff
path: root/geography/xrmap-flags
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-04 14:44:05 +0000
committerjlam <jlam@pkgsrc.org>2008-03-04 14:44:05 +0000
commitab2a4f23cd2bf5d6d69d8ed4b6fb9fdf68c27273 (patch)
treea92e7f8eee54b9a8853da721181945e291a984d5 /geography/xrmap-flags
parentf2bb17c6a7ae7e23b467e15afd71bb7ae7bb05b9 (diff)
downloadpkgsrc-ab2a4f23cd2bf5d6d69d8ed4b6fb9fdf68c27273.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-flags')
-rw-r--r--geography/xrmap-flags/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/geography/xrmap-flags/Makefile b/geography/xrmap-flags/Makefile
index f3b0f51d158..aaf90e7ba00 100644
--- a/geography/xrmap-flags/Makefile
+++ b/geography/xrmap-flags/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= flags-1.1
@@ -14,11 +14,13 @@ COMMENT= National flags 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 flags ${PREFIX}/share/rmap
+ cd ${WRKSRC} && ${PAX} -rw -pe flags ${DESTDIR}${PREFIX}/share/rmap
.include "../../mk/bsd.pkg.mk"