svn commit: r354200 - head/databases/adodb

Vanilla I. Shu vanilla at FreeBSD.org
Fri May 16 08:13:23 UTC 2014


Author: vanilla
Date: Fri May 16 08:13:22 2014
New Revision: 354200
URL: http://svnweb.freebsd.org/changeset/ports/354200
QAT: https://qat.redports.org/buildarchive/r354200/

Log:
  Support staging.
  
  Approved by:	portmgr@

Modified:
  head/databases/adodb/Makefile

Modified: head/databases/adodb/Makefile
==============================================================================
--- head/databases/adodb/Makefile	Fri May 16 08:05:05 2014	(r354199)
+++ head/databases/adodb/Makefile	Fri May 16 08:13:22 2014	(r354200)
@@ -25,7 +25,6 @@ ADODB_SUBDIRS=	contrib datadict drivers 
 OPTIONS_DEFINE=	TESTS DOCS
 TESTS_DESC=	Install tests
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 SUB_FILES+=	pkg-message
@@ -40,30 +39,29 @@ post-patch:
 	@cd ${WRKSRC}; ${RM} -f cute_icons_for_site/Thumbs.db
 
 do-install:
-	@${MKDIR} ${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DATADIR}
 	@cd ${WRKSRC}; ${FIND} ${ADODB_SUBDIRS} -type d \
-		-exec ${MKDIR} ${DATADIR}/{} \;
+		-exec ${MKDIR} ${STAGEDIR}${DATADIR}/{} \;
 	@cd ${WRKSRC}; ${FIND} . ! -path './*/*' -type f \( -name '*.php' -or -name '*.dtd' -or -name '*.zip' \) \
-		-exec ${INSTALL_DATA} ${WRKSRC}/{} ${DATADIR}/{} \;
+		-exec ${INSTALL_DATA} ${WRKSRC}/{} ${STAGEDIR}${DATADIR}/{} \;
 	@cd ${WRKSRC}; ${FIND} ${ADODB_SUBDIRS} -type f \
-		-exec ${INSTALL_DATA} ${WRKSRC}/{} ${DATADIR}/{} \;
+		-exec ${INSTALL_DATA} ${WRKSRC}/{} ${STAGEDIR}${DATADIR}/{} \;
 
 .if ${PORT_OPTIONS:MTESTS}
-	@${MKDIR} ${DATADIR}/tests
+	@${MKDIR} ${STAGEDIR}${DATADIR}/tests
 	@cd ${WRKSRC}; ${FIND} tests -type f \
-		-exec ${INSTALL_DATA} ${WRKSRC}/{} ${DATADIR}/{} \;
+		-exec ${INSTALL_DATA} ${WRKSRC}/{} ${STAGEDIR}${DATADIR}/{} \;
 .endif
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR} ${DOCSDIR}/cute_icons_for_site
+	@${MKDIR} ${DOCSDIR} ${STAGEDIR}${DOCSDIR}/cute_icons_for_site
 	@cd ${WRKSRC}; ${FIND} . ! -path './*/*' -type f -name '*.txt' \
-		-exec ${INSTALL_MAN} ${WRKSRC}/{} ${DOCSDIR}/{} \;
+		-exec ${INSTALL_MAN} ${WRKSRC}/{} ${STAGEDIR}${DOCSDIR}/{} \;
 	@cd ${WRKSRC}/docs; ${FIND} . -type f \
-		-exec ${INSTALL_MAN} ${WRKSRC}/docs/{} ${DOCSDIR}/{} \;
+		-exec ${INSTALL_MAN} ${WRKSRC}/docs/{} ${STAGEDIR}${DOCSDIR}/{} \;
 	@cd ${WRKSRC}; ${FIND} cute_icons_for_site -type f \
-		-exec ${INSTALL_MAN} ${WRKSRC}/{} ${DOCSDIR}/{} \;
+		-exec ${INSTALL_MAN} ${WRKSRC}/{} ${STAGEDIR}${DOCSDIR}/{} \;
 .endif
-	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list