blob: 3fac1d08bb9331ba492a9650ba2ba4fb9fdf1a2f (
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
32
33
34
35
36
|
# New ports collection makefile for: utf8locale
# Date created: 29 June 2002
# Whom: Hye-Shik Chang
#
# $FreeBSD$
#
PORTNAME= utf8locale
PORTVERSION= 1.1
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://people.freebsd.org/~perky/distfiles/
MASTER_SITE_SUBDIR= perky
MAINTAINER= perky@FreeBSD.org
LANGS= en_US ko_KR ja_JP ru_RU zh_CN zh_TW
BASELOCALEDIR= ${DESTDIR}/usr/share/locale
PLIST_SUB= BASELOCALEDIR=${BASELOCALEDIR} \
LANGS="${LANGS}"
.include <bsd.port.pre.mk>
_HAVE_SWIDTH!= ${GREP} _CTYPE_SW ${DESTDIR}/usr/include/ctype.h 2>/dev/null \
|| ${TRUE}
.if empty(_HAVE_SWIDTH)
PKGNAMESUFFIX= -without-swidth
.endif
post-install:
.for lang in ${LANGS}
-${LN} -sf ${PREFIX}/share/locale/${lang}.UTF-8 \
${BASELOCALEDIR}/${lang}.UTF-8
.endfor
.include <bsd.port.post.mk>
|