1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00

- Switch to options helpers

This commit is contained in:
Dmitry Marakasov 2015-12-08 17:35:19 +00:00
parent 385e992d95
commit 06f9c0ec4f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=403316

View File

@ -32,8 +32,6 @@ PORTDOCS= manual-${PORTVERSION}.pdf quickguide-${PORTVERSION}.pdf
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
DESKTOP_ENTRIES= "ArgoUML" \
"Create advanced UML diagrams" \
"${DATADIR}/icon/ArgoIcon128x128.png" \
@ -51,10 +49,10 @@ do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}/icon
${INSTALL_DATA} ${WRKSRC}/icon/*.png ${STAGEDIR}${DATADIR}/icon
${INSTALL_DATA} ${WRKSRC}/icon/*.svg ${STAGEDIR}${DATADIR}/icon
.if ${PORT_OPTIONS:MDOCS}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/manual-${PORTVERSION}.pdf ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/quickguide-${PORTVERSION}.pdf ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>