Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Nov 2013 10:27:07 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334067 - head/graphics/py-gdal
Message-ID:  <201311171027.rAHAR7ln041427@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311171027.rAHAR7ln041427>