openbsd-ports/x11/kde/i18n3/Makefile

55 lines
1.3 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.39 2006/06/03 12:47:30 espie Exp $
2002-04-04 12:41:15 -05:00
2006-04-01 07:33:42 -05:00
LANGS= af ar az bg bn br bs ca cs 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 nb nds nl nn \
2006-04-01 07:33:42 -05:00
pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta tg tr uk uz \
vi zh_CN zh_TW
# 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
2006-02-04 09:49:51 -05:00
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/
. endif
SUPDISTFILES+= kde-i18n-$l-${VERSION}.tar.bz2
SUBST_VARS+=DOC LOC
.endfor
2002-04-04 12:41:15 -05:00
DISTNAME= kde-i18n-${VERSION}
CATEGORIES= x11 x11/kde
VERSION= 3.5.3
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}
MASTER_SITES= ${MASTER_SITE_KDE:=stable/3.5.3/src/kde-i18n/}
2002-04-04 12:41:15 -05:00
BUILD_DEPENDS = ::x11/kde/libs3
2004-02-07 07:29:12 -05:00
RUN_DEPENDS = ::x11/kde/libs3
2002-04-04 12:41:15 -05:00
PATCH_LIST= patch-*
2003-02-16 09:31:19 -05:00
MODKDE_VERSION=
CONFIGURE_STYLE=gnu
MAKE_FLAGS+=MEINPROC=
FAKE_FLAGS=DESTDIR=${WRKINST} MEINPROC=
CONFIGURE_ARGS+=-C
2002-04-04 12:41:15 -05:00
DESCR=${PKGDIR}/DESCR
MODKDE_NODEBUG=Yes
2002-04-04 12:41:15 -05:00
.include <bsd.port.mk>