mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
26 lines
516 B
Makefile
26 lines
516 B
Makefile
# $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+= --include '${DISTNAME}/translations'
|
|
|
|
NO_STAGE= yes
|
|
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>
|