aboutsummaryrefslogtreecommitdiff
path: root/graphics/php-gdal
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-11-17 10:27:10 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-11-17 10:27:10 +0000
commit9344bdf49ce7365d95466af403b671c6e84b415a (patch)
tree46e9564c0c4557764ecdab1f974ed74db8bbcce2 /graphics/php-gdal
parent8cfdaa4e2cf3a958424f0eb754cba3ca6aac5985 (diff)
downloadports-9344bdf49ce7365d95466af403b671c6e84b415a.tar.gz
ports-9344bdf49ce7365d95466af403b671c6e84b415a.zip
Notes
Diffstat (limited to 'graphics/php-gdal')
-rw-r--r--graphics/php-gdal/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/graphics/php-gdal/Makefile b/graphics/php-gdal/Makefile
index 45e892c3a1a9..9aa28af74070 100644
--- a/graphics/php-gdal/Makefile
+++ b/graphics/php-gdal/Makefile
@@ -28,7 +28,6 @@ USE_PHP_BUILD= yes
USES= gmake
WRKSRC= ${WRKDIR}/${DISTNAME}/swig/php
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e '/^SWIG = swig/ s|$$|2.0|' ${WRKSRC}/../SWIGmake.base
@${REINPLACE_CMD} -e 's|^CC=.*$$|CC=${CC}|; s|^CXX=.*$$|CXX=${CXX}|; s|^CFLAGS=.*$$|CFLAGS=${CFLAGS}|' ${WRKSRC}/${MAKEFILE}
@@ -42,8 +41,8 @@ pre-build:
${CP} ${LOCALBASE}/include/cpl_config.h ${WRKSRC}/../../port/
do-install:
- ${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR}/ ${PREFIX}/include/php/ext/${PORTNAME}/
- ${INSTALL_LIB} ${WRKSRC}/*.so ${PREFIX}/lib/php/${PHP_EXT_DIR}/
- ${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/php/ext/${PORTNAME}/
+ ${MKDIR} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/ ${STAGEDIR}${PREFIX}/include/php/ext/${PORTNAME}/
+ ${INSTALL_LIB} ${WRKSRC}/*.so ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}/
+ ${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/php/ext/${PORTNAME}/
.include <bsd.port.mk>