summaryrefslogtreecommitdiff
path: root/german
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2005-07-19 14:25:37 +0000
committerRenato Botelho <garga@FreeBSD.org>2005-07-19 14:25:37 +0000
commit3adfab64e21cbd2504af865ed442079ecd732911 (patch)
tree3cf347ab7126db9b25274d59dbdcc7e3604112b7 /german
parento Take maintainership, so Lauri can focus on other things (diff)
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)
Notes
Notes: svn path=/head/; revision=139590
Diffstat (limited to 'german')
-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