svn commit: r469962 - head/x11-fonts/fantasque-sans-mono
Raphael Kubo da Costa
rakuco at FreeBSD.org
Mon May 14 20:26:50 UTC 2018
Author: rakuco
Date: Mon May 14 20:26:49 2018
New Revision: 469962
URL: https://svnweb.freebsd.org/changeset/ports/469962
Log:
Set DISTFILES as OPTIONs helpers.
This allows one to only download the tarball corresponding to the chosen
VARIANT option, at the expense of making `make makesum' more cumbersome to
run (so add a comment to remind me of how to do it).
PR: 228206
Submitted by: tobik
Modified:
head/x11-fonts/fantasque-sans-mono/Makefile
Modified: head/x11-fonts/fantasque-sans-mono/Makefile
==============================================================================
--- head/x11-fonts/fantasque-sans-mono/Makefile Mon May 14 19:38:32 2018 (r469961)
+++ head/x11-fonts/fantasque-sans-mono/Makefile Mon May 14 20:26:49 2018 (r469962)
@@ -5,10 +5,6 @@ PORTVERSION= 1.7.2
PORTREVISION= 1
CATEGORIES= x11-fonts
MASTER_SITES= https://github.com/belluzj/fantasque-sans/releases/download/v${PORTVERSION}/
-DISTFILES= FantasqueSansMono-Normal.tar.gz \
- FantasqueSansMono-NoLoopK.tar.gz \
- FantasqueSansMono-LargeLineHeight.tar.gz \
- FantasqueSansMono-LargeLineHeight-NoLoopK.tar.gz
MAINTAINER= rakuco at FreeBSD.org
COMMENT= Programming font, designed with functionality in mind
@@ -22,6 +18,9 @@ USES= fonts
OPTIONS_DEFINE= DOCS
+# For `make makesum' to include all distfiles, it should be run with
+# WITH="$(make -V OPTIONS_SINGLE_VARIANT)".
+
OPTIONS_SINGLE= VARIANT
OPTIONS_SINGLE_VARIANT= NORMAL NOLOOPK LLINE LLINENOLOOPK
@@ -32,10 +31,10 @@ LLINENOLOOPK_DESC= Large line spacing with Nondescript
OPTIONS_DEFAULT= NORMAL
-NORMAL_EXTRACT_ONLY= FantasqueSansMono-Normal.tar.gz
-NOLOOPK_EXTRACT_ONLY= FantasqueSansMono-NoLoopK.tar.gz
-LLINE_EXTRACT_ONLY= FantasqueSansMono-LargeLineHeight.tar.gz
-LLINENOLOOPK_EXTRACT_ONLY= FantasqueSansMono-LargeLineHeight-NoLoopK.tar.gz
+NORMAL_DISTFILES= FantasqueSansMono-Normal.tar.gz
+NOLOOPK_DISTFILES= FantasqueSansMono-NoLoopK.tar.gz
+LLINE_DISTFILES= FantasqueSansMono-LargeLineHeight.tar.gz
+LLINENOLOOPK_DISTFILES= FantasqueSansMono-LargeLineHeight-NoLoopK.tar.gz
do-install:
${MKDIR} ${STAGEDIR}${FONTSDIR}
More information about the svn-ports-all
mailing list