aboutsummaryrefslogtreecommitdiff
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
parentbde3ee2d55f8000bc2bee9b156e7d470c4f5304b (diff)
downloadports-3adfab64e21cbd2504af865ed442079ecd732911.tar.gz
ports-3adfab64e21cbd2504af865ed442079ecd732911.zip
Notes
-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