summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-03-03 14:15:42 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-03-03 14:15:42 +0000
commit5089ff66f1ec7f7c9050fc8fcf0551c2d75a32e0 (patch)
treecf7629034ab9fe70f5b2f0efb9c34e8e91747f10 /misc
parent- Fix build on alpha (diff)
Add fortune-mod-bofh, a selection of quotes from Bastard Operator From Hell.
PR: ports/63687 Submitted by: Yonatan Bokovza <Yonatan@Xpert.com>
Notes
Notes: svn path=/head/; revision=102829
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile1
-rw-r--r--misc/fortune-mod-bofh/Makefile31
-rw-r--r--misc/fortune-mod-bofh/distinfo2
-rw-r--r--misc/fortune-mod-bofh/pkg-descr4
-rw-r--r--misc/fortune-mod-bofh/pkg-message5
-rw-r--r--misc/fortune-mod-bofh/pkg-plist4
6 files changed, 47 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 1ecec9190755..906b6702fa6c 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -82,6 +82,7 @@
SUBDIR += firestring
SUBDIR += floatator
SUBDIR += flyway
+ SUBDIR += fortune-mod-bofh
SUBDIR += fortune-mod-futurama
SUBDIR += fortuneit
SUBDIR += freedialog
diff --git a/misc/fortune-mod-bofh/Makefile b/misc/fortune-mod-bofh/Makefile
new file mode 100644
index 000000000000..89c84938006f
--- /dev/null
+++ b/misc/fortune-mod-bofh/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: fortune-mod-bofh
+# Date created: 3/3/2004
+# Whom: Yonatan@Xpert.com
+#
+# $FreeBSD$
+#
+
+PORTNAME= fortune-mod-bofh
+PORTVERSION= 2.0
+CATEGORIES= misc
+MASTER_SITES= http://www.geocities.com/bofn1001/
+DISTNAME= bofh-fortune-mod${PORTVERSION}
+
+MAINTAINER= Yonatan@Xpert.com
+COMMENT= Compilation of excuses from the "Bastard Operator From Hell"
+
+NO_BUILD= yes
+
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
+post-patch:
+ @${CAT} pkg-message | ${SED} 's|PREFIX|${PREFIX}|' > ${PKGMESSAGE}
+
+do-install:
+ @${MKDIR} ${PREFIX}/share/games
+ @${MKDIR} ${PREFIX}/share/games/fortune
+ @${INSTALL_DATA} ${WRKSRC}/bofh ${PREFIX}/share/games/fortune
+ @${INSTALL_DATA} ${WRKSRC}/bofh.dat ${PREFIX}/share/games/fortune
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/misc/fortune-mod-bofh/distinfo b/misc/fortune-mod-bofh/distinfo
new file mode 100644
index 000000000000..31780c6c5a22
--- /dev/null
+++ b/misc/fortune-mod-bofh/distinfo
@@ -0,0 +1,2 @@
+MD5 (bofh-fortune-mod2.0.tar.gz) = 50d75ae377e7758dd69722b29f032974
+SIZE (bofh-fortune-mod2.0.tar.gz) = 13564
diff --git a/misc/fortune-mod-bofh/pkg-descr b/misc/fortune-mod-bofh/pkg-descr
new file mode 100644
index 000000000000..3a9734133c07
--- /dev/null
+++ b/misc/fortune-mod-bofh/pkg-descr
@@ -0,0 +1,4 @@
+fortune-mod-bofh is a an excuse list, compiled by Joris Huver, in spirit
+of the Bastard Operator From Hell stories by Simon Travaglia.
+
+WWW: http://www.geocities.com/bofn1001/
diff --git a/misc/fortune-mod-bofh/pkg-message b/misc/fortune-mod-bofh/pkg-message
new file mode 100644
index 000000000000..6e2c5f308126
--- /dev/null
+++ b/misc/fortune-mod-bofh/pkg-message
@@ -0,0 +1,5 @@
+* * *
+
+Usage: fortune PREFIX/share/games/fortune/bofh
+
+* * *
diff --git a/misc/fortune-mod-bofh/pkg-plist b/misc/fortune-mod-bofh/pkg-plist
new file mode 100644
index 000000000000..51f21261e84a
--- /dev/null
+++ b/misc/fortune-mod-bofh/pkg-plist
@@ -0,0 +1,4 @@
+share/games/fortune/bofh
+share/games/fortune/bofh.dat
+@unexec rmdir %D/share/games/fortune 2>/dev/null || true
+@unexec rmdir %D/share/games 2>/dev/null || true