diff options
author | pawel <pawel@FreeBSD.org> | 2015-11-06 06:58:23 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2015-11-06 06:58:23 +0800 |
commit | 461d61beda0062c964acb924baff853d3e4b659f (patch) | |
tree | a5a9735db6106a338f454eebde8b5f2b01c10970 | |
parent | 315b38cd98d1ed7a479ac130db10f3c3a4f722f6 (diff) | |
download | freebsd-ports-gnome-461d61beda0062c964acb924baff853d3e4b659f.tar.gz freebsd-ports-gnome-461d61beda0062c964acb924baff853d3e4b659f.tar.zst freebsd-ports-gnome-461d61beda0062c964acb924baff853d3e4b659f.zip |
Book of Psalms from the Douai Bible (1610) in fortune(6) file format
In general, taking random out-of-context verses from a Bible is a
VERY bad idea. This said, this is an experiment to generate a not
too bad fortune-cookie database under the following principles:
- Only the text from the psalms, which are usually meant for praying,
were taken.
- The texts always include at least some context: you are always
notified where the text came from and there is always sufficient
text so that the phrases make sense.
- The text was taken from the classic Douai Bible, a direct translation
from the latin Vulgata. The old language will not give you false
impressions that you are actually understanding it fully.
- No effort was done to remove the original comments. Non-Christians
may rightfully feel the translation is biased.
This is meant to be a general aid for Christian meditation: it is not
generally to be taken as my message-of-the-day from God.
To use, you need UNIX fortune(6) utility and you should follow the
instructions from the corresponding man page.
PR: 202896
Submitted by: pfg
-rw-r--r-- | misc/Makefile | 1 | ||||
-rw-r--r-- | misc/fortune-mod-psalms/Makefile | 41 | ||||
-rw-r--r-- | misc/fortune-mod-psalms/distinfo | 2 | ||||
-rw-r--r-- | misc/fortune-mod-psalms/files/pkg-message.in | 1 | ||||
-rw-r--r-- | misc/fortune-mod-psalms/pkg-descr | 22 |
5 files changed, 67 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index ee5b1a7fd3a0..ecf605f03107 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -97,6 +97,7 @@ SUBDIR += fortune-mod-epictetus SUBDIR += fortune-mod-ferengi_rules_of_acquisition SUBDIR += fortune-mod-futurama + SUBDIR += fortune-mod-psalms SUBDIR += fortuneit SUBDIR += fpc-chm SUBDIR += freebsd-doc-all diff --git a/misc/fortune-mod-psalms/Makefile b/misc/fortune-mod-psalms/Makefile new file mode 100644 index 000000000000..a2e58b476695 --- /dev/null +++ b/misc/fortune-mod-psalms/Makefile @@ -0,0 +1,41 @@ +# Created by: pfg +# $FreeBSD$ + +PORTNAME= fortune-mod-psalms +PORTVERSION= 1.0 +CATEGORIES= misc +MASTER_SITES= LOCAL/pfg/catholic +DISTNAME= ${PORTNAME} + +MAINTAINER= pfg@FreeBSD.org +COMMENT= Psalms from the Douai Bible in fortune file format + +LICENSE= CC0-1.0 #AKA Public Domain + +NO_ARCH= yes +NO_WRKSUBDIR= yes + +PKGMESSAGE= ${WRKDIR}/pkg-message +SUB_FILES= pkg-message +PLIST_FILES= share/games/fortune/psalms share/games/fortune/psalms.dat + +.if exists(/usr/games/strfile) +_STRFILE= /usr/games/strfile +.elif exists(/usr/bin/strfile) +_STRFILE= /usr/bin/strfile +.endif + +.if !defined(_STRFILE) +NO_BUILD= yes +.else +do-build: + ${RM} ${WRKSRC}/psalms.dat + (cd ${WRKSRC} && ${_STRFILE} -C psalms) +.endif + +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune + ${INSTALL_DATA} ${WRKSRC}/psalms* \ + ${STAGEDIR}${PREFIX}/share/games/fortune + +.include <bsd.port.mk> diff --git a/misc/fortune-mod-psalms/distinfo b/misc/fortune-mod-psalms/distinfo new file mode 100644 index 000000000000..4a72b37a431b --- /dev/null +++ b/misc/fortune-mod-psalms/distinfo @@ -0,0 +1,2 @@ +SHA256 (fortune-mod-psalms.tar.gz) = 26ee3d434a6109dbb499db3cd4a570b5a8d112201166b9f853212538b0fb64e5 +SIZE (fortune-mod-psalms.tar.gz) = 107329 diff --git a/misc/fortune-mod-psalms/files/pkg-message.in b/misc/fortune-mod-psalms/files/pkg-message.in new file mode 100644 index 000000000000..608585338c74 --- /dev/null +++ b/misc/fortune-mod-psalms/files/pkg-message.in @@ -0,0 +1 @@ +Usage: fortune %%PREFIX%%/share/games/fortune/psalms diff --git a/misc/fortune-mod-psalms/pkg-descr b/misc/fortune-mod-psalms/pkg-descr new file mode 100644 index 000000000000..a72804f275ff --- /dev/null +++ b/misc/fortune-mod-psalms/pkg-descr @@ -0,0 +1,22 @@ +Book of Psalms from the Douai Bible (1610) in fortune(6) file format + +In general, taking random out-of-context verses from a Bible is a +VERY bad idea. This said, this is an experiment to generate a not +too bad fortune-cookie database under the following principles: + +- Only the text from the psalms, which are usually meant for praying, + were taken. +- The texts always include at least some context: you are always + notified where the text came from and there is always sufficient + text so that the phrases make sense. +- The text was taken from the classic Douai Bible, a direct translation + from the latin Vulgata. The old language will not give you false + impressions that you are actually understanding it fully. +- No effort was done to remove the original comments. Non-Christians + may rightfully feel the translation is biased. + +This is meant to be a general aid for Christian meditation: it is not +generally to be taken as my message-of-the-day from God. + +To use, you need UNIX fortune(6) utility and you should follow the +instructions from the corresponding man page. |