freebsd-ports/textproc/CLDR/Makefile
2023-09-13 21:40:16 +02:00

31 lines
824 B
Makefile

PORTNAME= CLDR
PORTVERSION= 43.0
CATEGORIES= textproc
MASTER_SITES= https://unicode.org/Public/cldr/${PORTVERSION:R}/:src \
http://www.unicode.org/:lic
DISTFILES= ${SRCFILE}:src \
copyright.html:lic
EXTRACT_ONLY=
MAINTAINER= thierry@FreeBSD.org
COMMENT= Unicode Common Locale Data Repository
WWW= https://cldr.unicode.org/index
LICENSE= Unicode_License_Agreement
LICENSE_NAME= Unicode License Agreement
LICENSE_FILE= ${_DISTDIR}/copyright.html
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
SRCFILE= ${PORTNAME:tl}-common-${PORTVERSION}.zip
NO_ARCH= yes
NO_BUILD= yes
DATADIR= ${PREFIX}/share/unicode/cldr
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${STAGEDIR}${DATADIR} && \
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${SRCFILE} ${EXTRACT_AFTER_ARGS})
.include <bsd.port.mk>