svn commit: r341275 - head/textproc/exslt

Mathieu Arnold mat at FreeBSD.org
Sun Jan 26 20:20:41 UTC 2014


Author: mat
Date: Sun Jan 26 20:20:40 2014
New Revision: 341275
URL: http://svnweb.freebsd.org/changeset/ports/341275
QAT: https://qat.redports.org/buildarchive/r341275/

Log:
  Convert to staging.
  
  Sponsored by:	Absolight

Modified:
  head/textproc/exslt/Makefile

Modified: head/textproc/exslt/Makefile
==============================================================================
--- head/textproc/exslt/Makefile	Sun Jan 26 20:19:18 2014	(r341274)
+++ head/textproc/exslt/Makefile	Sun Jan 26 20:20:40 2014	(r341275)
@@ -17,19 +17,17 @@ NO_BUILD=	yes
 
 DATAFILES=	base.css date dyn exsl func howto.html index.html math random regexp set str
 
-NO_STAGE=	yes
 do-install:
-	@${ECHO_MSG} ">> Installing stylesheets and documentation in ${DATADIR}"
-	@${MKDIR} ${DATADIR}
-	@cd ${WRKSRC} && \
-		${FIND} ${DATAFILES} -type d -exec ${MKDIR} "${DATADIR}/{}" \; && \
-		${FIND} ${DATAFILES} ! -type d -exec ${INSTALL_DATA} "{}" "${DATADIR}/{}" \;
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	cd ${WRKSRC} && \
+		${FIND} ${DATAFILES} -type d -exec ${MKDIR} "${STAGEDIR}${DATADIR}/{}" \; && \
+		${FIND} ${DATAFILES} ! -type d -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/{}" \;
 
 post-install:
-	@${FIND} -s ${DATAFILES:S/^/${DATADIR}\//} ! -type d 2>/dev/null | \
-		${SED} -ne 's,^${PREFIX}/,,p' >> ${TMPPLIST}
-	@${FIND} -s -d ${DATAFILES:S/^/${DATADIR}\//} -type d 2>/dev/null | \
-		${SED} -ne 's,^${PREFIX}/, at dirrm ,p' >> ${TMPPLIST}
+	@${FIND} -s ${STAGEDIR}${DATAFILES:S/^/${DATADIR}\//} ! -type d 2>/dev/null | \
+		${SED} -ne 's,^${STAGEDIR}${PREFIX}/,,p' >> ${TMPPLIST}
+	@${FIND} -s -d ${STAGEDIR}${DATAFILES:S/^/${DATADIR}\//} -type d 2>/dev/null | \
+		${SED} -ne 's,^${STAGEDIR}${PREFIX}/, at dirrm ,p' >> ${TMPPLIST}
 	@${ECHO_CMD} '@dirrm ${DATADIR:S,^${PREFIX}/,,}' >> ${TMPPLIST}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list