freebsd-ports/textproc/uml2svg/Makefile

44 lines
1.1 KiB
Makefile
Raw Normal View History

# Created by: Gabor Kovesdan <gabor@FreeBSD.org>
# $FreeBSD$
PORTNAME= uml2svg
PORTVERSION= 0.18
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
2010-06-08 09:31:58 +02:00
MAINTAINER= ports@FreeBSD.org
COMMENT= XSL stylesheets to convert UML to SVG
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE
NO_BUILD= yes
NO_ARCH= yes
INSTDIR= share/xsl/uml2svg
2014-07-05 00:50:40 +02:00
OPTIONS_DEFINE= DOCS
do-install:
2014-06-11 14:31:35 +02:00
${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); \
2014-06-11 14:31:35 +02:00
${MKDIR} ${STAGEDIR}${PREFIX}/${INSTDIR}/xsl/$${d}; \
for i in $${files}; do \
2014-06-11 14:31:35 +02:00
${INSTALL_DATA} $${i} ${STAGEDIR}${PREFIX}/${INSTDIR}/xsl/$${d}; \
done; \
done; \
files=$$(${FIND} ${WRKSRC}/src/xsl -type f -depth 1); \
for i in $${files}; do \
2014-06-11 14:31:35 +02:00
${INSTALL_DATA} $${i} ${STAGEDIR}${PREFIX}/${INSTDIR}/xsl/; \
done
2014-06-11 14:31:35 +02:00
${INSTALL_DATA} ${WRKSRC}/src/uml2svg.xsl ${STAGEDIR}${PREFIX}/${INSTDIR}/
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc && ${TAR} -cf - . |\
${TAR} -xf - -C ${STAGEDIR}${DOCSDIR})
2014-07-05 00:50:40 +02:00
.include <bsd.port.mk>