aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2005-07-19 22:25:37 +0800
committergarga <garga@FreeBSD.org>2005-07-19 22:25:37 +0800
commit40afdc979eed68461af88586e20756a758f32f9a (patch)
tree6d762955782603a5b2219cf7e04fb19e8952ed5f
parent547aec3c9598ab7b76c18e11efb4677bbc6f4218 (diff)
downloadfreebsd-ports-gnome-40afdc979eed68461af88586e20756a758f32f9a.tar.gz
freebsd-ports-gnome-40afdc979eed68461af88586e20756a758f32f9a.tar.zst
freebsd-ports-gnome-40afdc979eed68461af88586e20756a758f32f9a.zip
This is a swiss-"high german" language pack for german/ding.
The official written language in the German part of Switzerland does not contain the doppel-s (UTF-8 0x9f) nor is it available on Swiss-German keyboards. PR: ports/83646 Submitted by: Emanuel Haupt <ehaupt@critical.ch> Approved by: flz (mentor)
-rw-r--r--german/Makefile1
-rw-r--r--german/swissgerman-ding/Makefile46
-rw-r--r--german/swissgerman-ding/pkg-descr9
3 files changed, 56 insertions, 0 deletions
diff --git a/german/Makefile b/german/Makefile
index 7b9b36914c2c..ad8b595e17c2 100644
--- a/german/Makefile
+++ b/german/Makefile
@@ -30,6 +30,7 @@
SUBDIR += staroffice52
SUBDIR += staroffice70
SUBDIR += steak
+ SUBDIR += swissgerman-ding
SUBDIR += unix-connect
SUBDIR += webalizer2
diff --git a/german/swissgerman-ding/Makefile b/german/swissgerman-ding/Makefile
new file mode 100644
index 000000000000..c27663838f15
--- /dev/null
+++ b/german/swissgerman-ding/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: swissgerman-ding
+# Date created: 15 Jul 2005
+# Whom: Emanuel Haupt <ehaupt@critical.ch>
+#
+# $FreeBSD$
+#
+
+PORTNAME= swissgerman-ding
+PORTVERSION= 1.4
+CATEGORIES= german
+MASTER_SITES= # none
+PKGNAMEPREFIX= de-
+DISTFILES= # none
+
+MAINTAINER= ehaupt@critical.ch
+COMMENT= A swiss high german german doppel-s free language pack for de-ding
+
+RUN_DEPENDS= ${DICTFILE}:${PORTSDIR}/german/ding
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
+NO_WRKSUBDIR= yes
+USE_PERL5= yes
+USE_X_PREFIX= yes
+
+DICTFILE= ${PREFIX}/share/ding/de-en.txt
+SWISSDICT= de_ch-en.txt
+
+PLIST_FILES= share/ding/de_ch-en.txt
+
+do-fetch:
+ @${DO_NADA}
+
+do-build:
+ @${CP} ${DICTFILE} ${WRKDIR}/${SWISSDICT}
+ ${PERL5} -pi.orig -e '$${sz}="\x{009F}"; s/Ã$${sz}/ss/g' \
+ ${WRKDIR}/${SWISSDICT}
+
+do-install:
+ ${INSTALL_DATA} ${WRKDIR}/${SWISSDICT} ${PREFIX}/share/ding
+
+post-install:
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "You can now configure ${SWISSDICT} in your 'Settings' menu."
+ @${ECHO_MSG} ""
+
+.include <bsd.port.mk>
diff --git a/german/swissgerman-ding/pkg-descr b/german/swissgerman-ding/pkg-descr
new file mode 100644
index 000000000000..4f622f5d5d71
--- /dev/null
+++ b/german/swissgerman-ding/pkg-descr
@@ -0,0 +1,9 @@
+This is a swiss-"high german" language pack for german/ding.
+
+The official written language in the German part of Switzerland does not contain
+the doppel-s (UTF-8 0x9f) nor is it available on Swiss-German keyboards.
+
+WWW: none
+
+- ehaupt
+ehaupt@critical.ch