Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Nov 2013 10:27:11 +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: r334068 - head/graphics/php-gdal
Message-ID:  <201311171027.rAHARBbe041493@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Nov 17 10:27:10 2013
New Revision: 334068
URL: http://svnweb.freebsd.org/changeset/ports/334068

Log:
  - Support STAGEDIR

Modified:
  head/graphics/php-gdal/Makefile

Modified: head/graphics/php-gdal/Makefile
==============================================================================
--- head/graphics/php-gdal/Makefile	Sun Nov 17 10:27:07 2013	(r334067)
+++ head/graphics/php-gdal/Makefile	Sun Nov 17 10:27:10 2013	(r334068)
@@ -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>



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