svn commit: r400876 - in head/misc: . fortune-mod-psalms fortune-mod-psalms/files

Pawel Pekala pawel at FreeBSD.org
Thu Nov 5 22:58:25 UTC 2015


Author: pawel
Date: Thu Nov  5 22:58:23 2015
New Revision: 400876
URL: https://svnweb.freebsd.org/changeset/ports/400876

Log:
  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

Added:
  head/misc/fortune-mod-psalms/
  head/misc/fortune-mod-psalms/Makefile   (contents, props changed)
  head/misc/fortune-mod-psalms/distinfo   (contents, props changed)
  head/misc/fortune-mod-psalms/files/
  head/misc/fortune-mod-psalms/files/pkg-message.in   (contents, props changed)
  head/misc/fortune-mod-psalms/pkg-descr   (contents, props changed)
Modified:
  head/misc/Makefile

Modified: head/misc/Makefile
==============================================================================
--- head/misc/Makefile	Thu Nov  5 22:34:28 2015	(r400875)
+++ head/misc/Makefile	Thu Nov  5 22:58:23 2015	(r400876)
@@ -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

Added: head/misc/fortune-mod-psalms/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/fortune-mod-psalms/Makefile	Thu Nov  5 22:58:23 2015	(r400876)
@@ -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 at 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>

Added: head/misc/fortune-mod-psalms/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/fortune-mod-psalms/distinfo	Thu Nov  5 22:58:23 2015	(r400876)
@@ -0,0 +1,2 @@
+SHA256 (fortune-mod-psalms.tar.gz) = 26ee3d434a6109dbb499db3cd4a570b5a8d112201166b9f853212538b0fb64e5
+SIZE (fortune-mod-psalms.tar.gz) = 107329

Added: head/misc/fortune-mod-psalms/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/fortune-mod-psalms/files/pkg-message.in	Thu Nov  5 22:58:23 2015	(r400876)
@@ -0,0 +1 @@
+Usage: fortune %%PREFIX%%/share/games/fortune/psalms

Added: head/misc/fortune-mod-psalms/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/fortune-mod-psalms/pkg-descr	Thu Nov  5 22:58:23 2015	(r400876)
@@ -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.


More information about the svn-ports-all mailing list