1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
freebsd-ports/misc/qt4-l10n/Makefile
Baptiste Daroussin 5271da855f Rely on bsdtar to autodetermine the format of the distfiles when possible
For a while now bsdtar is able to autotermine compression and archive format.
Let's then use tar directly instead of piping to tar.

Now USE_BZIP2 and USE_XZ only set EXTRACT_SUFX to the right format
2013-04-29 08:57:12 +00:00

25 lines
502 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'
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>