From owner-svn-ports-head@freebsd.org Thu Nov 5 22:58:25 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 61551A27123; Thu, 5 Nov 2015 22:58:25 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 212C2180A; Thu, 5 Nov 2015 22:58:25 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tA5MwO1E063037; Thu, 5 Nov 2015 22:58:24 GMT (envelope-from pawel@FreeBSD.org) Received: (from pawel@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tA5MwNed063031; Thu, 5 Nov 2015 22:58:23 GMT (envelope-from pawel@FreeBSD.org) Message-Id: <201511052258.tA5MwNed063031@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pawel set sender to pawel@FreeBSD.org using -f From: Pawel Pekala Date: Thu, 5 Nov 2015 22:58:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r400876 - in head/misc: . fortune-mod-psalms fortune-mod-psalms/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2015 22:58:25 -0000 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@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 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.