diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2015-08-25 10:03:08 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2015-08-25 10:03:08 +0000 |
commit | c7c32639cce504dbfefa9d1a09034d60600acaca (patch) | |
tree | 542278ecb4449b3df78960fd5f6cf7d8be50914f /graphics/batik/Makefile | |
parent | math/scilab: (diff) |
Convert my ports to new options helpers
Diffstat (limited to '')
-rw-r--r-- | graphics/batik/Makefile | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/graphics/batik/Makefile b/graphics/batik/Makefile index 8b9ff4b17ee1..c35a513de019 100644 --- a/graphics/batik/Makefile +++ b/graphics/batik/Makefile @@ -27,24 +27,17 @@ INSTALL_WRKSRC= ${WRKSRC}/${PORTNAME}-${PORTVERSION} DATADIR= ${JAVASHAREDIR}/${PORTNAME} PORTDOCS= * - DOC_FILES1= CHANGES NOTICE README OPTIONS_DEFINE= DOCS - -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MDOCS} -DISTFILES+= ${PORTNAME}-docs-${PORTVERSION}${EXTRACT_SUFX} -.endif +DOCS_DISTFILES= ${PORTNAME}-docs-${PORTVERSION}${EXTRACT_SUFX} do-install: (cd ${INSTALL_WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) -.if ${PORT_OPTIONS:MDOCS} +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES1:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} (cd ${WRKDIR}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) -.endif .include <bsd.port.mk> |