1bb7cbc805
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
41 lines
864 B
Makefile
41 lines
864 B
Makefile
# 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>
|