Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2018 20:26:49 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r469962 - head/x11-fonts/fantasque-sans-mono
Message-ID:  <201805142026.w4EKQneh043689@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805142026.w4EKQneh043689>