Lines 3-24
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= ricty |
4 |
PORTNAME= ricty |
5 |
PORTVERSION= 3.2.4 |
5 |
PORTVERSION= 3.2.4 |
6 |
PORTREVISION= 4 |
6 |
PORTREVISION= 5 |
7 |
CATEGORIES= japanese x11-fonts |
7 |
CATEGORIES= japanese x11-fonts |
|
|
8 |
MASTER_SITES= http://www.rs.tus.ac.jp/yyusa/ricty/ |
8 |
PKGNAMEPREFIX= ja-font- |
9 |
PKGNAMEPREFIX= ja-font- |
|
|
10 |
DISTFILES= ricty_generator-${PORTVERSION}.sh ricty_discord_converter.pe |
11 |
DIST_SUBDIR= ${PORTNAME} |
12 |
EXTRACT_ONLY= # nothing |
9 |
|
13 |
|
10 |
MAINTAINER?= meta+ports@vmeta.jp |
14 |
MAINTAINER?= meta+ports@vmeta.jp |
11 |
COMMENT?= Ricty - fonts for programming |
15 |
COMMENT?= Ricty - fonts for programming |
12 |
|
16 |
|
|
|
17 |
LICENSE= OFL11 |
18 |
|
13 |
BUILD_DEPENDS= ${LOCALBASE}/share/fonts/inconsolata/Inconsolata.otf:x11-fonts/inconsolata-ttf \ |
19 |
BUILD_DEPENDS= ${LOCALBASE}/share/fonts/inconsolata/Inconsolata.otf:x11-fonts/inconsolata-ttf \ |
14 |
${LOCALBASE}/share/fonts/TTF/migu-1m-regular.ttf:japanese/font-migu \ |
20 |
${LOCALBASE}/share/fonts/TTF/migu-1m-regular.ttf:japanese/font-migu \ |
15 |
${LOCALBASE}/share/fonts/TTF/migu-1m-bold.ttf:japanese/font-migu \ |
21 |
${LOCALBASE}/share/fonts/TTF/migu-1m-bold.ttf:japanese/font-migu \ |
16 |
fontforge:print/fontforge |
22 |
fontforge:print/fontforge |
17 |
|
23 |
|
18 |
USES= fonts:fc |
24 |
USES= fonts:fc |
19 |
USE_GITHUB= yes |
|
|
20 |
GH_ACCOUNT= yascentur |
21 |
GH_PROJECT= Ricty |
22 |
|
25 |
|
23 |
NO_PACKAGE= redistribution is not allowed |
26 |
NO_PACKAGE= redistribution is not allowed |
24 |
PKGINSTALL= ${WRKDIR}/pkg-install |
27 |
PKGINSTALL= ${WRKDIR}/pkg-install |
Lines 28-37
Link Here
|
28 |
FONTNAME= TTF |
31 |
FONTNAME= TTF |
29 |
|
32 |
|
30 |
.if !defined(PKGNAMESUFFIX) |
33 |
.if !defined(PKGNAMESUFFIX) |
31 |
OPTIONS_DEFINE= DISCORD DOCS |
34 |
OPTIONS_DEFINE= DISCORD |
32 |
DISCORD_DESC= Install Ricty-Discord |
35 |
DISCORD_DESC= Install Ricty-Discord |
33 |
OPTIONS_DEFAULT= DISCORD |
36 |
OPTIONS_DEFAULT= DISCORD |
34 |
PORTDOCS= README.md |
|
|
35 |
.endif |
37 |
.endif |
36 |
|
38 |
|
37 |
.include <bsd.port.options.mk> |
39 |
.include <bsd.port.options.mk> |
Lines 48-53
Link Here
|
48 |
RUN_DEPENDS+= ${DATADIR}/RictyDiscord-Regular.ttf:japanese/font-ricty-discord |
50 |
RUN_DEPENDS+= ${DATADIR}/RictyDiscord-Regular.ttf:japanese/font-ricty-discord |
49 |
.endif |
51 |
.endif |
50 |
|
52 |
|
|
|
53 |
do-extract: |
54 |
@${MKDIR} ${WRKSRC} |
55 |
@${CP} ${DISTDIR}/${DIST_SUBDIR}/ricty_generator-${PORTVERSION}.sh ${WRKSRC}/ricty_generator.sh |
56 |
@${CP} ${DISTDIR}/${DIST_SUBDIR}/ricty_discord_converter.pe ${WRKSRC}/ricty_discord_patch.pe |
57 |
|
51 |
do-build: |
58 |
do-build: |
52 |
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ |
59 |
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ |
53 |
${SH} ${WRKSRC}/ricty_generator.sh \ |
60 |
${SH} ${WRKSRC}/ricty_generator.sh \ |
Lines 83-91
Link Here
|
83 |
${LN} -s -f ../conf.avail/62-fonts-${PORTNAME}discord.conf \ |
90 |
${LN} -s -f ../conf.avail/62-fonts-${PORTNAME}discord.conf \ |
84 |
${STAGEDIR}${PREFIX}/etc/fonts/conf.d/62-fonts-${PORTNAME}discord.conf |
91 |
${STAGEDIR}${PREFIX}/etc/fonts/conf.d/62-fonts-${PORTNAME}discord.conf |
85 |
.endif |
92 |
.endif |
86 |
.if ${PORT_OPTIONS:MDOCS} && defined(PORTDOCS) |
|
|
87 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |
88 |
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} |
89 |
.endif |
90 |
|
93 |
|
91 |
.include <bsd.port.mk> |
94 |
.include <bsd.port.mk> |