pkgsrc/textproc/unicode-character-database/Makefile
tsutsui 54f2f808a8 unicode-character-database: update to 13.0.0.
Note the following two unicode-emoji files:
 emoji-data.txt
 emoji-variation-sequences.txt
have been moved from emoji dir (included in unicode-emoji package):
 https://unicode.org/Public/emoji/${EMOJI_VERSION}/
to ucd dir (included in unicode-character-database package):
 https://unicode.org/Public/${UCD_VERSION}/ucd/emoji/

Upstream changes:

13.0.0:
 http://www.unicode.org/versions/Unicode13.0.0/

 Unicode 13.0 adds 5,930 characters, for a total of 143,859 characters.
 These additions include 4 new scripts, for a total of 154 scripts,
 as well as 55 new emoji characters.
2020-10-03 15:41:30 +00:00

34 lines
882 B
Makefile

# $NetBSD: Makefile,v 1.5 2020/10/03 15:41:30 tsutsui Exp $
UCD_VERSION= 13.0.0
DISTNAME= unicode-character-database-${UCD_VERSION}
CATEGORIES= textproc
MASTER_SITES= http://www.unicode.org/Public/zipped/${UCD_VERSION}/
DIST_SUBDIR= ${PKGNAME_NOREV}
DISTFILES= UCD.zip
DISTFILES+= Unihan.zip
MAINTAINER= tsutsui@NetBSD.org
HOMEPAGE= https://www.unicode.org/ucd/
COMMENT= Unicode Character Database
LICENSE= unicode
USE_LANGUAGES= # none
USE_TOOLS+= pax
NO_BUILD= YES
NO_CONFIGURE= YES
EXTRACT_DIR= ${WRKDIR}/${DISTNAME}
UCDDIR= ${PREFIX}/share/unicode/ucd
INSTALLATION_DIRS= ${UCDDIR}
do-install:
cd ${EXTRACT_DIR} && pax -rwpp -s '/.*\.orig//' . ${DESTDIR}${UCDDIR}
for _f in ${DISTFILES}; do \
${INSTALL_DATA} ${_DISTDIR}/$${_f} ${DESTDIR}${UCDDIR}; \
done
${FIND} ${DESTDIR}${UCDDIR} \
-type f -exec ${CHMOD} ${SHAREMODE} {} \;
.include "../../mk/bsd.pkg.mk"