blob: ef56f99e743ba09c9a5021d434fa74a2955f0ffc (
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
|
PORTNAME= d2coding
PORTVERSION= 1.3.2
CATEGORIES= korean x11-fonts
MASTER_SITES= https://github.com/naver/d2codingfont/releases/download/VER${PORTVERSION}/ \
LOCAL/jkim
PKGNAMESUFFIX= -ttf
DISTNAME= D2Coding-Ver${PORTVERSION}-${PORTRELEASE}
MAINTAINER= jkim@FreeBSD.org
COMMENT= D2Coding Hangul font
LICENSE= OFL11
NO_ARCH= yes
NO_BUILD= yes
USES= fonts zip
FONTLIST= D2Coding D2CodingLigature
FONTFILES= ${FONTLIST:S|$|.ttf|} ${FONTLIST:S|$|Bold.ttf|}
PLIST_FILES= ${FONTFILES:S|^|${FONTSDIR}/|}
PORTRELEASE= 20180524
do-install:
${MKDIR} ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${WRKDIR}/D2Coding/${DISTNAME}.ttf \
${STAGEDIR}${FONTSDIR}/D2Coding.ttf
${INSTALL_DATA} ${WRKDIR}/D2Coding/${DISTNAME:S|^D2Coding|D2CodingBold|}.ttf \
${STAGEDIR}${FONTSDIR}/D2CodingBold.ttf
${INSTALL_DATA} ${WRKDIR}/D2CodingLigature/${DISTNAME}-ligature.ttf \
${STAGEDIR}${FONTSDIR}/D2CodingLigature.ttf
${INSTALL_DATA} ${WRKDIR}/D2CodingLigature/${DISTNAME:S|^D2Coding|D2CodingBold|}-ligature.ttf \
${STAGEDIR}${FONTSDIR}/D2CodingLigatureBold.ttf
.include <bsd.port.mk>
|