1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/www/fira-webfont/Makefile
Raphael Kubo da Costa 918d7f21d8 Simplify LICENSE for the Fira fonts.
We have OFL11 in the database, so there's no need to set all those LICENSE
parameters manually.
2014-01-21 20:47:06 +00:00

45 lines
1.1 KiB
Makefile

# Created by: Horia Racoviceanu <horia@racoviceanu.com>
# $FreeBSD$
PORTNAME= fira
PORTVERSION= 1.0
CATEGORIES= www
PKGNAMESUFFIX= -webfont
MAINTAINER= horia@racoviceanu.com
COMMENT= Sans-serif and monospaced Web Font for small screens
LICENSE= OFL11
USE_GITHUB= yes
GH_ACCOUNT= mozilla
GH_PROJECT= Fira
GH_TAGNAME= ${GH_COMMIT}
GH_COMMIT= 705ffff
NO_BUILD= yes
PORTDOCS= README.md
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
OPTIONS_DEFINE= DOCS
SUB_FILES= pkg-message
PLIST_SUB= WWWDIR_REL=${WWWDIR_REL}
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
${INSTALL_DATA} ${WRKSRC}/index.html ${STAGEDIR}${WWWDIR}
${INSTALL_DATA} ${WRKSRC}/fira.css ${STAGEDIR}${WWWDIR}
@${MKDIR} ${STAGEDIR}${WWWDIR}/eot
${INSTALL_DATA} ${WRKSRC}/eot/${GH_PROJECT}*.eot ${STAGEDIR}${WWWDIR}/eot/
@${MKDIR} ${STAGEDIR}${WWWDIR}/ttf
${INSTALL_DATA} ${WRKSRC}/ttf/${GH_PROJECT}*.ttf ${STAGEDIR}${WWWDIR}/ttf/
@${MKDIR} ${STAGEDIR}${WWWDIR}/woff
${INSTALL_DATA} ${WRKSRC}/woff/${GH_PROJECT}*.woff ${STAGEDIR}${WWWDIR}/woff/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>