aboutsummaryrefslogtreecommitdiff
path: root/textproc/CLDR/Makefile
blob: b90fec978062395666935844eeff46ff87d8c548 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
PORTNAME=	CLDR
PORTVERSION=	41.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>