1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

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.
This commit is contained in:
Raphael Kubo da Costa 2014-01-23 22:03:42 +00:00
parent f8ce888aa4
commit 0d1b00e6ac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340865
2 changed files with 10 additions and 8 deletions

View File

@ -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>

View File

@ -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