summaryrefslogtreecommitdiff
path: root/misc/koffice
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-10-24 07:34:13 +0000
committerrillig <rillig@pkgsrc.org>2006-10-24 07:34:13 +0000
commitdeb3ab3b226ea29fe89773cdd09007fb270e24b5 (patch)
tree61bb004a1e3e6cfb168aeee2b3c39a764dd4e6f3 /misc/koffice
parent8ea189be6dd3a8fc19eeff9231a0c5dae065e61a (diff)
downloadpkgsrc-deb3ab3b226ea29fe89773cdd09007fb270e24b5.tar.gz
Added a template for the koffice i18n files.
Diffstat (limited to 'misc/koffice')
-rw-r--r--misc/koffice/i18n.mk35
1 files changed, 35 insertions, 0 deletions
diff --git a/misc/koffice/i18n.mk b/misc/koffice/i18n.mk
new file mode 100644
index 00000000000..886761af4b7
--- /dev/null
+++ b/misc/koffice/i18n.mk
@@ -0,0 +1,35 @@
+# $NetBSD: i18n.mk,v 1.1 2006/10/24 07:34:13 rillig Exp $
+#
+
+# This file provides useful defaults for the i18n packages of koffice.
+#
+# The following variables shall be defined when using this file.
+#
+# KOFFICE_LANGCODE
+# The language code (e.g. de, pt_BR)
+#
+# KOFFICE_LANGUAGE
+# The full name of the language (e.g. German, Brasilian)
+#
+
+KOFFICE_VERSION?= 1.3.5
+
+DISTNAME= koffice-i18n-${KOFFICE_LANGCODE}-${KOFFICE_VERSION}
+CATEGORIES= misc kde
+MASTER_SITES= ${MASTER_SITE_KDE:=koffice-${KOFFICE_VERSION}/src/koffice-l10n/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER?= ianzag@mail.ru
+HOMEPAGE= http://www.koffice.org/
+COMMENT= ${KOFFICE_LANGUAGE} language pack for KOffice
+
+BUILD_DEPENDS+= kdelibs>=3:../../x11/kdelibs3
+CONFLICTS+= koffice-l10n-${KOFFICE_LANGCODE}-[0-9]*
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= gmake
+
+SUBST_CLASSES+= ko
+SUBST_STAGE.ko= pre-configure
+SUBST_FILES.ko= configure
+SUBST_SED.ko= -e 's,\(build_arts" \)==\( "no"\),\1=\2,'