Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2014 16:05:56 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r354551 - head/databases/pgfouine
Message-ID:  <201405191605.s4JG5uUn043117@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Mon May 19 16:05:55 2014
New Revision: 354551
URL: http://svnweb.freebsd.org/changeset/ports/354551
QAT: https://qat.redports.org/buildarchive/r354551/

Log:
  Support staging.
  
  Approved by:	portmgr@

Modified:
  head/databases/pgfouine/Makefile

Modified: head/databases/pgfouine/Makefile
==============================================================================
--- head/databases/pgfouine/Makefile	Mon May 19 16:01:00 2014	(r354550)
+++ head/databases/pgfouine/Makefile	Mon May 19 16:05:55 2014	(r354551)
@@ -13,7 +13,6 @@ COMMENT=	PostgreSQL log analyzer
 NO_BUILD =	Yes
 USE_PHP=	gd pcre
 
-NO_STAGE=	yes
 pre-configure:
 	${REINPLACE_CMD} -e 's,/usr/bin/php,${LOCALBASE}/bin/php,g;' \
 		-e 's,!!PREFIX!!,${PREFIX},g' \
@@ -21,17 +20,17 @@ pre-configure:
 	${FIND} -d ${WRKSRC} -type d -name 'CVS' -exec ${RM} -rf {} \;
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/pgfouine.php ${PREFIX}/bin/pgfouine
-	${INSTALL_SCRIPT} ${WRKSRC}/pgfouine_vacuum.php ${PREFIX}/bin/pgfouine_vacuum
-	${MKDIR} ${DATADIR}/include
-	${INSTALL_DATA} ${WRKSRC}/version.php ${DATADIR}
-	@cd ${WRKSRC}/include && ${COPYTREE_SHARE} \* ${DATADIR}/include/
+	${INSTALL_SCRIPT} ${WRKSRC}/pgfouine.php ${STAGEDIR}${PREFIX}/bin/pgfouine
+	${INSTALL_SCRIPT} ${WRKSRC}/pgfouine_vacuum.php ${STAGEDIR}${PREFIX}/bin/pgfouine_vacuum
+	${MKDIR} ${STAGEDIR}${DATADIR}/include
+	${INSTALL_DATA} ${WRKSRC}/version.php ${STAGEDIR}${DATADIR}
+	@cd ${WRKSRC}/include && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}/include/
 .if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/AUTHORS	${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/ChangeLog 	${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/THANKS 	${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/rpm-specific/sources/pgfouine-tutorial.txt ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/AUTHORS	${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/ChangeLog 	${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/THANKS 	${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/rpm-specific/sources/pgfouine-tutorial.txt ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>



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