git: 2b2fde0036c1 - main - korean/nanumfonts: remove flavors to fix PKGNAME collision
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 11 Feb 2022 16:19:58 UTC
The branch main has been updated by antoine:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2b2fde0036c1009ac941e6675f33edf033594c3f
commit 2b2fde0036c1009ac941e6675f33edf033594c3f
Author: Antoine Brodin <antoine@FreeBSD.org>
AuthorDate: 2022-02-11 16:19:08 +0000
Commit: Antoine Brodin <antoine@FreeBSD.org>
CommitDate: 2022-02-11 16:19:42 +0000
korean/nanumfonts: remove flavors to fix PKGNAME collision
---
korean/nanumfonts/Makefile.common | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/korean/nanumfonts/Makefile.common b/korean/nanumfonts/Makefile.common
index 25506cc77cb2..30205cfeec60 100644
--- a/korean/nanumfonts/Makefile.common
+++ b/korean/nanumfonts/Makefile.common
@@ -6,14 +6,15 @@ MASTER_SITES= https://hangeul.naver.com/hangeul_static/webfont/zips/ \
DISTNAME?= ${PORTNAME}${PKGNAMESUFFIX}
DIST_SUBDIR= ${PORTNAME}/${DISTVERSION}
-COMMENT= ${FONTDESC} Hangul fonts (${FLAVOR:tu})
+COMMENT= ${FONTDESC} Hangul fonts (${WEBFONT:tu})
MAINTAINER= jkim@FreeBSD.org
LICENSE= OFL11
LICENSE_FILE= ${FILESDIR}/LICENSE
-FLAVORS= otf ttf
-FLAVOR?= ${FLAVORS:[2]}
+#FLAVORS= otf ttf
+#FLAVOR?= ${FLAVORS:[2]}
+WEBFONT= ttf
DESCR= ${.CURDIR}/../../korean/nanumfonts/pkg-descr
FILESDIR= ${.CURDIR}/../../korean/nanumfonts/files
@@ -23,7 +24,7 @@ USES= fonts zip
do-install:
${MKDIR} ${STAGEDIR}${FONTSDIR}
- ${INSTALL_DATA} ${WRKSRC}/*.${FLAVOR} ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.${WEBFONT} ${STAGEDIR}${FONTSDIR}
@${FIND} ${STAGEDIR}${FONTSDIR} -not -type d | ${SORT} | \
${SED} -e 's|^${STAGEDIR}${PREFIX}/||' >> ${TMPPLIST}