mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
38 lines
922 B
Makefile
38 lines
922 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= nanumcoding
|
|
PORTVERSION= 2.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= korean
|
|
MASTER_SITES= http://dev.naver.com/frs/download.php/441/ \
|
|
LOCAL/jkim
|
|
PKGNAMESUFFIX= -ttf
|
|
DISTNAME= NanumGothicCoding-${PORTVERSION}
|
|
|
|
MAINTAINER= jkim@FreeBSD.org
|
|
COMMENT= NanumGothic Coding Hangul font (TrueType)
|
|
|
|
LICENSE= OFL11
|
|
|
|
NO_WRKSUBDIR= yes
|
|
NO_BUILD= yes
|
|
USES= fonts zip
|
|
FONTNAME= nanum-coding${PKGNAMESUFFIX}
|
|
FONTLIST= NanumGothicCoding \
|
|
NanumGothicCoding-Bold
|
|
FONTFILES= ${FONTLIST:S/$/.ttf/}
|
|
|
|
PLIST_FILES= ${FONTFILES:S|^|${FONTSDIR}/|}
|
|
|
|
post-extract:
|
|
@# XXX File names are encoded in EUC-KR.
|
|
${MV} ${WRKSRC}/*-Bold.ttf ${WRKSRC}/NanumGothicCoding-Bold.tmp
|
|
${MV} ${WRKSRC}/*.ttf ${WRKSRC}/NanumGothicCoding.ttf
|
|
${MV} ${WRKSRC}/*-Bold.tmp ${WRKSRC}/NanumGothicCoding-Bold.ttf
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${FONTSDIR}
|
|
${INSTALL_DATA} ${FONTFILES:S|^|${WRKSRC}/|} ${STAGEDIR}${FONTSDIR}
|
|
|
|
.include <bsd.port.mk>
|