From owner-svn-ports-all@freebsd.org Sat Nov 25 10:16:33 2017 Return-Path: Delivered-To: svn-ports-all@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 226A4DC1CA7; Sat, 25 Nov 2017 10:16:33 +0000 (UTC) (envelope-from yuri@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 ED25B7C5FD; Sat, 25 Nov 2017 10:16:32 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vAPAGWbE054492; Sat, 25 Nov 2017 10:16:32 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vAPAGV78054488; Sat, 25 Nov 2017 10:16:31 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201711251016.vAPAGV78054488@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sat, 25 Nov 2017 10:16:31 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/misc: . fortune-mod-freebsd-classic X-SVN-Commit-Revision: 454877 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Nov 2017 10:16:33 -0000 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 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 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