ensure correct case in DISTNAME created from case insensitive FLAVOR

ok naddy
This commit is contained in:
sturm 2004-08-15 22:31:53 +00:00
parent f56ee305f9
commit 295bf31885
2 changed files with 14 additions and 2 deletions

View File

@ -1,10 +1,16 @@
# $OpenBSD: Makefile,v 1.24 2004/07/24 12:47:14 espie Exp $
# $OpenBSD: Makefile,v 1.25 2004/08/15 22:31:53 sturm Exp $
FLAVORS=ar az bg bn bs ca cs cy da de el en_GB es et eu fa fi fr gl he hi \
hr hsb hu is it ja lt mn ms nb nds nl nn pl pt pt_BR ro ru sk sl \
sr sr@Latn sv tg tr uk uz zh_CN zh_TW
FLAVOR?=fr
.for i in ${FLAVORS}
. if ${FLAVOR:L} == ${i:L}
FLAVOR= ${i}
. endif
.endfor
FULLPKGNAME= kde-i18n-${FLAVOR}-${VERSION}
COMMENT= "${FLAVOR} translations for KDE"

View File

@ -1,10 +1,16 @@
# $OpenBSD: Makefile,v 1.7 2004/03/14 19:52:50 espie Exp $
# $OpenBSD: Makefile,v 1.8 2004/08/15 22:31:53 sturm Exp $
FLAVORS=af bg ca cs da de el en_GB eo es et fa fi fr he hu \
it ja lo mt nb nl nn pl pt pt_BR ru sk sl sr sv th tr ven \
xh zh_CN zh_TW zu
FLAVOR?=fr
.for i in ${FLAVORS}
. if ${FLAVOR:L} == ${i:L}
FLAVOR= ${i}
. endif
.endfor
FULLPKGNAME= koffice-i18n-${FLAVOR}-${VERSION}
COMMENT= "${FLAVOR} translations for koffice"