svn commit: r442331 - head/textproc/UCD
Thierry Thomas
thierry at FreeBSD.org
Thu Jun 1 20:36:39 UTC 2017
Author: thierry
Date: Thu Jun 1 20:36:38 2017
New Revision: 442331
URL: https://svnweb.freebsd.org/changeset/ports/442331
Log:
Adding Unihan.zip to satisfy Gucharmap and replace misc/unicode-ucd.
It can be optionally disabled.
Modified:
head/textproc/UCD/Makefile
head/textproc/UCD/distinfo
head/textproc/UCD/pkg-plist (contents, props changed)
Modified: head/textproc/UCD/Makefile
==============================================================================
--- head/textproc/UCD/Makefile Thu Jun 1 20:22:18 2017 (r442330)
+++ head/textproc/UCD/Makefile Thu Jun 1 20:36:38 2017 (r442331)
@@ -3,6 +3,7 @@
PORTNAME= UCD
PORTVERSION= 9.0.0
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://www.unicode.org/Public/zipped/${PORTVERSION}/:src\
ftp://www.unicode.org/Public/zipped/${PORTVERSION}/:src \
@@ -20,14 +21,29 @@ LICENSE_NAME= Unicode License Agreement
LICENSE_FILE= ${_DISTDIR}/copyright.html
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+OPTIONS_DEFINE= HAN
+OPTIONS_DEFAULT=HAN
+OPTIONS_SUB= yes
+HAN_DESC= Unified Han database of Hanzi/Kanji/Hanja Chinese characters
+
NO_ARCH= yes
NO_BUILD= yes
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MHAN}
+DISTFILES+= Unihan.zip:src
+.endif
+
DATADIR= ${PREFIX}/share/unicode/ucd
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${STAGEDIR}${DATADIR} && \
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${PORTNAME}.zip ${EXTRACT_AFTER_ARGS})
+.if ${PORT_OPTIONS:MHAN}
+ (cd ${STAGEDIR}${DATADIR} && \
+ ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/Unihan.zip ${EXTRACT_AFTER_ARGS})
+.endif
.include <bsd.port.mk>
Modified: head/textproc/UCD/distinfo
==============================================================================
--- head/textproc/UCD/distinfo Thu Jun 1 20:22:18 2017 (r442330)
+++ head/textproc/UCD/distinfo Thu Jun 1 20:36:38 2017 (r442331)
@@ -1,5 +1,7 @@
-TIMESTAMP = 1488121877
+TIMESTAMP = 1496348753
SHA256 (UCD-9.0.0/UCD.zip) = df9e028425816fd5117eaea7173704056f88f7cd030681e457c6f3827f9390ec
SIZE (UCD-9.0.0/UCD.zip) = 5655592
SHA256 (UCD-9.0.0/copyright.html) = 6e1ac9056574635b40b6d198f09ec063e4cece2c7295593f10194cac9b23f8a5
SIZE (UCD-9.0.0/copyright.html) = 16571
+SHA256 (UCD-9.0.0/Unihan.zip) = 6afdd48fb3c5d79a527ed27ce2582b2f684c09e16f5d0837fe7e5b0204f46362
+SIZE (UCD-9.0.0/Unihan.zip) = 6558824
Modified: head/textproc/UCD/pkg-plist
==============================================================================
--- head/textproc/UCD/pkg-plist Thu Jun 1 20:22:18 2017 (r442330)
+++ head/textproc/UCD/pkg-plist Thu Jun 1 20:36:38 2017 (r442331)
@@ -38,6 +38,14 @@
%%DATADIR%%/USourceData.txt
%%DATADIR%%/USourceGlyphs.pdf
%%DATADIR%%/UnicodeData.txt
+%%HAN%%%%DATADIR%%/Unihan_DictionaryIndices.txt
+%%HAN%%%%DATADIR%%/Unihan_DictionaryLikeData.txt
+%%HAN%%%%DATADIR%%/Unihan_IRGSources.txt
+%%HAN%%%%DATADIR%%/Unihan_NumericValues.txt
+%%HAN%%%%DATADIR%%/Unihan_OtherMappings.txt
+%%HAN%%%%DATADIR%%/Unihan_RadicalStrokeCounts.txt
+%%HAN%%%%DATADIR%%/Unihan_Readings.txt
+%%HAN%%%%DATADIR%%/Unihan_Variants.txt
%%DATADIR%%/auxiliary/GraphemeBreakProperty.txt
%%DATADIR%%/auxiliary/GraphemeBreakTest.html
%%DATADIR%%/auxiliary/GraphemeBreakTest.txt
More information about the svn-ports-head
mailing list