diff options
author | Dima Panov <fluffy@FreeBSD.org> | 2009-12-21 16:45:13 +0000 |
---|---|---|
committer | Dima Panov <fluffy@FreeBSD.org> | 2009-12-21 16:45:13 +0000 |
commit | 80e659b64f141f8fe1715c9555cba56bf8ae208d (patch) | |
tree | 93e199f6196efe8c8788ec9a2d463f333032d2cc /editors/koffice-kde4-l10n/Makefile | |
parent | 57baf6eab63e403c93fe6107d20b65a24b4ca635 (diff) | |
download | ports-80e659b64f141f8fe1715c9555cba56bf8ae208d.tar.gz ports-80e659b64f141f8fe1715c9555cba56bf8ae208d.zip |
Notes
Diffstat (limited to 'editors/koffice-kde4-l10n/Makefile')
-rw-r--r-- | editors/koffice-kde4-l10n/Makefile | 81 |
1 files changed, 46 insertions, 35 deletions
diff --git a/editors/koffice-kde4-l10n/Makefile b/editors/koffice-kde4-l10n/Makefile index 1bd01dca124a..c2ec97e03d6f 100644 --- a/editors/koffice-kde4-l10n/Makefile +++ b/editors/koffice-kde4-l10n/Makefile @@ -1,48 +1,59 @@ -# New ports collection makefile for: koffice-i18n -# Date created: 27 April 2003 -# Whom: Michael Nottebrock <michaelnottebrock@gmx.net> +# New ports collection makefile for: koffice-kde4-l10n +# Date created: 28 November 2009 +# Whom: Dima Panov <fluffy@FreeBSD.org> # # $FreeBSD$ # -PORTNAME= koffice-i18n -PORTVERSION= 1.6.3 -PORTREVISION= 1 -CATEGORIES= editors kde +PORTNAME= koffice-l10n +PORTVERSION= ${KOFFICE2_VERSION} +CATEGORIES= misc kde MASTER_SITES= # none DISTFILES= # none EXTRACT_ONLY= # none MAINTAINER= kde@FreeBSD.org -COMMENT= Localized messages and documentation for KDE - -RUN_DEPENDS+=\ - ${LOCALBASE}/share/locale/km/LC_MESSAGES/example.mo:${PORTSDIR}/editors/koffice-i18n-km\ - ${LOCALBASE}/share/locale/ar/LC_MESSAGES/kword.mo:${PORTSDIR}/arabic/koffice-i18n\ - ${LOCALBASE}/share/locale/de/LC_MESSAGES/kword.mo:${PORTSDIR}/german/koffice-i18n\ - ${LOCALBASE}/share/locale/fr/LC_MESSAGES/kword.mo:${PORTSDIR}/french/koffice-i18n\ - ${LOCALBASE}/share/locale/hu/LC_MESSAGES/kword.mo:${PORTSDIR}/hungarian/koffice-i18n\ - ${LOCALBASE}/share/locale/he/LC_MESSAGES/kword.mo:${PORTSDIR}/hebrew/koffice-i18n\ - ${LOCALBASE}/share/locale/ja/LC_MESSAGES/kword.mo:${PORTSDIR}/japanese/koffice-i18n\ - ${LOCALBASE}/share/locale/pl/LC_MESSAGES/kword.mo:${PORTSDIR}/polish/koffice-i18n\ - ${LOCALBASE}/share/locale/pt/LC_MESSAGES/kword.mo:${PORTSDIR}/portuguese/koffice-i18n\ - ${LOCALBASE}/share/locale/pt_BR/LC_MESSAGES/kword.mo:${PORTSDIR}/portuguese/koffice-i18n-pt_BR\ - ${LOCALBASE}/share/locale/ru/LC_MESSAGES/kword.mo:${PORTSDIR}/russian/koffice-i18n\ - ${LOCALBASE}/share/locale/sr@Latn/LC_MESSAGES/kword.mo:${PORTSDIR}/editors/koffice-i18n-sr_Latn \ - ${LOCALBASE}/share/locale/uk/LC_MESSAGES/kword.mo:${PORTSDIR}/ukrainian/koffice-i18n\ - ${LOCALBASE}/share/locale/zh_CN/LC_MESSAGES/kword.mo:${PORTSDIR}/chinese/koffice-i18n-zh_CN \ - ${LOCALBASE}/share/locale/zh_TW/LC_MESSAGES/kword.mo:${PORTSDIR}/chinese/koffice-i18n-zh_TW - -.for LANG in af bg br bs ca cs cy da el en_GB eo es et eu fa fi ga gl hi hsb is it \ - lo lt lv mk ms mt nb nl nn ro se sk sl sr sv ta tg th tr uz ven xh zu -RUN_DEPENDS+=\ -${LOCALBASE}/share/locale/${LANG}/LC_MESSAGES/kword.mo:${PORTSDIR}/editors/koffice-i18n-${LANG} -.endfor +COMMENT= Localized messages and documentation for KOffice2 -USE_KDELIBS_VER=3 NO_BUILD= yes -KDE_I18N= yes +# NO_INSTALL= yes +USE_KDE4= kdeprefix + +KOFFICE2_LANG_ALL= ca da de el en_GB es et fr fy gl hne it ja kk \ + nb nds nl pl pt pt_BR sv tr uk wa zh_CN zh_TW + +de_PORT= german/koffice-kde4-l10n +fr_PORT= french/koffice-kde4-l10n +ja_PORT= japanese/koffice-kde4-l10n +pl_PORT= polish/koffice-kde4-l10n +pt_BR_PORT= portuguese/koffice-kde4-l10n-pt_BR +pt_PORT= portuguese/koffice-kde4-l10n +uk_PORT= ukrainian/koffice-kde4-l10n +zh_CN_PORT= chinese/koffice-kde4-l10n-zh_CN +zh_TW_PORT= chinese/koffice-kde4-l10n-zh_TW + +.include <${.CURDIR}/../../misc/kde4-l10n/files/kde4-lang-names> + +.for lang in ${KOFFICE2_LANG_ALL} +${lang}_DETECT?= ${KDE4_PREFIX}/share/locale/${lang}/LC_MESSAGES/koffice.mo +${lang}_PORT?= editors/koffice-kde4-l10n-${lang} +${lang}_NAME?= ${lang} +.endfor + +OPTIONS= ALL "All localizations" on +.for lang in ${KOFFICE2_LANG_ALL} +OPTIONS+= ${lang} "${${lang}_NAME} localization" off +.endfor + +.include <bsd.port.pre.mk> + +.for lang in ${KOFFICE2_LANG_ALL} +.if defined(WITH_ALL) || defined(WITH_${lang}) +RUN_DEPENDS+= ${${lang}_DETECT}:${PORTSDIR}/${${lang}_PORT} +.endif +.endfor -do-install: # none +do-install: + ${DO_NADA} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |