1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00
freebsd-ports/editors/calligra-l10n/Makefile
Raphael Kubo da Costa 9bc55d89bb Convert to USES=metaport.
PR:		201605
Submitted by:	Andriy Voskoboinyk <s3erios@gmail.com>
2015-12-03 17:19:18 +00:00

53 lines
1.4 KiB
Makefile

# $FreeBSD$
PORTNAME= calligra-l10n
PORTVERSION= ${CALLIGRA_VERSION}
PORTREVISION= 3
CATEGORIES= editors kde
MAINTAINER= kde@FreeBSD.org
COMMENT= Localized messages and documentation for Calligra
USES= metaport
USE_KDE4= kdeprefix
CALLIGRA_LANG_ALL= bs ca ca@valencia cs da de el en_GB es et fi fr \
gl hu ia it ja kk nb nds nl pl pt pt_BR ru sk sl \
sv tr uk zh_CN zh_TW
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:H:H}/misc/kde4-l10n/files/kde4-lang-names"
nb_NAME= Norwegian Bokmal
OPTIONS_DEFINE= ALL ${LANG_OPT_ALL}
OPTIONS_DEFAULT=ALL
ALL_DESC= All localizations
ALL_RUN_DEPENDS=# empty
.for lang in ${CALLIGRA_LANG_ALL}
${lang}_DETECT?= ${KDE4_PREFIX}/share/locale/${lang}/LC_MESSAGES/calligra.mo
${lang}_PORT?= editors/calligra-l10n-${lang:S/@/_/}
${lang}_NAME?= ${lang}
${lang}_OPT= ${lang:S/@/_/}
LANG_OPT_ALL+= ${${lang}_OPT}
${${lang}_OPT}_DESC= ${${lang}_NAME} localization
${${lang}_OPT}_RUN_DEPENDS=${${lang}_DETECT}:${PORTSDIR}/${${lang}_PORT}
ALL_RUN_DEPENDS+= ${${${lang}_OPT}_RUN_DEPENDS}
.endfor
.include <bsd.port.mk>