Lines 1-34
Link Here
|
1 |
PORTNAME= bizud-mincho |
1 |
PORTNAME= bizud-mincho |
2 |
DISTVERSIONPREFIX= v |
|
|
3 |
DISTVERSION= 1.06 |
2 |
DISTVERSION= 1.06 |
4 |
CATEGORIES= japanese x11-fonts |
3 |
CATEGORIES= japanese x11-fonts |
|
|
4 |
MASTER_SITES= https://github.com/googlefonts/morisawa-biz-ud-mincho/releases/download/v${DISTVERSION}/ |
5 |
PKGNAMEPREFIX= ja-font- |
5 |
PKGNAMEPREFIX= ja-font- |
|
|
6 |
DISTNAME= morisawa-biz-ud-mincho-fonts |
7 |
EXTRACT_SUFX= .zip |
8 |
DIST_SUBDIR= ${PORTNAME}/${DISTVERSION} |
6 |
|
9 |
|
7 |
MAINTAINER= mew14930xvi@inbox.lv |
10 |
MAINTAINER= mew14930xvi@inbox.lv |
8 |
COMMENT= Morisawa BIZ UD Mincho fonts |
11 |
COMMENT= Morisawa BIZ UD Mincho fonts |
9 |
WWW= https://github.com/googlefonts/morisawa-biz-ud-mincho |
12 |
WWW= https://github.com/googlefonts/morisawa-biz-ud-mincho |
10 |
|
13 |
|
11 |
LICENSE= OFL11 |
14 |
LICENSE= OFL11 |
12 |
LICENSE_FILE= ${WRKSRC}/OFL.txt |
|
|
13 |
|
15 |
|
14 |
USES= fonts:fc |
16 |
USES= fonts:fc |
15 |
FONTPATHSPEC= ${FONTNAME}:pri=60 |
17 |
|
|
|
18 |
EXTRACT_AFTER_ARGS= --include morisawa-biz-ud-mincho-fonts/fonts/ttf/*.ttf \ |
19 |
--strip-components 3 \ |
20 |
--no-same-owner --no-same-permissions |
21 |
|
16 |
NO_ARCH= yes |
22 |
NO_ARCH= yes |
17 |
NO_BUILD= yes |
23 |
NO_BUILD= yes |
|
|
24 |
NO_WRKSUBDIR= yes |
25 |
|
26 |
FONTPATHSPEC= ${FONTNAME}:pri=60 |
18 |
PKGINSTALL= ${WRKDIR}/pkg-install |
27 |
PKGINSTALL= ${WRKDIR}/pkg-install |
19 |
PKGDEINSTALL= ${WRKDIR}/pkg-install |
28 |
PKGDEINSTALL= ${WRKDIR}/pkg-install |
20 |
SUB_FILES= pkg-install |
29 |
SUB_FILES= pkg-install |
21 |
PORTDOCS= AUTHORS.txt CONTRIBUTORS.txt README.md |
|
|
22 |
|
23 |
USE_GITHUB= yes |
24 |
GH_ACCOUNT= googlefonts |
25 |
GH_PROJECT= morisawa-biz-ud-mincho |
26 |
|
27 |
OPTIONS_DEFINE= DOCS |
28 |
|
30 |
|
29 |
do-install: |
31 |
do-install: |
30 |
@${MKDIR} ${STAGEDIR}${FONTSDIR} |
32 |
@${MKDIR} ${STAGEDIR}${FONTSDIR} |
31 |
${INSTALL_DATA} ${WRKSRC}/fonts/ttf/* ${STAGEDIR}${FONTSDIR} |
33 |
${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${FONTSDIR} |
32 |
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/fonts/conf.avail \ |
34 |
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/fonts/conf.avail \ |
33 |
${STAGEDIR}${PREFIX}/etc/fonts/conf.d |
35 |
${STAGEDIR}${PREFIX}/etc/fonts/conf.d |
34 |
${INSTALL_DATA} ${FILESDIR}/20-unhint-${FONTNAME}.conf \ |
36 |
${INSTALL_DATA} ${FILESDIR}/20-unhint-${FONTNAME}.conf \ |
Lines 39-46
do-install:
Link Here
|
39 |
${LN} -s -f ../conf.avail/62-fonts-${FONTNAME}.conf \ |
41 |
${LN} -s -f ../conf.avail/62-fonts-${FONTNAME}.conf \ |
40 |
${STAGEDIR}${PREFIX}/etc/fonts/conf.d/62-fonts-${FONTNAME}.conf |
42 |
${STAGEDIR}${PREFIX}/etc/fonts/conf.d/62-fonts-${FONTNAME}.conf |
41 |
|
43 |
|
42 |
post-install-DOCS-on: |
|
|
43 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
44 |
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} |
45 |
|
46 |
.include <bsd.port.mk> |
44 |
.include <bsd.port.mk> |