aboutsummaryrefslogtreecommitdiff
path: root/misc/qt4-l10n/Makefile
blob: 22bb5eabd570bd9db0c01035db733856ddc38119 (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
# $FreeBSD$

PORTNAME=	l10n
DISTVERSION=	${QT4_VERSION}
CATEGORIES=	misc
PKGNAMEPREFIX=	qt4-

MAINTAINER=	kde@FreeBSD.org
COMMENT=	Qt localized messages

USE_QT4=	linguisttools_build
QT_DIST=	yes

EXTRACT_AFTER_ARGS+=	--include '${DISTNAME}/src/corelib' \
			'${DISTNAME}/translations'

EXTRA_PATCHES=	# empty

do-build:
	${QT_BINDIR}/lrelease${_QT_BINSUFX} ${WRKSRC}/translations/*.ts

do-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/${QT_L10NDIR_REL}
	${INSTALL_DATA} ${WRKSRC}/translations/*.qm ${STAGEDIR}${PREFIX}/${QT_L10NDIR_REL}

.include <bsd.port.mk>