Changeset View
Changeset View
Standalone View
Standalone View
x11-fonts/google-fonts/Makefile
- This file was added.
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# $FreeBSD$ | |||||
PORTNAME= google-fonts | |||||
DISTVERSION= 0.0.0.20171112 | |||||
CATEGORIES= x11-fonts | |||||
MAINTAINER= dg@syrec.org | |||||
COMMENT= Collection of freely redistributable TrueType fonts from Google | |||||
LICENSE= APACHE20 OFL11 | |||||
LICENSE_COMB= multi | |||||
RUN_DEPENDS= anonymous-pro>0:x11-fonts/anonymous-pro \ | |||||
comfortaa-ttf>0:x11-fonts/comfortaa-ttf \ | |||||
tcberner: wouldn't it make more sense to add the rest of them also separately, and have this one as a… | |||||
Done Inline ActionsOk, I will ask the original submitter. yuri: Ok, I will ask the original submitter.
| |||||
Done Inline ActionsHe says that there are over 800 font families. He created these RUN_DEPENDS to avoid duplication with preexisting ports that happened to exist for some individual ones. yuri: He says that there are over 800 font families. He created these RUN_DEPENDS to avoid… | |||||
croscorefonts>0:x11-fonts/croscorefonts-fonts-ttf \ | |||||
noto>0:x11-fonts/noto \ | |||||
roboto-fonts-ttf>0:x11-fonts/roboto-fonts-ttf \ | |||||
sourcecodepro-ttf>0:x11-fonts/sourcecodepro-ttf \ | |||||
sourcesanspro-ttf>0:x11-fonts/sourcesanspro-ttf \ | |||||
sourceserifpro-ttf>0:x11-fonts/sourceserifpro-ttf \ | |||||
ubuntu-font>0:x11-fonts/ubuntu-font \ | |||||
vollkorn-ttf>0:x11-fonts/vollkorn-ttf | |||||
USES= fonts | |||||
NO_ARCH= yes | |||||
NO_BUILD= yes | |||||
USE_GITHUB= yes | |||||
GH_ACCOUNT= google | |||||
GH_PROJECT= fonts | |||||
GH_TAGNAME= a16b830 | |||||
SUB_FILES= pkg-message | |||||
OPTIONS_DEFINE= DOCS | |||||
# These font families are installed by the RUN_DEPENDS above. | |||||
EXCLUSIONS= ofl/anonymous-pro \ | |||||
ofl/comfortaa \ | |||||
apache/arimo \ | |||||
apache/cousine \ | |||||
apache/tinos \ | |||||
ofl/notosans \ | |||||
ofl/notosanstamil \ | |||||
ofl/notoserif \ | |||||
apache/roboto \ | |||||
apache/robotocondensed \ | |||||
ofl/sourcecodepro \ | |||||
ofl/sourcesanspro \ | |||||
ofl/sourceserifpro \ | |||||
ufl/* \ | |||||
ofl/vollkorn | |||||
do-install: | |||||
@${MKDIR} ${STAGEDIR}${FONTSDIR} | |||||
(cd ${WRKSRC} && ${RM} -r ${EXCLUSIONS}) | |||||
${FIND} ${WRKSRC} -name \*.ttf -exec ${INSTALL_DATA} {} ${STAGEDIR}${FONTSDIR} \; | |||||
do-install-DOCS-on: | |||||
for dir in $$(${FIND} ${WRKSRC} -name \*.ttf -exec ${DIRNAME} {} \; | ${SORT} -u); do \ | |||||
family=$$(basename $${dir}); \ | |||||
${MKDIR} ${STAGEDIR}${DOCSDIR}/$${family}; \ | |||||
Done Inline ActionsThis should go simpler [tm] tcberner: This should go simpler [tm] | |||||
Done Inline ActionsWhat do you mean by simpler? -) yuri: What do you mean by simpler? -) | |||||
${FIND} $${dir} \( -name \*.txt -o -name \*.html \) -exec \ | |||||
${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/$${family} \; ; \ | |||||
done | |||||
.include <bsd.port.mk> |
wouldn't it make more sense to add the rest of them also separately, and have this one as a metaport?