aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-11-13 01:21:15 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-11-13 01:21:15 +0800
commit13b4537f852792987318cb4f56b5921093e11e0f (patch)
tree6198f7056855caba2476aa646ec5101247c99b18 /textproc
parent957d19300798f5b862f8648a156d32f6d9bf82e9 (diff)
downloadfreebsd-ports-graphics-13b4537f852792987318cb4f56b5921093e11e0f.tar.gz
freebsd-ports-graphics-13b4537f852792987318cb4f56b5921093e11e0f.tar.zst
freebsd-ports-graphics-13b4537f852792987318cb4f56b5921093e11e0f.zip
- Add LICENSE
- Add NO_ARCH - Switch to options helpers
Diffstat (limited to 'textproc')
-rw-r--r--textproc/uml2svg/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/textproc/uml2svg/Makefile b/textproc/uml2svg/Makefile
index 260de3d542c..9afca110795 100644
--- a/textproc/uml2svg/Makefile
+++ b/textproc/uml2svg/Makefile
@@ -9,16 +9,17 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
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
OPTIONS_DEFINE= DOCS
do-install:
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- (cd ${WRKSRC}/doc && ${TAR} -cf - . |\
- ${TAR} -xf - -C ${STAGEDIR}${DOCSDIR})
${MKDIR} ${STAGEDIR}${PREFIX}/${INSTDIR}/xsl
dirs=$$(${FIND} ${WRKSRC}/src/xsl -type d | ${SED} 's|^${WRKSRC}/src/xsl||g'); \
for d in $${dirs}; do \
@@ -34,4 +35,9 @@ do-install:
done
${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})
+
.include <bsd.port.mk>