blob: 0e57ab9a581e588b858990c3d0d139baa634e8aa (
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
|
# $FreeBSD$
PORTNAME= l10n
DISTVERSION= ${QT4_VERSION}
CATEGORIES?= misc
PKGNAMEPREFIX= qt4-
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt translations messages
USE_QT4= linguist_build
QT_DIST= yes
QT_NONSTANDARD= yes
EXTRACT_AFTER_ARGS+= | ${TAR} -xf - --include '${DISTNAME}/translations'
do-build:
${LOCALBASE}/bin/lrelease-qt4 ${WRKSRC}/translations/*.ts
do-install:
${MKDIR} ${PREFIX}/share/qt4/translations
${INSTALL_DATA} ${WRKSRC}/translations/*.qm ${PREFIX}/share/qt4/translations
.include <bsd.port.mk>
|