aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/exslt
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2014-01-27 04:20:40 +0800
committermat <mat@FreeBSD.org>2014-01-27 04:20:40 +0800
commit4eed422115de48d9707b37185d118baee51665a6 (patch)
treee401aefcf109e992f106fda44c7cb452d2999608 /textproc/exslt
parentea0f6e3c0bddbc1061869ada3606a6b1f81f9946 (diff)
downloadfreebsd-ports-gnome-4eed422115de48d9707b37185d118baee51665a6.tar.gz
freebsd-ports-gnome-4eed422115de48d9707b37185d118baee51665a6.tar.zst
freebsd-ports-gnome-4eed422115de48d9707b37185d118baee51665a6.zip
Convert to staging.
Sponsored by: Absolight
Diffstat (limited to 'textproc/exslt')
-rw-r--r--textproc/exslt/Makefile18
1 files changed, 8 insertions, 10 deletions
diff --git a/textproc/exslt/Makefile b/textproc/exslt/Makefile
index d9fca6250efc..45d0b8d2a72d 100644
--- a/textproc/exslt/Makefile
+++ b/textproc/exslt/Makefile
@@ -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>