aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-11-17 18:27:07 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-11-17 18:27:07 +0800
commitd1c220a855332713f8b3b5c6b1c408fa85223c7d (patch)
tree5a38a6f9b55a9479af36a429ed38c3ae4516b79a /graphics
parentccd9ce543c055fc377fef778ee40e7d1e1d0256d (diff)
downloadfreebsd-ports-gnome-d1c220a855332713f8b3b5c6b1c408fa85223c7d.tar.gz
freebsd-ports-gnome-d1c220a855332713f8b3b5c6b1c408fa85223c7d.tar.zst
freebsd-ports-gnome-d1c220a855332713f8b3b5c6b1c408fa85223c7d.zip
- Convert to new options helper
- Support STAGEDIR
Diffstat (limited to 'graphics')
-rw-r--r--graphics/py-gdal/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/graphics/py-gdal/Makefile b/graphics/py-gdal/Makefile
index 68e1190db33e..b09bb9de1ff5 100644
--- a/graphics/py-gdal/Makefile
+++ b/graphics/py-gdal/Makefile
@@ -25,15 +25,10 @@ USE_PYTHON= -2.7
USE_PYDISTUTILS=easy_install
WRKSRC= ${WRKDIR}/${DISTNAME}/swig/python
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNUMPY}
-BUILD_DEPENDS+= ${PKGNAMEPREFIX}numpy>=1.0.0:${PORTSDIR}/math/py-numpy
-RUN_DEPENDS+= ${PKGNAMEPREFIX}numpy>=1.0.0:${PORTSDIR}/math/py-numpy
-.endif
+NUMPY_BUILD_DEPENDS= ${PKGNAMEPREFIX}numpy>=1.0.0:${PORTSDIR}/math/py-numpy
+NUMPY_RUN_DEPENDS= ${PKGNAMEPREFIX}numpy>=1.0.0:${PORTSDIR}/math/py-numpy
post-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/scripts/*.py ${PREFIX}/bin/
+ ${INSTALL_SCRIPT} ${WRKSRC}/scripts/*.py ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>