freebsd-ports/x11-fonts/alegreya-sans/Makefile
Raphael Kubo da Costa 0d1b00e6ac 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.
2014-01-23 22:03:42 +00:00

28 lines
496 B
Makefile

# $FreeBSD$
PORTNAME= alegreya-sans
PORTVERSION= 1.002
PORTEPOCH= 1
CATEGORIES= x11-fonts
MAINTAINER= rakuco@FreeBSD.org
COMMENT= Humanist sans serif font with a calligraphic feeling
LICENSE= OFL11
USE_GITHUB= yes
GH_ACCOUNT= juandelperal
GH_PROJECT= Alegreya-Sans
GH_TAGNAME= 2d2a4b0
GH_COMMIT= 2d2a4b0
NO_BUILD= yes
FONTDIR= ${STAGEDIR}${PREFIX}/lib/X11/fonts/${PORTNAME}
do-install:
${MKDIR} ${FONTDIR}
cd ${WRKSRC}/otf && \
${INSTALL_DATA} *.otf ${FONTDIR}
.include <bsd.port.mk>