From 8a751c338343e0d41a4644cf4c0e3f0637823607 Mon Sep 17 00:00:00 2001 From: espie Date: Wed, 12 Oct 2011 06:24:28 +0000 Subject: [PATCH] fix flavor lowercasing --- x11/kde/Makefile | 22 +++++++++++----------- x11/kde/i18n3/Makefile | 8 ++++---- x11/kde/office-i18n3/Makefile | 6 +++--- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/x11/kde/Makefile b/x11/kde/Makefile index 0e414ef47b4..0694ae0d59b 100644 --- a/x11/kde/Makefile +++ b/x11/kde/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.62 2010/02/01 17:00:14 espie Exp $ +# $OpenBSD: Makefile,v 1.63 2011/10/12 06:24:28 espie Exp $ SUBDIR = SUBDIR += arts3 @@ -34,7 +34,7 @@ SUBDIR +=i18n3,da SUBDIR +=i18n3,de SUBDIR +=i18n3,el - SUBDIR +=i18n3,en_GB + SUBDIR +=i18n3,en_gb SUBDIR +=i18n3,eo SUBDIR +=i18n3,es SUBDIR +=i18n3,et @@ -67,7 +67,7 @@ SUBDIR +=i18n3,pa SUBDIR +=i18n3,pl SUBDIR +=i18n3,pt - SUBDIR +=i18n3,pt_BR + SUBDIR +=i18n3,pt_br SUBDIR +=i18n3,ro SUBDIR +=i18n3,ru SUBDIR +=i18n3,rw @@ -75,7 +75,7 @@ SUBDIR +=i18n3,sk SUBDIR +=i18n3,sl SUBDIR +=i18n3,sr - SUBDIR +=i18n3,sr@Latn + SUBDIR +=i18n3,sr@latn SUBDIR +=i18n3,ss SUBDIR +=i18n3,sv SUBDIR +=i18n3,ta @@ -85,15 +85,15 @@ SUBDIR +=i18n3,uk SUBDIR +=i18n3,uz SUBDIR +=i18n3,vi - SUBDIR +=i18n3,zh_CN - SUBDIR +=i18n3,zh_TW + SUBDIR +=i18n3,zh_cn + SUBDIR +=i18n3,zh_tw SUBDIR +=office-i18n3,ca SUBDIR +=office-i18n3,cs SUBDIR +=office-i18n3,cy SUBDIR +=office-i18n3,da SUBDIR +=office-i18n3,de SUBDIR +=office-i18n3,el - SUBDIR +=office-i18n3,en_GB + SUBDIR +=office-i18n3,en_gb SUBDIR +=office-i18n3,es SUBDIR +=office-i18n3,et SUBDIR +=office-i18n3,eu @@ -108,17 +108,17 @@ SUBDIR +=office-i18n3,nl SUBDIR +=office-i18n3,pl SUBDIR +=office-i18n3,pt - SUBDIR +=office-i18n3,pt_BR + SUBDIR +=office-i18n3,pt_br SUBDIR +=office-i18n3,ru SUBDIR +=office-i18n3,sk SUBDIR +=office-i18n3,sl SUBDIR +=office-i18n3,sr - SUBDIR +=office-i18n3,sr@Latn + SUBDIR +=office-i18n3,sr@latn SUBDIR +=office-i18n3,sv SUBDIR +=office-i18n3,tr SUBDIR +=office-i18n3,uk - SUBDIR +=office-i18n3,zh_CN - SUBDIR +=office-i18n3,zh_TW + SUBDIR +=office-i18n3,zh_cn + SUBDIR +=office-i18n3,zh_tw SUBDIR += kdoc3 SUBDIR += libs3-doc SUBDIR += okle diff --git a/x11/kde/i18n3/Makefile b/x11/kde/i18n3/Makefile index a45efda14b1..12c887b6b33 100644 --- a/x11/kde/i18n3/Makefile +++ b/x11/kde/i18n3/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.55 2011/09/16 12:29:16 espie Exp $ +# $OpenBSD: Makefile,v 1.56 2011/10/12 06:24:28 espie Exp $ LANGS = af ar az be bg bn br bs ca cs csb cy da de el en_GB eo es et eu fa \ fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds \ @@ -14,14 +14,14 @@ C = index.cache.bz2 REVISION = 0 FLAVOR ?= fr SUBST_VARS = I C -.if ${FLAVOR:L:Msr@latn} +.if ${FLAVOR:Msr@latn} RUN_DEPENDS += x11/kde/i18n3,sr FULLPKGNAME = kde-i18n-sr@Latn-${VERSION} .endif .for l in ${LANGS} -FLAVORS += $l -. if ${FLAVOR:L:M${l:L}} +FLAVORS += ${l:L} +. if ${FLAVOR:M${l:L}} DISTFILES = kde-i18n-$l-${VERSION}.tar.bz2 WRKDIST = ${WRKDIR}/kde-i18n-$l-${VERSION} FULLPKGNAME ?= kde-i18n-$l-${VERSION} diff --git a/x11/kde/office-i18n3/Makefile b/x11/kde/office-i18n3/Makefile index 1f5e4e0feed..27d0819a73e 100644 --- a/x11/kde/office-i18n3/Makefile +++ b/x11/kde/office-i18n3/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.26 2011/09/16 12:29:16 espie Exp $ +# $OpenBSD: Makefile,v 1.27 2011/10/12 06:24:28 espie Exp $ LANGS= ca cs cy da de el en_GB es et eu fi fr \ hu it ja lv ms nb nl pl pt pt_BR ru sk sl sr sr@Latn \ @@ -11,8 +11,8 @@ C=index.cache.bz2 FLAVOR?=fr SUBST_VARS=I C .for l in ${LANGS} -FLAVORS+=$l -. if ${FLAVOR:L:M${l:L}} +FLAVORS+=${l:L} +. if ${FLAVOR:M${l:L}} DISTFILES=koffice-l10n-$l-${VERSION}.tar.bz2 WRKDIST=${WRKDIR}/koffice-l10n-$l-${VERSION} FULLPKGNAME=koffice-i18n-$l-${VERSION:S/-//g}