aboutsummaryrefslogtreecommitdiff
path: root/misc/locale-en_DK
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2019-11-01 20:55:13 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2019-11-01 20:55:13 +0000
commit0c55893dfb0e17db91e4507bde51a9c87d9caa2b (patch)
tree14a061219c2584e7b0f1226d2b1f0428ddfa50b6 /misc/locale-en_DK
parent8f54caa513f73ae32f8e1f255bf91136ff60b390 (diff)
downloadports-0c55893dfb0e17db91e4507bde51a9c87d9caa2b.tar.gz
ports-0c55893dfb0e17db91e4507bde51a9c87d9caa2b.zip
New port: misc/locale-en_DK: Wonderful en_DK.UTF-8 locale
This is a FreeBSD port of the en_DK.UTF-8 locale. See the blog post by Ivan Voras to learn more about this special locale: http://www.ivoras.net/blog/tree/2010-12-20.the-wonderful-en_dk-locale.html WWW: https://github.com/0mp/en_DK.UTF-8 PR: 137870 Reviewed by: swills Differential Revision: https://reviews.freebsd.org/D22216
Notes
Notes: svn path=/head/; revision=516266
Diffstat (limited to 'misc/locale-en_DK')
-rw-r--r--misc/locale-en_DK/Makefile23
-rw-r--r--misc/locale-en_DK/distinfo3
-rw-r--r--misc/locale-en_DK/files/pkg-message.in19
-rw-r--r--misc/locale-en_DK/pkg-descr6
-rw-r--r--misc/locale-en_DK/pkg-plist6
5 files changed, 57 insertions, 0 deletions
diff --git a/misc/locale-en_DK/Makefile b/misc/locale-en_DK/Makefile
new file mode 100644
index 000000000000..9a206cc67962
--- /dev/null
+++ b/misc/locale-en_DK/Makefile
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+PORTNAME= locale-en_DK
+DISTVERSION= 0.1.0
+CATEGORIES= misc
+
+MAINTAINER= 0mp@FreeBSD.org
+COMMENT= Wonderful en_DK.UTF-8 locale
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USE_GITHUB= yes
+GH_ACCOUNT= 0mp
+
+TEST_TARGET= test
+
+NO_ARCH= yes
+NO_BUILD= yes
+
+SUB_FILES= pkg-message
+
+.include <bsd.port.mk>
diff --git a/misc/locale-en_DK/distinfo b/misc/locale-en_DK/distinfo
new file mode 100644
index 000000000000..1be599e1b772
--- /dev/null
+++ b/misc/locale-en_DK/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1572635378
+SHA256 (0mp-locale-en_DK-0.1.0_GH0.tar.gz) = b073bc79ea1b639054b7e70607aef1569a44e78203e21c7f7a544481c9d5351c
+SIZE (0mp-locale-en_DK-0.1.0_GH0.tar.gz) = 1685
diff --git a/misc/locale-en_DK/files/pkg-message.in b/misc/locale-en_DK/files/pkg-message.in
new file mode 100644
index 000000000000..d9928e99d1c7
--- /dev/null
+++ b/misc/locale-en_DK/files/pkg-message.in
@@ -0,0 +1,19 @@
+[
+{ type: install
+message: <<EOM
+In order to set the en_DK.UTF-8 locale for the login shell of an single
+user add the following configuration to ~/.login_conf:
+
+me:\
+ :charset=UTF-8:\
+ :lang=en_DK.UTF-8:\
+ :setenv=PATH_LOCALE=%%PREFIX%%/share/locale:
+
+More information about the process of configuring login class methods in
+available in the handbook.
+
+More information about the PATH_LOCALE environment variable is available in the
+locale(1) manual page.
+EOM
+}
+]
diff --git a/misc/locale-en_DK/pkg-descr b/misc/locale-en_DK/pkg-descr
new file mode 100644
index 000000000000..0562190f7652
--- /dev/null
+++ b/misc/locale-en_DK/pkg-descr
@@ -0,0 +1,6 @@
+This is a FreeBSD port of the en_DK.UTF-8 locale.
+
+See the blog post by Ivan Voras to learn more about this special locale:
+http://www.ivoras.net/blog/tree/2010-12-20.the-wonderful-en_dk-locale.html
+
+WWW: https://github.com/0mp/en_DK.UTF-8
diff --git a/misc/locale-en_DK/pkg-plist b/misc/locale-en_DK/pkg-plist
new file mode 100644
index 000000000000..8cbb459d7e26
--- /dev/null
+++ b/misc/locale-en_DK/pkg-plist
@@ -0,0 +1,6 @@
+share/locale/en_DK.UTF-8/LC_COLLATE
+share/locale/en_DK.UTF-8/LC_CTYPE
+share/locale/en_DK.UTF-8/LC_MESSAGES
+share/locale/en_DK.UTF-8/LC_MONETARY
+share/locale/en_DK.UTF-8/LC_NUMERIC
+share/locale/en_DK.UTF-8/LC_TIME