aboutsummaryrefslogtreecommitdiff
path: root/misc/qt4-l10n
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2010-01-21 21:13:21 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2010-01-21 21:13:21 +0000
commit43902f6ecc0189b88ec79a03b8b0b39425aa18dd (patch)
tree5b488e99af499ef5ed89d0b90cc3f0f14b1f1ad4 /misc/qt4-l10n
parent5534788943950923c05e59a02337cde792233450 (diff)
downloadports-43902f6ecc0189b88ec79a03b8b0b39425aa18dd.tar.gz
ports-43902f6ecc0189b88ec79a03b8b0b39425aa18dd.zip
Notes
Diffstat (limited to 'misc/qt4-l10n')
-rw-r--r--misc/qt4-l10n/Makefile15
-rw-r--r--misc/qt4-l10n/pkg-descr2
-rw-r--r--misc/qt4-l10n/pkg-plist127
3 files changed, 70 insertions, 74 deletions
diff --git a/misc/qt4-l10n/Makefile b/misc/qt4-l10n/Makefile
index 3a1c3b76cd9f..99e5783be075 100644
--- a/misc/qt4-l10n/Makefile
+++ b/misc/qt4-l10n/Makefile
@@ -7,25 +7,24 @@
PORTNAME= l10n
PORTVERSION= ${QT4_VERSION}
-PORTREVISION= 0
CATEGORIES?= misc
-MASTER_SITES= ${MASTER_SITE_QT}
PKGNAMEPREFIX= qt4-
-DISTNAME= qt-x11-opensource-src-${PORTVERSION}
-DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt translations messages
USE_QT_VER= 4
-QT_COMPONENTS= #dummy
-NO_BUILD= yes
-MD5_FILE= ${PORTSDIR}/devel/qt4/distinfo
+QT_COMPONENTS= 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/*.ts ${PREFIX}/share/qt4/translations
+ ${INSTALL_DATA} ${WRKSRC}/translations/*.qm ${PREFIX}/share/qt4/translations
.include <bsd.port.mk>
diff --git a/misc/qt4-l10n/pkg-descr b/misc/qt4-l10n/pkg-descr
index efc79b9aaf24..36bc69717e98 100644
--- a/misc/qt4-l10n/pkg-descr
+++ b/misc/qt4-l10n/pkg-descr
@@ -9,4 +9,4 @@ the application programmer with a single, common API for all operating systems.
The native C APIs are encapsulated in a set of well-designed, fully
object-oriented C++ classes.
-WWW: http://www.trolltech.com/products/qt/index.html
+WWW: http://qt.nokia.com/products/qt/index.html
diff --git a/misc/qt4-l10n/pkg-plist b/misc/qt4-l10n/pkg-plist
index 69f266b8431f..ce1cb00668ba 100644
--- a/misc/qt4-l10n/pkg-plist
+++ b/misc/qt4-l10n/pkg-plist
@@ -1,66 +1,63 @@
-share/qt4/translations/assistant_adp_de.ts
-share/qt4/translations/assistant_adp_ja.ts
-share/qt4/translations/assistant_adp_pl.ts
-share/qt4/translations/assistant_adp_ru.ts
-share/qt4/translations/assistant_adp_untranslated.ts
-share/qt4/translations/assistant_adp_zh_CN.ts
-share/qt4/translations/assistant_adp_zh_TW.ts
-share/qt4/translations/assistant_da.ts
-share/qt4/translations/assistant_de.ts
-share/qt4/translations/assistant_ja.ts
-share/qt4/translations/assistant_pl.ts
-share/qt4/translations/assistant_ru.ts
-share/qt4/translations/assistant_untranslated.ts
-share/qt4/translations/assistant_zh_CN.ts
-share/qt4/translations/assistant_zh_TW.ts
-share/qt4/translations/designer_de.ts
-share/qt4/translations/designer_ja.ts
-share/qt4/translations/designer_pl.ts
-share/qt4/translations/designer_ru.ts
-share/qt4/translations/designer_untranslated.ts
-share/qt4/translations/designer_zh_CN.ts
-share/qt4/translations/designer_zh_TW.ts
-share/qt4/translations/linguist_de.ts
-share/qt4/translations/linguist_fr.ts
-share/qt4/translations/linguist_ja.ts
-share/qt4/translations/linguist_pl.ts
-share/qt4/translations/linguist_ru.ts
-share/qt4/translations/linguist_untranslated.ts
-share/qt4/translations/linguist_zh_CN.ts
-share/qt4/translations/linguist_zh_TW.ts
-share/qt4/translations/qt_ar.ts
-share/qt4/translations/qt_da.ts
-share/qt4/translations/qt_de.ts
-share/qt4/translations/qt_es.ts
-share/qt4/translations/qt_fr.ts
-share/qt4/translations/qt_help_da.ts
-share/qt4/translations/qt_help_de.ts
-share/qt4/translations/qt_help_ja.ts
-share/qt4/translations/qt_help_pl.ts
-share/qt4/translations/qt_help_ru.ts
-share/qt4/translations/qt_help_untranslated.ts
-share/qt4/translations/qt_help_zh_CN.ts
-share/qt4/translations/qt_help_zh_TW.ts
-share/qt4/translations/qt_iw.ts
-share/qt4/translations/qt_ja_JP.ts
-share/qt4/translations/qt_pl.ts
-share/qt4/translations/qt_pt.ts
-share/qt4/translations/qt_ru.ts
-share/qt4/translations/qt_sk.ts
-share/qt4/translations/qt_sv.ts
-share/qt4/translations/qt_uk.ts
-share/qt4/translations/qt_untranslated.ts
-share/qt4/translations/qt_zh_CN.ts
-share/qt4/translations/qt_zh_TW.ts
-share/qt4/translations/qtconfig_pl.ts
-share/qt4/translations/qtconfig_ru.ts
-share/qt4/translations/qtconfig_untranslated.ts
-share/qt4/translations/qtconfig_zh_CN.ts
-share/qt4/translations/qtconfig_zh_TW.ts
-share/qt4/translations/qvfb_pl.ts
-share/qt4/translations/qvfb_ru.ts
-share/qt4/translations/qvfb_untranslated.ts
-share/qt4/translations/qvfb_zh_CN.ts
-share/qt4/translations/qvfb_zh_TW.ts
+share/qt4/translations/assistant_adp_de.qm
+share/qt4/translations/assistant_adp_ja.qm
+share/qt4/translations/assistant_adp_pl.qm
+share/qt4/translations/assistant_adp_ru.qm
+share/qt4/translations/assistant_adp_zh_CN.qm
+share/qt4/translations/assistant_adp_zh_TW.qm
+share/qt4/translations/assistant_da.qm
+share/qt4/translations/assistant_de.qm
+share/qt4/translations/assistant_fr.qm
+share/qt4/translations/assistant_ja.qm
+share/qt4/translations/assistant_pl.qm
+share/qt4/translations/assistant_ru.qm
+share/qt4/translations/assistant_zh_CN.qm
+share/qt4/translations/assistant_zh_TW.qm
+share/qt4/translations/designer_de.qm
+share/qt4/translations/designer_fr.qm
+share/qt4/translations/designer_ja.qm
+share/qt4/translations/designer_pl.qm
+share/qt4/translations/designer_ru.qm
+share/qt4/translations/designer_sl.qm
+share/qt4/translations/designer_zh_CN.qm
+share/qt4/translations/designer_zh_TW.qm
+share/qt4/translations/linguist_de.qm
+share/qt4/translations/linguist_fr.qm
+share/qt4/translations/linguist_ja.qm
+share/qt4/translations/linguist_pl.qm
+share/qt4/translations/linguist_ru.qm
+share/qt4/translations/linguist_zh_CN.qm
+share/qt4/translations/linguist_zh_TW.qm
+share/qt4/translations/qt_ar.qm
+share/qt4/translations/qt_da.qm
+share/qt4/translations/qt_de.qm
+share/qt4/translations/qt_es.qm
+share/qt4/translations/qt_fr.qm
+share/qt4/translations/qt_help_da.qm
+share/qt4/translations/qt_help_de.qm
+share/qt4/translations/qt_help_fr.qm
+share/qt4/translations/qt_help_ja.qm
+share/qt4/translations/qt_help_pl.qm
+share/qt4/translations/qt_help_ru.qm
+share/qt4/translations/qt_help_zh_CN.qm
+share/qt4/translations/qt_help_zh_TW.qm
+share/qt4/translations/qt_iw.qm
+share/qt4/translations/qt_ja_JP.qm
+share/qt4/translations/qt_pl.qm
+share/qt4/translations/qt_pt.qm
+share/qt4/translations/qt_ru.qm
+share/qt4/translations/qt_sk.qm
+share/qt4/translations/qt_sl.qm
+share/qt4/translations/qt_sv.qm
+share/qt4/translations/qt_uk.qm
+share/qt4/translations/qt_zh_CN.qm
+share/qt4/translations/qt_zh_TW.qm
+share/qt4/translations/qtconfig_pl.qm
+share/qt4/translations/qtconfig_ru.qm
+share/qt4/translations/qtconfig_zh_CN.qm
+share/qt4/translations/qtconfig_zh_TW.qm
+share/qt4/translations/qvfb_pl.qm
+share/qt4/translations/qvfb_ru.qm
+share/qt4/translations/qvfb_zh_CN.qm
+share/qt4/translations/qvfb_zh_TW.qm
@dirrm share/qt4/translations
-@dirrm share/qt4
+@dirrmtry share/qt4