Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148038761
D13214.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D13214.id.diff
View Options
Index: head/misc/Makefile
===================================================================
--- head/misc/Makefile
+++ head/misc/Makefile
@@ -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
Index: head/misc/fortune-mod-freebsd-classic/Makefile
===================================================================
--- head/misc/fortune-mod-freebsd-classic/Makefile
+++ head/misc/fortune-mod-freebsd-classic/Makefile
@@ -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>
Index: head/misc/fortune-mod-freebsd-classic/distinfo
===================================================================
--- head/misc/fortune-mod-freebsd-classic/distinfo
+++ head/misc/fortune-mod-freebsd-classic/distinfo
@@ -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
Index: head/misc/fortune-mod-freebsd-classic/pkg-descr
===================================================================
--- head/misc/fortune-mod-freebsd-classic/pkg-descr
+++ head/misc/fortune-mod-freebsd-classic/pkg-descr
@@ -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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 16, 8:31 AM (4 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29762086
Default Alt Text
D13214.id.diff (2 KB)
Attached To
Mode
D13214: New port: misc/fortune-mod-freebsd-classic: Classic FreeBSD fortunes (including offensives)
Attached
Detach File
Event Timeline
Log In to Comment