mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
abf3649244
Replace the file copyright.html by license.html: it is best suited for our needs, and it is expected to be more stable. PR: 253914 Reported by: mandree
50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
# Created by: Thierry Thomas <thierry@pompo.net>
|
|
|
|
PORTNAME= UCD
|
|
PORTVERSION= 13.0.0
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://www.unicode.org/Public/zipped/${PORTVERSION}/:src\
|
|
ftp://www.unicode.org/Public/zipped/${PORTVERSION}/:src \
|
|
http://www.unicode.org/:lic
|
|
DISTFILES= ${PORTNAME}.zip:src \
|
|
license.html:lic
|
|
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
|
|
EXTRACT_ONLY=
|
|
|
|
MAINTAINER= thierry@FreeBSD.org
|
|
COMMENT= Unicode Character Database
|
|
|
|
LICENSE= Unicode_License_Agreement
|
|
LICENSE_NAME= Unicode License Agreement
|
|
LICENSE_FILE= ${_DISTDIR}/license.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})
|
|
# Gucharmap also needs this zipfile
|
|
${INSTALL_DATA} ${_DISTDIR}/Unihan.zip ${STAGEDIR}${DATADIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|