openbsd-ports/x11/kde/i18n3/Makefile
2008-04-21 20:21:19 +00:00

59 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.50 2008/04/21 20:21:19 naddy Exp $
LANGS= af ar az 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 \
nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta tg th \
tr uk uz vi zh_CN zh_TW
PATCH_LANGS= ru
# some extra vars to compact PLISTs
I=index.docbook
C=index.cache.bz2
FLAVOR?=fr
SUBST_VARS=I C
.if ${FLAVOR:L:Msr@latn}
RUN_DEPENDS+= ::x11/kde/i18n3,sr
FULLPKGNAME=kde-i18n-${FLAVOR}-${VERSION}
.endif
.for l in ${LANGS}
FLAVORS+=$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/
. if ${PATCH_LANGS:L:M${l:L}}
PATCH_LIST+=$l-patch-*
. endif
. endif
SUPDISTFILES+= kde-i18n-$l-${VERSION}.tar.bz2
SUBST_VARS+=DOC LOC
.endfor
DISTNAME= kde-i18n-${VERSION}
CATEGORIES= x11 x11/kde
VERSION= 3.5.9
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}
MASTER_SITES= ${MASTER_SITE_KDE:=stable/3.5.9/src/kde-i18n/}
BUILD_DEPENDS = ::x11/kde/libs3
RUN_DEPENDS = ::x11/kde/libs3
PATCH_LIST+= patch-*
MODKDE_VERSION=
CONFIGURE_STYLE=gnu
MAKE_FLAGS+=MEINPROC=
CONFIGURE_ARGS+=-C
DESCR=${PKGDIR}/DESCR
MODKDE_NODEBUG=Yes
.include <bsd.port.mk>