summaryrefslogtreecommitdiff
path: root/geography/epsg-docs
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-04 14:44:05 +0000
committerjlam <jlam>2008-03-04 14:44:05 +0000
commit1f0baa5fe914d8edfd25c9d669b8292969b33829 (patch)
treea92e7f8eee54b9a8853da721181945e291a984d5 /geography/epsg-docs
parent8941c4de576f8b78e261f5bc915d4bad2dfff6a7 (diff)
downloadpkgsrc-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/epsg-docs')
-rw-r--r--geography/epsg-docs/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/geography/epsg-docs/Makefile b/geography/epsg-docs/Makefile
index 3262402b9e9..e94017a204c 100644
--- a/geography/epsg-docs/Makefile
+++ b/geography/epsg-docs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/07/28 11:09:48 gdt Exp $
+# $NetBSD: Makefile,v 1.2 2008/03/04 14:44:05 jlam Exp $
#
DISTNAME= G7-1
@@ -15,6 +15,8 @@ COMMENT= EPSG geodetic parameters database documentation
LICENSE= epsg-license
+PKG_DESTDIR_SUPPORT= user-destdir
+
# Docs were included in geography/epsg up to 6.11.2, but are released
# separately and hence now packaged separately.
CONFLICTS+= epsg<6.13
@@ -24,8 +26,8 @@ NO_BUILD= yes
DOCDIR= ${PREFIX}/share/doc/epsg
do-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/G7-1.pdf ${DOCDIR:Q}
- ${INSTALL_DATA} ${WRKSRC}/G7-2.pdf ${DOCDIR:Q}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/G7-1.pdf ${DESTDIR}${DOCDIR:Q}
+ ${INSTALL_DATA} ${WRKSRC}/G7-2.pdf ${DESTDIR}${DOCDIR:Q}
.include "../../mk/bsd.pkg.mk"