mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
5271da855f
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
25 lines
502 B
Makefile
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>
|