freebsd-ports/editors/calligra-l10n/Makefile
Raphael Kubo da Costa 978b5a598d Update Calligra to 2.9.10.
This is the latest Calligra release, and the 2.9 series will be the last
KDE4-based release series.

As usual, huge thanks to Tobias Berner <tcberner@gmail.com> for working on this
in kde@'s area51 experimental repository (including previous Calligra releases
between 2.7.5 and 2.9.10).

Notable changes from a packaging perspective:
- Several dependencies have been updated to use more recent ports versions.
- Old translations not shipped by the current Calligra release have been
  removed.
- The dependency on sysutils/nepomuk-core has been dropped, following what
  upstream has done.
- The dependency on Qt3-compatibility Qt4 ports has been dropped, following
  upstream.
- CONFLICTS with ancient ports have been removed.
- Support for G'MIC (GREYC's Magic for Image Computing), introduced after
  2.7.5, is disabled by default, as building the code with clang requires
  insane (>24GB) amounts of memory. We reported this bug to the LLVM developers
  (bug 22199) almost a year ago, but there has been no activity upstream.
- Stopped depending on graphics/pstoedit in an unorthodox way: just follow what
  every major Linux distribution does and unconditionally depend on it. I could
  not figure out why we were originally depending on the port if it was already
  installed.
- Stop playing tricks with PACKAGE_BUILDING: we do not package Vc
  (https://github.com/VcDevel/Vc) so it does not make sense to turn on support
  for it when building packages. Not only that, but the CMake option name was
  wrong (it should be PACKAGERS_BUILD, not WITH_PACKAGERS_BUILD).
2015-12-21 18:10:32 +00:00

51 lines
1.4 KiB
Makefile

# $FreeBSD$
PORTNAME= calligra-l10n
PORTVERSION= ${CALLIGRA_VERSION}
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 it ja kk nb nl pl pt pt_BR ru sk \
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>