aboutsummaryrefslogtreecommitdiffstats
path: root/misc/localedata/Makefile
blob: b5c4f06c18ae3d8f9da6b769107ce9a7dbd2b210 (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
# Created by: sf
# $FreeBSD$

PORTNAME=   localedata
PORTVERSION=    5.4
PORTREVISION=   2
CATEGORIES= misc
MASTER_SITES=   LOCAL/sf

MAINTAINER= ports@FreeBSD.org
COMMENT=    Legacy locale data for FreeBSD 6+

USES=       tar:bzip2
NO_BUILD=   yes

ONLY_FOR_ARCHS= amd64 ia64 i386 pc98 sparc64

TARGET_DIR= ${PREFIX}/share/compat

WRKSRC=     ${WRKDIR}/${ARCH}

post-extract:
    cd ${WRKDIR}/ia64; ${MV} usr/share/locale .

do-install:
    ${MKDIR} ${STAGEDIR}${TARGET_DIR}
    cd ${WRKSRC} && ${COPYTREE_SHARE} locale ${STAGEDIR}${TARGET_DIR}

.include <bsd.port.mk>