Index: misc/fortune-mod-freebsd-classic/Makefile =================================================================== --- misc/fortune-mod-freebsd-classic/Makefile (nonexistent) +++ misc/fortune-mod-freebsd-classic/Makefile (working copy) @@ -0,0 +1,44 @@ +# Created by: jdc@koitsu.org +# $FreeBSD$ + +PORTNAME= fortune-mod-freebsd-classic +PORTVERSION= 20171121 +CATEGORIES= misc + +MAINTAINER= jdc@koitsu.org +COMMENT= Classic FreeBSD fortunes (incl. 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 + +.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 + +SRCF= fortunes gerrold.limerick limerick murphy murphy-o startrek zippy +PLIST_FILES= ${SRCF:S|^|share/games/fortune/|} ${SRCF:S|^|share/games/fortune/|:S|$|.dat|} + +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 Property changes on: misc/fortune-mod-freebsd-classic/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: misc/fortune-mod-freebsd-classic/distinfo =================================================================== --- misc/fortune-mod-freebsd-classic/distinfo (nonexistent) +++ misc/fortune-mod-freebsd-classic/distinfo (working copy) @@ -0,0 +1,3 @@ +TIMESTAMP = 1511322487 +SHA256 (koitsu-fortune-mod-freebsd-classic-20171121-58ee9c5_GH0.tar.gz) = 4fd3376dad7e1b5682709ed6f62e30342da724e70e828a79b31e5bbce23c46f7 +SIZE (koitsu-fortune-mod-freebsd-classic-20171121-58ee9c5_GH0.tar.gz) = 1045867 Property changes on: misc/fortune-mod-freebsd-classic/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: misc/fortune-mod-freebsd-classic/pkg-descr =================================================================== --- misc/fortune-mod-freebsd-classic/pkg-descr (nonexistent) +++ misc/fortune-mod-freebsd-classic/pkg-descr (working copy) @@ -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 Property changes on: misc/fortune-mod-freebsd-classic/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property