aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/doulos/Makefile
diff options
context:
space:
mode:
authorBrendan Fabeny <bf@FreeBSD.org>2014-07-02 18:10:06 +0000
committerBrendan Fabeny <bf@FreeBSD.org>2014-07-02 18:10:06 +0000
commitbcad40808bd188b85fc83064efa8f0d3d80d1d2b (patch)
treed606087234469e522eea7e1e0332a87e780fa41b /x11-fonts/doulos/Makefile
parentda3740c4bafd3d08eece6754d5ed1c9945dd8803 (diff)
downloadports-bcad40808bd188b85fc83064efa8f0d3d80d1d2b.tar.gz
ports-bcad40808bd188b85fc83064efa8f0d3d80d1d2b.zip
Notes
Diffstat (limited to 'x11-fonts/doulos/Makefile')
-rw-r--r--x11-fonts/doulos/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/x11-fonts/doulos/Makefile b/x11-fonts/doulos/Makefile
index cebd5289196d..66b44d0ce307 100644
--- a/x11-fonts/doulos/Makefile
+++ b/x11-fonts/doulos/Makefile
@@ -8,7 +8,7 @@ MASTER_SITES= http://scripts.sil.org/cms/scripts/render_download.php?&format=fil
LOCAL/bf
MASTER_SITE_SUBDIR= #prevent bsd.xorg.mk from setting a default subdirectory
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= bf@FreeBSD.org
COMMENT= Doulos SIL TrueType font collection
LICENSE= OFL11
@@ -22,6 +22,10 @@ MEDIA_ID= ${DISTNAME}${EXTRACT_SUFX}
NO_BUILD= yes
PLIST_FILES= ${FONTROOTDIR:S/${PREFIX}\///}/${FONTDIR}/${PORTNAME}-R.ttf
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= FONTLOG.txt OFL-FAQ.txt OFL.txt README.txt
SUB_LIST= DIR="${FONTROOTDIR}/${FONTDIR}"
@@ -32,8 +36,10 @@ do-configure:
do-install:
@${MKDIR} ${STAGEDIR}${FONTROOTDIR}/${FONTDIR}
- (cd ${WRKSRC} ; ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTROOTDIR}/${FONTDIR})
+ @(cd ${WRKSRC} ; ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTROOTDIR}/${FONTDIR})
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- (cd ${WRKSRC} ; ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
+ @(cd ${WRKSRC} ; ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
+.endif
.include <bsd.port.mk>