aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2017-06-02 22:53:52 +0800
committerthierry <thierry@FreeBSD.org>2017-06-02 22:53:52 +0800
commit666efda00e669ba7a97a9ba39c44d05a26b77327 (patch)
tree3d2d8f003241654174617be5ab5231118ded5949 /textproc
parent281934daf27b06ec7e0de2e1bd3b728ce8a56ebc (diff)
downloadfreebsd-ports-gnome-666efda00e669ba7a97a9ba39c44d05a26b77327.tar.gz
freebsd-ports-gnome-666efda00e669ba7a97a9ba39c44d05a26b77327.tar.zst
freebsd-ports-gnome-666efda00e669ba7a97a9ba39c44d05a26b77327.zip
Gucharmap also needs the source zipfile.
Reported by: kwm
Diffstat (limited to 'textproc')
-rw-r--r--textproc/UCD/Makefile4
-rw-r--r--textproc/UCD/pkg-plist1
2 files changed, 4 insertions, 1 deletions
diff --git a/textproc/UCD/Makefile b/textproc/UCD/Makefile
index 1cfdaac73cad..fb758afb4cf1 100644
--- a/textproc/UCD/Makefile
+++ b/textproc/UCD/Makefile
@@ -3,7 +3,7 @@
PORTNAME= UCD
PORTVERSION= 9.0.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= http://www.unicode.org/Public/zipped/${PORTVERSION}/:src\
ftp://www.unicode.org/Public/zipped/${PORTVERSION}/:src \
@@ -44,6 +44,8 @@ do-install:
.if ${PORT_OPTIONS:MHAN}
(cd ${STAGEDIR}${DATADIR} && \
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/Unihan.zip ${EXTRACT_AFTER_ARGS})
+ # Gucharmap also needs this zipfile
+ ${INSTALL_DATA} ${_DISTDIR}/Unihan.zip ${STAGEDIR}${DATADIR}
.endif
.include <bsd.port.mk>
diff --git a/textproc/UCD/pkg-plist b/textproc/UCD/pkg-plist
index 083c73439a0d..4f5a5ad3e939 100644
--- a/textproc/UCD/pkg-plist
+++ b/textproc/UCD/pkg-plist
@@ -46,6 +46,7 @@
%%HAN%%%%DATADIR%%/Unihan_RadicalStrokeCounts.txt
%%HAN%%%%DATADIR%%/Unihan_Readings.txt
%%HAN%%%%DATADIR%%/Unihan_Variants.txt
+%%HAN%%%%DATADIR%%/Unihan.zip
%%DATADIR%%/auxiliary/GraphemeBreakProperty.txt
%%DATADIR%%/auxiliary/GraphemeBreakTest.html
%%DATADIR%%/auxiliary/GraphemeBreakTest.txt