openbsd-ports/x11/kde/i18n3/Makefile

59 lines
1.4 KiB
Makefile
Raw Normal View History

2010-11-22 03:36:47 -05:00
# $OpenBSD: Makefile,v 1.54 2010/11/22 08:37:02 espie Exp $
2002-04-04 12:41:15 -05:00
2008-08-29 09:08:33 -04:00
LANGS = af ar az be bg bn br bs ca cs csb cy da de el en_GB eo es et eu fa \
2007-05-27 16:38:40 -04:00
fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds \
2008-08-29 09:08:33 -04:00
nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta te tg th \
tr uk uz uz@cyrillic vi wa zh_CN zh_TW
2008-08-29 09:08:33 -04:00
PATCH_LANGS =
# some extra vars to compact PLISTs
2008-08-29 08:59:49 -04:00
I = index.docbook
C = index.cache.bz2
2008-08-29 08:59:49 -04:00
FLAVOR ?= fr
SUBST_VARS = I C
.if ${FLAVOR:L:Msr@latn}
2010-11-22 03:36:47 -05:00
RUN_DEPENDS += x11/kde/i18n3,sr
FULLPKGNAME = kde-i18n-sr@Latn-${VERSION}
.endif
.for l in ${LANGS}
2008-08-29 08:59:49 -04:00
FLAVORS += $l
. if ${FLAVOR:L:M${l:L}}
2008-08-29 08:59:49 -04:00
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}}
2008-08-29 08:59:49 -04:00
PATCH_LIST += $l-patch-*
. endif
. endif
2008-08-29 08:59:49 -04:00
SUPDISTFILES += kde-i18n-$l-${VERSION}.tar.bz2
SUBST_VARS += DOC LOC
.endfor
2002-04-04 12:41:15 -05:00
2008-08-29 08:59:49 -04:00
DISTNAME = kde-i18n-${VERSION}
CATEGORIES = x11 x11/kde
VERSION = 3.5.10
MODGNU_CONFIG_GUESS_DIRS = ${WRKSRC}
MASTER_SITES = ${MASTER_SITE_KDE:=stable/3.5.10/src/kde-i18n/}
2002-04-04 12:41:15 -05:00
2010-11-22 03:36:47 -05:00
BUILD_DEPENDS = x11/kde/libs3
RUN_DEPENDS = x11/kde/libs3
2002-04-04 12:41:15 -05:00
2008-08-29 08:59:49 -04:00
PATCH_LIST += patch-*
MODKDE_VERSION =
CONFIGURE_STYLE = gnu
2008-08-29 08:59:49 -04:00
MAKE_FLAGS += MEINPROC=
CONFIGURE_ARGS += -C
2002-04-04 12:41:15 -05:00
2008-08-29 08:59:49 -04:00
DESCR = ${PKGDIR}/DESCR
MODKDE_NODEBUG = Yes
2002-04-04 12:41:15 -05:00
.include <bsd.port.mk>