aboutsummaryrefslogtreecommitdiff
path: root/textproc/uml2svg/Makefile
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-06-11 12:31:35 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-06-11 12:31:35 +0000
commit20a429b317db498de4be9530cd15aeba13c7784b (patch)
treefba0c11c56f20e4ee40d83b478555f6207b712c8 /textproc/uml2svg/Makefile
parent126853aff3f6a138debf21a0038814d97dc8e0fa (diff)
downloadports-20a429b317db498de4be9530cd15aeba13c7784b.tar.gz
ports-20a429b317db498de4be9530cd15aeba13c7784b.zip
Stagify.
Notes
Notes: svn path=/head/; revision=357468
Diffstat (limited to 'textproc/uml2svg/Makefile')
-rw-r--r--textproc/uml2svg/Makefile21
1 files changed, 7 insertions, 14 deletions
diff --git a/textproc/uml2svg/Makefile b/textproc/uml2svg/Makefile
index f65e4383d3ac..97184f14b9e9 100644
--- a/textproc/uml2svg/Makefile
+++ b/textproc/uml2svg/Makefile
@@ -13,34 +13,27 @@ NO_BUILD= yes
INSTDIR= share/xsl/uml2svg
-NO_STAGE= yes
.include <bsd.port.pre.mk>
do-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc && ${TAR} -cf - . |\
- ${TAR} -xf - -C${DOCSDIR})
+ ${TAR} -xf - -C ${STAGEDIR}${DOCSDIR})
.endif
- ${MKDIR} ${PREFIX}/${INSTDIR}/xsl
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${INSTDIR}/xsl
dirs=$$(${FIND} ${WRKSRC}/src/xsl -type d | ${SED} 's|^${WRKSRC}/src/xsl||g'); \
for d in $${dirs}; do \
files=$$(${FIND} ${WRKSRC}/src/xsl/$${d} -type f); \
- ${MKDIR} ${PREFIX}/${INSTDIR}/xsl/$${d}; \
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${INSTDIR}/xsl/$${d}; \
for i in $${files}; do \
- ${INSTALL_DATA} $${i} ${PREFIX}/${INSTDIR}/xsl/$${d}; \
+ ${INSTALL_DATA} $${i} ${STAGEDIR}${PREFIX}/${INSTDIR}/xsl/$${d}; \
done; \
done; \
files=$$(${FIND} ${WRKSRC}/src/xsl -type f -depth 1); \
for i in $${files}; do \
- ${INSTALL_DATA} $${i} ${PREFIX}/${INSTDIR}/xsl/; \
+ ${INSTALL_DATA} $${i} ${STAGEDIR}${PREFIX}/${INSTDIR}/xsl/; \
done
- ${INSTALL_DATA} ${WRKSRC}/src/uml2svg.xsl ${PREFIX}/${INSTDIR}/
-
-plist:
- ${FIND} ${PREFIX}/${INSTDIR} -type f | ${SED} 's|${PREFIX}/||g' | ${SORT} >${PLIST}
- ${FIND} ${PREFIX}/${INSTDIR} -type d | ${SORT} -r | ${SED} -e 's|${PREFIX}/||g' -e 's|^|@dirrm |g' >>${PLIST}
- ${FIND} ${DOCSDIR} -type f | ${SED} 's|${DOCSDIR}/|%%PORTDOCS%%%%DOCSDIR%%/|g' | ${SORT} >>${PLIST}
- ${FIND} ${DOCSDIR} -type d | ${SORT} -r | ${SED} 's|${DOCSDIR}/|%%PORTDOCS%%@dirrm %%DOCSDIR%%/|g' >>${PLIST}
+ ${INSTALL_DATA} ${WRKSRC}/src/uml2svg.xsl ${STAGEDIR}${PREFIX}/${INSTDIR}/
.include <bsd.port.post.mk>