blob: 3bc7634677a50cad030048353364e458f728270b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
PORTNAME= plemoljp
PORTVERSION= 1.7.1
PORTREVISION= 0
CATEGORIES= japanese x11-fonts
MASTER_SITES= https://github.com/yuru7/PlemolJP/releases/download/v${PORTVERSION}/
PKGNAMEPREFIX= ja-font-
DISTNAME= PlemolJP_v${DISTVERSION}
MAINTAINER= ume@FreeBSD.org
COMMENT= Plex Mono Language JP
WWW= https://github.com/yuru7/PlemolJP
LICENSE= OFL11
USES= fonts:fc zip
NO_ARCH= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${DISTNAME}
OPTIONS_MULTI= FONT_FAMILY
OPTIONS_MULTI_FONT_FAMILY= PLEMOLJP PLEMOLJP_CONS PLEMOLJP35 PLEMOLJP35_CONS
OPTIONS_DEFAULT= PLEMOLJP PLEMOLJP_CONS PLEMOLJP35 PLEMOLJP35_CONS
PLEMOLJP_DESC= PlemolJP
PLEMOLJP_CONS_DESC= PlemolJP Console
PLEMOLJP35_DESC= PlemolJP35
PLEMOLJP35_CONS_DESC= PlemolJP35 Console
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPLEMOLJP}
FONT_FAMILY+= PlemolJP
.endif
.if ${PORT_OPTIONS:MPLEMOLJP_CONS}
FONT_FAMILY+= PlemolJPConsole
.endif
.if ${PORT_OPTIONS:MPLEMOLJP35}
FONT_FAMILY+= PlemolJP35
.endif
.if ${PORT_OPTIONS:MPLEMOLJP35_CONS}
FONT_FAMILY+= PlemolJP35Console
.endif
do-install:
${MKDIR} ${STAGEDIR}${FONTSDIR}
.for FAMILY in ${FONT_FAMILY}
. for STYLE in Bold BoldItalic ExtraLight ExtraLightItalic Italic \
Light LightItalic Medium MediumItalic Regular \
SemiBold SemiBoldItalic Text TextItalic Thin ThinItalic
${INSTALL_DATA} ${WRKSRC}/${FAMILY}/${FAMILY}-${STYLE}.ttf \
${STAGEDIR}${FONTSDIR}
@${ECHO_CMD} ${FONTSDIR}/${FAMILY}-${STYLE}.ttf >> ${TMPPLIST}
. endfor
.endfor
.include <bsd.port.mk>
|