Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 2014 20:20:40 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341275 - head/textproc/exslt
Message-ID:  <201401262020.s0QKKeox016183@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}/,@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}/,@dirrm ,p' >> ${TMPPLIST}
 	@${ECHO_CMD} '@dirrm ${DATADIR:S,^${PREFIX}/,,}' >> ${TMPPLIST}
 
 .include <bsd.port.mk>



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