Date: Sat, 25 Nov 2017 10:16:31 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r454877 - in head/misc: . fortune-mod-freebsd-classic Message-ID: <201711251016.vAPAGV78054488@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Sat Nov 25 10:16:31 2017 New Revision: 454877 URL: https://svnweb.freebsd.org/changeset/ports/454877 Log: New port: misc/fortune-mod-freebsd-classic: Classic FreeBSD fortunes (including offensives) PR: 223798 Submitted by: Jeremy Chadwick <jdc@koitsu.org> Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D13214 Added: head/misc/fortune-mod-freebsd-classic/ head/misc/fortune-mod-freebsd-classic/Makefile (contents, props changed) head/misc/fortune-mod-freebsd-classic/distinfo (contents, props changed) head/misc/fortune-mod-freebsd-classic/pkg-descr (contents, props changed) Modified: head/misc/Makefile Modified: head/misc/Makefile ============================================================================== --- head/misc/Makefile Sat Nov 25 09:18:26 2017 (r454876) +++ head/misc/Makefile Sat Nov 25 10:16:31 2017 (r454877) @@ -97,6 +97,7 @@ SUBDIR += fortune-mod-bible SUBDIR += fortune-mod-bofh SUBDIR += fortune-mod-epictetus + SUBDIR += fortune-mod-freebsd-classic SUBDIR += fortune-mod-futurama SUBDIR += fortune-mod-psalms SUBDIR += fortuneit Added: head/misc/fortune-mod-freebsd-classic/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/fortune-mod-freebsd-classic/Makefile Sat Nov 25 10:16:31 2017 (r454877) @@ -0,0 +1,44 @@ +# $FreeBSD$ + +PORTNAME= fortune-mod-freebsd-classic +DISTVERSION= g20171121 +CATEGORIES= misc + +MAINTAINER= jdc@koitsu.org +COMMENT= Classic FreeBSD fortunes (including offensives) + +# LICENSE is intentionally unset. Some fortune files, such as +# gerrold.limerick, are copyright the author but used with permission. +# Others have no license defined in them. I get the impression many +# are Public Domain or possibly BSD4CLAUSE -- consider fortune was +# originally written by Ken Arnold at UC Berkeley; the FreeBSD +# fortune import was from 4.4BSD-Lite circa 1995. + +USE_GITHUB= yes +GH_ACCOUNT= koitsu +GH_TAGNAME= 58ee9c5 +NO_ARCH= yes + +SRCF= fortunes gerrold.limerick limerick murphy murphy-o startrek zippy +PLIST_FILES= ${SRCF:S|^|share/games/fortune/|} ${SRCF:S|^|share/games/fortune/|:S|$|.dat|} + +.if exists(/usr/games/strfile) +_STRFILE= /usr/games/strfile +.elif exists(/usr/bin/strfile) +_STRFILE= /usr/bin/strfile +.else +IGNORE= needs strfile command. Please install games distribution of base system +.endif + +do-build: +.for f in ${SRCF} + @${_STRFILE} -Cs ${WRKSRC}/datfiles/${f} ${WRKSRC}/datfiles/${f}.dat +.endfor + +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune +.for f in ${SRCF} + ${INSTALL_DATA} ${WRKSRC}/datfiles/${f} ${WRKSRC}/datfiles/${f}.dat ${STAGEDIR}${PREFIX}/share/games/fortune +.endfor + +.include <bsd.port.mk> Added: head/misc/fortune-mod-freebsd-classic/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/fortune-mod-freebsd-classic/distinfo Sat Nov 25 10:16:31 2017 (r454877) @@ -0,0 +1,3 @@ +TIMESTAMP = 1511467012 +SHA256 (koitsu-fortune-mod-freebsd-classic-g20171121-58ee9c5_GH0.tar.gz) = 4fd3376dad7e1b5682709ed6f62e30342da724e70e828a79b31e5bbce23c46f7 +SIZE (koitsu-fortune-mod-freebsd-classic-g20171121-58ee9c5_GH0.tar.gz) = 1045867 Added: head/misc/fortune-mod-freebsd-classic/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/fortune-mod-freebsd-classic/pkg-descr Sat Nov 25 10:16:31 2017 (r454877) @@ -0,0 +1,4 @@ +fortune-mod-freebsd-classic contains of all the "classic" FreeBSD +fortunes, including offensives. + +WWW: https://github.com/koitsu/fortune-mod-freebsd-classic
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711251016.vAPAGV78054488>