summaryrefslogtreecommitdiff
path: root/misc/proj-doc
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-04 19:21:10 +0000
committerjlam <jlam>2008-03-04 19:21:10 +0000
commit476429c9f7b93362ea027fafcaa1bb835868c0d1 (patch)
tree49bcc2e4ee778e69c05972f13c0e319fdf272a66 /misc/proj-doc
parentdf44780831cf4dadccea821bb560fbdd11bda60b (diff)
downloadpkgsrc-476429c9f7b93362ea027fafcaa1bb835868c0d1.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'misc/proj-doc')
-rw-r--r--misc/proj-doc/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/misc/proj-doc/Makefile b/misc/proj-doc/Makefile
index 4078c83c340..7343c9db78b 100644
--- a/misc/proj-doc/Makefile
+++ b/misc/proj-doc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2006/12/15 18:20:39 dsainty Exp $
+# $NetBSD: Makefile,v 1.9 2008/03/04 19:21:12 jlam Exp $
DISTNAME= proj-pdf-docs
PKGNAME= proj-doc-1.1
@@ -11,10 +11,12 @@ MAINTAINER= gdt@NetBSD.org
HOMEPAGE= http://www.remotesensing.org/proj/
COMMENT= PDF documentation for the PROJ cartographic projection software
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_BUILD= yes
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/proj
- ${INSTALL_DATA} ${WRKDIR}/*.pdf ${PREFIX}/share/doc/proj/
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/proj
+ ${INSTALL_DATA} ${WRKDIR}/*.pdf ${DESTDIR}${PREFIX}/share/doc/proj/
.include "../../mk/bsd.pkg.mk"