aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorlwhsu <lwhsu@FreeBSD.org>2012-08-05 18:34:40 +0800
committerlwhsu <lwhsu@FreeBSD.org>2012-08-05 18:34:40 +0800
commitf4e9f27207262d84acf193ca6777ec019c2210ef (patch)
tree5eea75dd94c57939cbdd58890f19275a7a6999a5 /chinese
parent47a5a8a67ee6d77dadfe44275e3be5896487bbae (diff)
downloadfreebsd-ports-gnome-f4e9f27207262d84acf193ca6777ec019c2210ef.tar.gz
freebsd-ports-gnome-f4e9f27207262d84acf193ca6777ec019c2210ef.tar.zst
freebsd-ports-gnome-f4e9f27207262d84acf193ca6777ec019c2210ef.zip
- Add copyright notice in pkg-message
- Remove RESTRICTED form Makefile - Add LICENSE* and show pkg-message after install - Change distinfo for official font files with built-in license text - Refine pkg-descr - Bump PORTREVISION PR: ports/169596 Submitted by: Hung-te Liang <lhd@cs.nctu.edu.tw> (maintainer)
Diffstat (limited to 'chinese')
-rw-r--r--chinese/CNS11643-font/Makefile12
-rw-r--r--chinese/CNS11643-font/distinfo8
-rw-r--r--chinese/CNS11643-font/pkg-descr3
-rw-r--r--chinese/CNS11643-font/pkg-message5
4 files changed, 21 insertions, 7 deletions
diff --git a/chinese/CNS11643-font/Makefile b/chinese/CNS11643-font/Makefile
index 207fce893313..200e2e33f8a6 100644
--- a/chinese/CNS11643-font/Makefile
+++ b/chinese/CNS11643-font/Makefile
@@ -7,6 +7,7 @@
PORTNAME= CNS11643-font
PORTVERSION= 98.1
+PORTREVISION= 1
CATEGORIES= chinese x11-fonts
MASTER_SITES= http://www.cns11643.gov.tw/AIDB/file.do?path=download/%E5%AD%97%E5%9E%8B%E4%B8%8B%E8%BC%89%601q%60%E5%85%A8%E5%AD%97%E5%BA%AB%E6%AD%A3%E6%A5%B7%E9%AB%94/name/:kai \
http://www.cns11643.gov.tw/AIDB/file.do?path=download/%E5%AD%97%E5%9E%8B%E4%B8%8B%E8%BC%89%601q%60%E5%85%A8%E5%AD%97%E5%BA%AB%E6%AD%A3%E5%AE%8B%E9%AB%94/name/:sung
@@ -16,10 +17,14 @@ EXTRACT_ONLY=
MAINTAINER= lhd@cs.nctu.edu.tw
COMMENT= A combine of Kai and Sung with CNS11643 TrueType Fonts
+LICENSE= CC_BY-ND_3.0_TW
+LICENSE_NAME= Creative Commons Attribution-NoDerivs 3.0 Taiwan License
+LICENSE_TEXT= Description of the license can be obtained from the following URL: http://creativecommons.org/licenses/by-nd/3.0/tw/
+LICENSE_PERMS= ${_LICENSE_PERMS_DEFAULT}
+
DIST_SUBDIR= ${PORTNAME}
NO_WRKSUBDIR= yes
NO_BUILD= yes
-RESTRICTED= No redistribution or commercial use is allowed.
TTF= TW-Kai-98_1.ttf TW-Sung-98_1.ttf
@@ -28,6 +33,11 @@ do-install:
${INSTALL_DATA} ${DISTDIR}/${PORTNAME}/TW-Kai-98_1.ttf ${FONTSDIR}
${INSTALL_DATA} ${DISTDIR}/${PORTNAME}/TW-Sung-98_1.ttf ${FONTSDIR}
+post-install:
+ @${ECHO_CMD} "*******************************************************************************"
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO_CMD} "*******************************************************************************"
+
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/chinese/ttfm/Makefile.ttf"
.include <bsd.port.post.mk>
diff --git a/chinese/CNS11643-font/distinfo b/chinese/CNS11643-font/distinfo
index 93ea4fab93cf..5392dc0d785d 100644
--- a/chinese/CNS11643-font/distinfo
+++ b/chinese/CNS11643-font/distinfo
@@ -1,4 +1,4 @@
-SHA256 (CNS11643-font/TW-Kai-98_1.ttf) = 36f288baeb02ad764b49530f1fea038df9fa09f5d020202f202bea53b3d5ba03
-SIZE (CNS11643-font/TW-Kai-98_1.ttf) = 33390372
-SHA256 (CNS11643-font/TW-Sung-98_1.ttf) = d97e25d402908818a88b627107b7da4f19a651b77eb75c93e7acc736ae0c8495
-SIZE (CNS11643-font/TW-Sung-98_1.ttf) = 19388164
+SHA256 (CNS11643-font/TW-Kai-98_1.ttf) = 90e7807c697df4888d32639b40080bd17df73f45c54b12b5a1d9c889a08af36b
+SIZE (CNS11643-font/TW-Kai-98_1.ttf) = 33391108
+SHA256 (CNS11643-font/TW-Sung-98_1.ttf) = 150b627c558a9a846e2bd6e36d47e38a4fd17ccfa3665da1e94801019af1cf4a
+SIZE (CNS11643-font/TW-Sung-98_1.ttf) = 19388932
diff --git a/chinese/CNS11643-font/pkg-descr b/chinese/CNS11643-font/pkg-descr
index a63e76781e42..b93fcf1c3ede 100644
--- a/chinese/CNS11643-font/pkg-descr
+++ b/chinese/CNS11643-font/pkg-descr
@@ -1,4 +1,3 @@
-These fonts are chinese Unicode fonts which include the following charsets:
-CNS 11643
+These fonts are Chinese Unicode fonts which include the CNS 11643 character set.
WWW: http://www.cns11643.gov.tw/
diff --git a/chinese/CNS11643-font/pkg-message b/chinese/CNS11643-font/pkg-message
new file mode 100644
index 000000000000..a99147374cfe
--- /dev/null
+++ b/chinese/CNS11643-font/pkg-message
@@ -0,0 +1,5 @@
+Copyright (c) 2012 RDEC, Executive Yuan, ROC.
+
+These fonts are licensed under Creative Commons Attribution-NoDerivs 3.0
+Taiwan License, and allowed for redistribution, as long as they are passed
+along unchanged with the original font name and copyright notice.