- Add LICENSE
- Add NO_ARCH - Switch to options helpers
This commit is contained in:
parent
871c2b1d13
commit
b3f0bf4b37
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=401376
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user