svn commit: r340865 - head/x11-fonts/alegreya-sans

Raphael Kubo da Costa rakuco at FreeBSD.org
Thu Jan 23 22:03:43 UTC 2014


Author: rakuco
Date: Thu Jan 23 22:03:42 2014
New Revision: 340865
URL: http://svnweb.freebsd.org/changeset/ports/340865
QAT: https://qat.redports.org/buildarchive/r340865/

Log:
  Switch to fetching the font from GitHub.
  
  Upstream pointed out that the font is also hosted on GitHub, which is easier
  to fetch and more reliable than the download link on their website.
  
  We can also track the version numbers more easily now, so switch to using
  them instead of a date in PORTVERSION.

Modified:
  head/x11-fonts/alegreya-sans/Makefile
  head/x11-fonts/alegreya-sans/distinfo

Modified: head/x11-fonts/alegreya-sans/Makefile
==============================================================================
--- head/x11-fonts/alegreya-sans/Makefile	Thu Jan 23 21:47:41 2014	(r340864)
+++ head/x11-fonts/alegreya-sans/Makefile	Thu Jan 23 22:03:42 2014	(r340865)
@@ -1,26 +1,28 @@
 # $FreeBSD$
 
 PORTNAME=	alegreya-sans
-PORTVERSION=	20140108
+PORTVERSION=	1.002
+PORTEPOCH=	1
 CATEGORIES=	x11-fonts
-MASTER_SITES=	http://www.huertatipografica.com/free_download/G4oDzW61NXb23OxBa8XL?dummy=
 
 MAINTAINER=	rakuco at FreeBSD.org
 COMMENT=	Humanist sans serif font with a calligraphic feeling
 
 LICENSE=	OFL11
 
-FETCH_BEFORE_ARGS=	-o ${DISTFILES}
+USE_GITHUB=	yes
+GH_ACCOUNT=	juandelperal
+GH_PROJECT=	Alegreya-Sans
+GH_TAGNAME=	2d2a4b0
+GH_COMMIT=	2d2a4b0
 
 NO_BUILD=	yes
-NO_WRKSUBDIR=	yes
-USE_ZIP=	yes
 
 FONTDIR=	${STAGEDIR}${PREFIX}/lib/X11/fonts/${PORTNAME}
 
 do-install:
 	${MKDIR} ${FONTDIR}
-	cd ${WRKSRC} && \
+	cd ${WRKSRC}/otf && \
 		${INSTALL_DATA} *.otf ${FONTDIR}
 
 .include <bsd.port.mk>

Modified: head/x11-fonts/alegreya-sans/distinfo
==============================================================================
--- head/x11-fonts/alegreya-sans/distinfo	Thu Jan 23 21:47:41 2014	(r340864)
+++ head/x11-fonts/alegreya-sans/distinfo	Thu Jan 23 22:03:42 2014	(r340865)
@@ -1,2 +1,2 @@
-SHA256 (alegreya-sans-20140108.zip) = 6fe20e1857bda2fa6b5b33147c84c4975b5fa4ec1ce6459d160c3d394d162b37
-SIZE (alegreya-sans-20140108.zip) = 1573210
+SHA256 (alegreya-sans-1.002.tar.gz) = e5a81b22aa8f7cf35583b051cee78ce5f9dba7dbcc75f2f8bc2508d03043c722
+SIZE (alegreya-sans-1.002.tar.gz) = 4954547


More information about the svn-ports-all mailing list