1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/korean/d2coding-ttf/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

36 lines
1.1 KiB
Makefile

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>