svn commit: r334067 - head/graphics/py-gdal
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Nov 17 10:27:07 UTC 2013
Author: sunpoet
Date: Sun Nov 17 10:27:07 2013
New Revision: 334067
URL: http://svnweb.freebsd.org/changeset/ports/334067
Log:
- Convert to new options helper
- Support STAGEDIR
Modified:
head/graphics/py-gdal/Makefile
Modified: head/graphics/py-gdal/Makefile
==============================================================================
--- head/graphics/py-gdal/Makefile Sun Nov 17 09:40:34 2013 (r334066)
+++ head/graphics/py-gdal/Makefile Sun Nov 17 10:27:07 2013 (r334067)
@@ -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>
More information about the svn-ports-all
mailing list