summaryrefslogtreecommitdiff
path: root/geography/py-proj/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'geography/py-proj/Makefile')
-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"