summaryrefslogtreecommitdiff
path: root/geography/py-proj
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
commitba171a91fab519f587b027c1a2888cb6e3fce049 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /geography/py-proj
parent3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff)
downloadpkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz
Add DESTDIR support.
Diffstat (limited to 'geography/py-proj')
-rw-r--r--geography/py-proj/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/geography/py-proj/Makefile b/geography/py-proj/Makefile
index f09dffbaaa7..631180326fb 100644
--- a/geography/py-proj/Makefile
+++ b/geography/py-proj/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2008/04/25 20:39:09 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2008/06/12 02:14:31 joerg Exp $
#
DISTNAME= pyproj-1.8.3
@@ -10,11 +10,14 @@ MAINTAINER= gdt@NetBSD.org
HOMEPAGE= http://code.google.com/p/pyproj/
COMMENT= Python wrapper for proj
+PKG_DESTDIR_SUPPORT= user-destdir
+
PYDISTUTILSPKG= true
+INSTALLATION_DIRS= share/doc/${PKGNAME}
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PKGNAME}
- ${INSTALL} ${WRKSRC}/README ${PREFIX}/share/doc/${PKGNAME}
+ ${INSTALL} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/${PKGNAME}
.include "../../lang/python/extension.mk"