pkgsrc/textproc/unicode-character-database/Makefile
tsutsui fda767c3ce unicode-character-database: update to 11.0.0.
No upstream changelog for UCD itself, but updated for new Unicode 11.0:
 http://blog.unicode.org/2018/06/announcing-unicode-standard-version-110.html.

Announcing The Unicode(R) Standard, Version 11.0

 Version 11.0 of the Unicode Standard is now available, both the core
 specification and data files.

 Version 11.0 adds 684 characters, for a total of 137,374 characters.
 These additions include seven new scripts, for a total of 146 scripts,
 as well as 145 new emoji.
2018-08-12 11:43:44 +00:00

33 lines
866 B
Makefile

# $NetBSD: Makefile,v 1.2 2018/08/12 11:43:44 tsutsui Exp $
UCD_VERSION= 11.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
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"