freebsd-ports/misc/qt4-l10n/Makefile
Martin Wilke 9c2f65e395 - Convert USE_QT_VER=4 and QT_COMPONETS to USE_QT4
Review by:	bapt, David Naylor (kde team)
2012-06-06 06:44:37 +00:00

29 lines
639 B
Makefile

# New ports collection makefile for: qt4-l10n
# Date created: 2008-12-13
# Whom: Max Brazhnikov <makc@FreeBSD.org>
#
# $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>