mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
67 lines
1.6 KiB
Makefile
67 lines
1.6 KiB
Makefile
# New ports collection makefile for: kde4-l10n
|
|
# Date created: 21 July 2008
|
|
# Whom: Martin Wilke <miwi@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= kde-l10n
|
|
PORTVERSION= ${KDE4_VERSION}
|
|
PORTREVISION= 1
|
|
CATEGORIES= misc kde
|
|
MASTER_SITES= # none
|
|
DISTFILES= # none
|
|
EXTRACT_ONLY= # none
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Localized messages and documentation for KDE
|
|
|
|
NO_BUILD= yes
|
|
USE_KDE4= kdeprefix
|
|
|
|
KDE4_LANG_ALL= ar bg bs ca ca@valencia cs da de el en_GB es et eu fi \
|
|
fr ga gl he hr hu ia id is it ja kk km kn ko lt lv nb \
|
|
nds nl nn pa pl pt pt_BR ro ru si sk sl sr sv th tr ug \
|
|
uk wa zh_CN zh_TW
|
|
|
|
ar_PORT= arabic/kde4-l10n
|
|
ca@valencia_PORT= misc/kde4-l10n-ca_valencia
|
|
de_PORT= german/kde4-l10n
|
|
fr_PORT= french/kde4-l10n
|
|
he_PORT= hebrew/kde4-l10n
|
|
hu_PORT= hungarian/kde4-l10n
|
|
ja_PORT= japanese/kde4-l10n
|
|
ko_PORT= korean/kde4-l10n
|
|
pl_PORT= polish/kde4-l10n
|
|
pt_BR_PORT= portuguese/kde4-l10n-pt_BR
|
|
pt_PORT= portuguese/kde4-l10n
|
|
ru_PORT= russian/kde4-l10n
|
|
uk_PORT= ukrainian/kde4-l10n
|
|
zh_CN_PORT= chinese/kde4-l10n-zh_CN
|
|
zh_TW_PORT= chinese/kde4-l10n-zh_TW
|
|
|
|
.include <${.CURDIR}/files/kde4-lang-names>
|
|
nb_NAME= Norwegian Bokmal
|
|
|
|
OPTIONS= ALL "All localizations" on
|
|
.for lang in ${KDE4_LANG_ALL}
|
|
${lang}_DETECT?= ${KDE4_PREFIX}/share/locale/${lang}/entry.desktop
|
|
${lang}_PORT?= misc/kde4-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 ${KDE4_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>
|