aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authorbf <bf@FreeBSD.org>2014-07-03 02:10:06 +0800
committerbf <bf@FreeBSD.org>2014-07-03 02:10:06 +0800
commit866a2d60efee65a9d00ce9ed5ae4ff773da5cd55 (patch)
treed606087234469e522eea7e1e0332a87e780fa41b /x11-fonts
parent84be8c7a2bc8a77eec3c22037850501a535918e5 (diff)
downloadfreebsd-ports-gnome-866a2d60efee65a9d00ce9ed5ae4ff773da5cd55.tar.gz
freebsd-ports-gnome-866a2d60efee65a9d00ce9ed5ae4ff773da5cd55.tar.zst
freebsd-ports-gnome-866a2d60efee65a9d00ce9ed5ae4ff773da5cd55.zip
Use options and staging
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/doulos-compact/Makefile12
-rw-r--r--x11-fonts/doulos/Makefile12
2 files changed, 18 insertions, 6 deletions
diff --git a/x11-fonts/doulos-compact/Makefile b/x11-fonts/doulos-compact/Makefile
index c889ff13255c..2aea013ac680 100644
--- a/x11-fonts/doulos-compact/Makefile
+++ b/x11-fonts/doulos-compact/Makefile
@@ -13,7 +13,7 @@ MASTER_SITES= LOCAL/bf
.endif
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, compact variant
LICENSE= OFL11
@@ -26,6 +26,10 @@ INSTALLS_TTF= yes
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 feat_set_tuned.xml
SUB_LIST= DIR="${FONTROOTDIR}/${FONTDIR}"
@@ -36,8 +40,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>
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>