summaryrefslogtreecommitdiff
path: root/geography/xrmap-pdfmaps
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
commit037b57d5ddf535a98a11963bfb6c13ede0dbfa32 (patch)
treea92e7f8eee54b9a8853da721181945e291a984d5 /geography/xrmap-pdfmaps
parent366003509e4b212f95b56afc433d8121286ca34b (diff)
downloadpkgsrc-037b57d5ddf535a98a11963bfb6c13ede0dbfa32.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-pdfmaps')
-rw-r--r--geography/xrmap-pdfmaps/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/geography/xrmap-pdfmaps/Makefile b/geography/xrmap-pdfmaps/Makefile
index 2cd2478079e..86bb2646547 100644
--- a/geography/xrmap-pdfmaps/Makefile
+++ b/geography/xrmap-pdfmaps/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= pdfmaps-1.1
@@ -13,11 +13,13 @@ COMMENT= PDF maps 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 pdfmaps ${PREFIX}/share/rmap
+ cd ${WRKSRC} && ${PAX} -rw -pe pdfmaps ${DESTDIR}${PREFIX}/share/rmap
.include "../../mk/bsd.pkg.mk"