From 46f409dc73d7932fefa5506562cea076a5832ed2 Mon Sep 17 00:00:00 2001 From: sturm Date: Sat, 29 Oct 2005 12:00:17 +0000 Subject: [PATCH] handle FLAVORs regardless of case, so that we can reuse the output of make all-dir-depends no objections from espie@ --- x11/kde/i18n3/Makefile | 6 +++--- x11/kde/office-i18n3/Makefile | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/x11/kde/i18n3/Makefile b/x11/kde/i18n3/Makefile index cab13423b9e..af94c22f631 100644 --- a/x11/kde/i18n3/Makefile +++ b/x11/kde/i18n3/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.33 2005/10/17 14:11:01 espie Exp $ +# $OpenBSD: Makefile,v 1.34 2005/10/29 12:00:17 sturm Exp $ LANGS= af ar bg bn br bs ca cs cy da de el en_GB eo es et eu fi fr fy ga he hi \ hsb hu is it ja lt mk nb nds nl nn pa pl pt pt_BR ro ru se sk sl \ @@ -12,11 +12,12 @@ FLAVOR?=fr SUBST_VARS=I C .for l in ${LANGS} FLAVORS+=$l -. if ${FLAVOR:M$l} +. if ${FLAVOR:L:M${l:L}} DISTFILES=kde-i18n-$l-${VERSION}.tar.bz2 WRKDIST=${WRKDIR}/kde-i18n-$l-${VERSION} FULLPKGNAME=kde-i18n-$l-${VERSION} COMMENT= "$l translations for KDE" +PLIST=${PKGDIR}/PLIST-$l DOC=share/doc/HTML/$l/ LOC=share/locale/$l/LC_MESSAGES/ . endif @@ -42,7 +43,6 @@ FAKE_FLAGS=DESTDIR=${WRKINST} MEINPROC= CONFIGURE_ARGS+=-C DESCR=${PKGDIR}/DESCR -PLIST=${PKGDIR}/PLIST-${FLAVOR} MODKDE_NODEBUG=Yes .include diff --git a/x11/kde/office-i18n3/Makefile b/x11/kde/office-i18n3/Makefile index f00397d7ad3..e349b19919d 100644 --- a/x11/kde/office-i18n3/Makefile +++ b/x11/kde/office-i18n3/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 2005/10/18 18:32:55 espie Exp $ +# $OpenBSD: Makefile,v 1.11 2005/10/29 12:00:18 sturm Exp $ LANGS= bg ca cs cy da de el en_GB es et eu fi fr hu it nb nl nn pl \ pt pt_BR ru sl sr sr@Latn sv ta tg zh_CN @@ -11,11 +11,12 @@ FLAVOR?=fr SUBST_VARS=I C .for l in ${LANGS} FLAVORS+=$l -. if ${FLAVOR:M$l} +. if ${FLAVOR:L:M${l:L}} DISTFILES=koffice-l10n-$l-${VERSION}.tar.bz2 WRKDIST=${WRKDIR}/koffice-l10n-$l-${VERSION} FULLPKGNAME=koffice-i18n-$l-${VERSION} COMMENT= "$l translations for KDE" +PLIST=${PKGDIR}/PLIST-$l DOC=share/doc/HTML/$l/ LOC=share/locale/$l/LC_MESSAGES/ . endif @@ -41,7 +42,6 @@ FAKE_FLAGS=DESTDIR=${WRKINST} MEINPROC= CONFIGURE_ARGS+=-C DESCR=${PKGDIR}/DESCR -PLIST=${PKGDIR}/PLIST-${FLAVOR} MODKDE_NODEBUG=Yes .include