svn commit: r403316 - head/devel/argouml
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Dec 8 17:35:21 UTC 2015
Author: amdmi3
Date: Tue Dec 8 17:35:19 2015
New Revision: 403316
URL: https://svnweb.freebsd.org/changeset/ports/403316
Log:
- Switch to options helpers
Modified:
head/devel/argouml/Makefile
Modified: head/devel/argouml/Makefile
==============================================================================
--- head/devel/argouml/Makefile Tue Dec 8 17:34:46 2015 (r403315)
+++ head/devel/argouml/Makefile Tue Dec 8 17:35:19 2015 (r403316)
@@ -32,8 +32,6 @@ PORTDOCS= manual-${PORTVERSION}.pdf quic
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>
More information about the svn-ports-head
mailing list