diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-21 00:55:51 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-21 00:55:51 +0000 |
commit | 2401fdce29b2c04027dc4c57d0cdb1416a11e4d2 (patch) | |
tree | 906f8f051591e351fd5ebdf36df785ee3c135e9f /x11-fonts | |
parent | d27eef89a0bee5f2315db76ac4d272f5fcb95997 (diff) | |
download | ports-2401fdce29b2c04027dc4c57d0cdb1416a11e4d2.tar.gz ports-2401fdce29b2c04027dc4c57d0cdb1416a11e4d2.zip |
- Switch to options helpers
Approved by: portmgr blanket
Notes
Notes:
svn path=/head/; revision=397474
Diffstat (limited to 'x11-fonts')
-rw-r--r-- | x11-fonts/fira/Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/x11-fonts/fira/Makefile b/x11-fonts/fira/Makefile index 0d8644eca106..8f9abfa211d8 100644 --- a/x11-fonts/fira/Makefile +++ b/x11-fonts/fira/Makefile @@ -39,24 +39,22 @@ DOCS_DISTFILES= ${DISTNAME}_4_1_Version_Report.rtf:sans \ EXAMPLES_DISTFILES= ${DISTNAME}UFO_beta${PORTVERSION:S|.||}${EXTRACT_SUFX}:sans \ ${DISTNAME}MonoUFO_beta${MONO_VERSION}${EXTRACT_SUFX}:mono -.include <bsd.port.options.mk> - do-install: @${MKDIR} ${STAGEDIR}${FONTSDIR} ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}*Fonts*/OTF/*.otf \ ${STAGEDIR}${FONTSDIR} -.if ${PORT_OPTIONS:MDOCS} + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${CP} ${DISTDIR}/${DISTFILES:C|:[^:]+$||:M*.rtf} ${WRKSRC} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|:M*.rtf} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/${DISTNAME}*PDF*/|:M*.pdf} \ ${STAGEDIR}${DOCSDIR} -.endif -.if ${PORT_OPTIONS:MEXAMPLES} + +do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} -. for e in ${EXAMPLES_DISTFILES:R:C|:[^:]+$||} +.for e in ${EXAMPLES_DISTFILES:R:C|:[^:]+$||} (cd ${WRKDIR}/${e} && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) -. endfor -.endif +.endfor .include <bsd.port.mk> |