mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
2d0b5b057a
- Remove header from Makefiles. This release contains a number of important bug fixes to 2.5.0 and we recommend everybody to update. Release notes can be found in the official announcement: http://www.calligra.org/news/calligra-2-5-1-released
57 lines
1.5 KiB
Makefile
57 lines
1.5 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= calligra-l10n
|
|
PORTVERSION= ${CALLIGRA_VERSION}
|
|
CATEGORIES= editors kde
|
|
MASTER_SITES= # none
|
|
DISTFILES= # none
|
|
EXTRACT_ONLY= # none
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Localized messages and documentation for Calligra
|
|
|
|
NO_BUILD= yes
|
|
USE_KDE4= kdeprefix
|
|
|
|
CALLIGRA_LANG_ALL= ca ca@valencia cs da de el en_GB es et fi fr \
|
|
gl hu it ja kk nb nds nl pl pt pt_BR ru sk \
|
|
sv uk zh_CN zh_TW
|
|
|
|
ca@valencia_PORT= editors/calligra-l10n-ca_valencia
|
|
de_PORT= german/calligra-l10n
|
|
fr_PORT= french/calligra-l10n
|
|
hu_PORT= hungarian/calligra-l10n
|
|
ja_PORT= japanese/calligra-l10n
|
|
pl_PORT= polish/calligra-l10n
|
|
pt_PORT= portuguese/calligra-l10n
|
|
pt_BR_PORT= portuguese/calligra-l10n-pt_BR
|
|
ru_PORT= russian/calligra-l10n
|
|
uk_PORT= ukrainian/calligra-l10n
|
|
zh_CN_PORT= chinese/calligra-l10n-zh_CN
|
|
zh_TW_PORT= chinese/calligra-l10n-zh_TW
|
|
|
|
.include "${.CURDIR}/../../misc/kde4-l10n/files/kde4-lang-names"
|
|
nb_NAME= Norwegian Bokmal
|
|
|
|
OPTIONS= ALL "All localizations" on
|
|
.for lang in ${CALLIGRA_LANG_ALL}
|
|
${lang}_DETECT?= ${KDE4_PREFIX}/share/locale/${lang}/LC_MESSAGES/calligra.mo
|
|
${lang}_PORT?= editors/calligra-l10n-${lang}
|
|
${lang}_NAME?= ${lang}
|
|
${lang}_OPTION= ${lang:S/@/_/}
|
|
OPTIONS+= ${${lang}_OPTION} "${${lang}_NAME} localization" off
|
|
.endfor
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.for lang in ${CALLIGRA_LANG_ALL}
|
|
.if defined(WITH_ALL) || defined(WITH_${${lang}_OPTION})
|
|
RUN_DEPENDS+= ${${lang}_DETECT}:${PORTSDIR}/${${lang}_PORT}
|
|
.endif
|
|
.endfor
|
|
|
|
do-install:
|
|
${DO_NADA}
|
|
|
|
.include <bsd.port.mk>
|