2008-01-04 12:48:33 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.23 2008/01/04 17:48:38 espie Exp $
|
2002-09-14 11:47:04 -04:00
|
|
|
|
2006-10-29 17:58:47 -05:00
|
|
|
LANGS= ca cs cy da de el en_GB es et eu fi fr \
|
|
|
|
hu it ja lv ms nb nl pl pt pt_BR ru sk sl sr sr@Latn \
|
|
|
|
sv tr uk zh_CN zh_TW
|
2002-09-14 11:47:04 -04:00
|
|
|
|
2005-03-29 16:18:34 -05:00
|
|
|
# some extra vars to compact PLISTs
|
|
|
|
I=index.docbook
|
|
|
|
C=index.cache.bz2
|
|
|
|
|
2005-10-18 14:32:55 -04:00
|
|
|
FLAVOR?=fr
|
2005-03-29 16:18:34 -05:00
|
|
|
SUBST_VARS=I C
|
|
|
|
.for l in ${LANGS}
|
2005-10-18 14:32:55 -04:00
|
|
|
FLAVORS+=$l
|
2005-10-29 08:00:17 -04:00
|
|
|
. if ${FLAVOR:L:M${l:L}}
|
2005-10-18 14:32:55 -04:00
|
|
|
DISTFILES=koffice-l10n-$l-${VERSION}.tar.bz2
|
|
|
|
WRKDIST=${WRKDIR}/koffice-l10n-$l-${VERSION}
|
2007-05-09 07:31:43 -04:00
|
|
|
FULLPKGNAME=koffice-i18n-$l-${VERSION:S/-//g}p0
|
2007-09-15 16:04:18 -04:00
|
|
|
COMMENT= $l translations for KDE
|
2005-10-29 08:00:17 -04:00
|
|
|
PLIST=${PKGDIR}/PLIST-$l
|
2005-10-18 14:32:55 -04:00
|
|
|
DOC=share/doc/HTML/$l/
|
|
|
|
LOC=share/locale/$l/LC_MESSAGES/
|
|
|
|
. endif
|
|
|
|
SUPDISTFILES+= koffice-l10n-$l-${VERSION}.tar.bz2
|
|
|
|
SUBST_VARS+=DOC LOC
|
2004-08-15 18:31:53 -04:00
|
|
|
.endfor
|
|
|
|
|
2005-03-29 16:18:34 -05:00
|
|
|
DISTNAME= koffice-i18n-${VERSION}
|
2005-10-18 14:32:55 -04:00
|
|
|
CATEGORIES= x11 x11/kde
|
2007-02-23 17:24:18 -05:00
|
|
|
VERSION= 1.6.2
|
2002-09-14 11:47:04 -04:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}
|
2006-08-04 06:35:19 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_KDE:=stable/koffice-${VERSION}/src/koffice-l10n/}
|
2002-09-14 11:47:04 -04:00
|
|
|
|
|
|
|
BUILD_DEPENDS = ::x11/kde/libs3
|
2005-10-18 14:32:55 -04:00
|
|
|
RUN_DEPENDS = ::x11/kde/libs3
|
2002-09-14 11:47:04 -04:00
|
|
|
|
2005-10-18 14:32:55 -04:00
|
|
|
PATCH_LIST= patch-*
|
2003-02-23 08:55:37 -05:00
|
|
|
MODKDE_VERSION=
|
2005-10-18 14:32:55 -04:00
|
|
|
CONFIGURE_STYLE=gnu
|
2003-02-26 05:42:07 -05:00
|
|
|
|
|
|
|
MAKE_FLAGS+=MEINPROC=
|
2005-03-29 16:18:34 -05:00
|
|
|
CONFIGURE_ARGS+=-C
|
2002-09-14 11:47:04 -04:00
|
|
|
|
2005-10-18 14:32:55 -04:00
|
|
|
DESCR=${PKGDIR}/DESCR
|
|
|
|
MODKDE_NODEBUG=Yes
|
|
|
|
|
2007-01-22 12:52:03 -05:00
|
|
|
# kdgantt.mo is already in kde-i18n
|
|
|
|
post-install:
|
|
|
|
@find ${PREFIX}/${LOC} -name kdgantt.mo | xargs -r rm -f
|
|
|
|
|
2002-09-14 11:47:04 -04:00
|
|
|
.include <bsd.port.mk>
|