aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2014-01-24 06:03:42 +0800
committerrakuco <rakuco@FreeBSD.org>2014-01-24 06:03:42 +0800
commitfd921866593de2e49cf04b2e2c66ef9e4b9ad132 (patch)
treee77f74568e8107c603a5aff294e96b6c3b7bda70 /x11-fonts
parent9953573e9da29b82bf5aefbd0f267319ac8c581f (diff)
downloadfreebsd-ports-gnome-fd921866593de2e49cf04b2e2c66ef9e4b9ad132.tar.gz
freebsd-ports-gnome-fd921866593de2e49cf04b2e2c66ef9e4b9ad132.tar.zst
freebsd-ports-gnome-fd921866593de2e49cf04b2e2c66ef9e4b9ad132.zip
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.
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/alegreya-sans/Makefile14
-rw-r--r--x11-fonts/alegreya-sans/distinfo4
2 files changed, 10 insertions, 8 deletions
diff --git a/x11-fonts/alegreya-sans/Makefile b/x11-fonts/alegreya-sans/Makefile
index d7bae9e7ad5b..b4e6c44cfd9d 100644
--- a/x11-fonts/alegreya-sans/Makefile
+++ b/x11-fonts/alegreya-sans/Makefile
@@ -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@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>
diff --git a/x11-fonts/alegreya-sans/distinfo b/x11-fonts/alegreya-sans/distinfo
index 3166615165c7..70ca383a558e 100644
--- a/x11-fonts/alegreya-sans/distinfo
+++ b/x11-fonts/alegreya-sans/distinfo
@@ -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