2004-08-15 18:31:53 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2004/08/15 22:31:53 sturm Exp $
|
2002-09-14 11:47:04 -04:00
|
|
|
|
2004-03-14 14:52:50 -05:00
|
|
|
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
|
2002-09-14 11:47:04 -04:00
|
|
|
FLAVOR?=fr
|
|
|
|
|
2004-08-15 18:31:53 -04:00
|
|
|
.for i in ${FLAVORS}
|
|
|
|
. if ${FLAVOR:L} == ${i:L}
|
|
|
|
FLAVOR= ${i}
|
|
|
|
. endif
|
|
|
|
.endfor
|
|
|
|
|
2002-09-14 11:47:04 -04:00
|
|
|
FULLPKGNAME= koffice-i18n-${FLAVOR}-${VERSION}
|
|
|
|
|
2003-04-10 14:08:56 -04:00
|
|
|
COMMENT= "${FLAVOR} translations for koffice"
|
2002-09-14 11:47:04 -04:00
|
|
|
|
|
|
|
CATEGORIES= x11 x11/kde
|
2004-03-14 14:52:50 -05:00
|
|
|
VERSION= 1.3
|
2002-09-14 11:47:04 -04:00
|
|
|
DISTNAME= koffice-i18n-${FLAVOR}-${VERSION}
|
|
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}
|
|
|
|
MASTER_SITES= ${MASTER_SITE_KDE:S@$@stable/koffice-${VERSION}/src/@}
|
|
|
|
|
|
|
|
SUPDISTFILES=
|
|
|
|
.for i in ${FLAVORS}
|
|
|
|
SUPDISTFILES+= koffice-i18n-$i-${VERSION}${EXTRACT_SUFX}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
BUILD_DEPENDS = ::x11/kde/libs3
|
|
|
|
|
|
|
|
PLIST=${PKGDIR}/PLIST.${FLAVOR}
|
|
|
|
|
2003-02-23 08:55:37 -05:00
|
|
|
MODKDE_VERSION=
|
2003-02-26 05:42:07 -05:00
|
|
|
MODKDE_NODEBUG=Yes
|
|
|
|
|
|
|
|
MAKE_FLAGS+=MEINPROC=
|
|
|
|
FAKE_FLAGS=DESTDIR=${WRKINST} MEINPROC=
|
|
|
|
|
2002-09-14 11:47:04 -04:00
|
|
|
# some extra vars to compact PLISTs
|
|
|
|
DOC=share/doc/HTML/${FLAVOR}/
|
|
|
|
LOC=share/locale/${FLAVOR}/LC_MESSAGES/
|
|
|
|
I=index.docbook
|
2004-03-14 14:52:50 -05:00
|
|
|
SUBST_VARS=DOC LOC I
|
2002-09-14 11:47:04 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|