summaryrefslogtreecommitdiff
path: root/www/zope25-Fortune
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2002-10-01 17:55:43 +0000
committerdrochner <drochner@pkgsrc.org>2002-10-01 17:55:43 +0000
commitebe4ae83460bb0eda614a22cc4a48e99acd23f84 (patch)
tree39e6b4f966a81b5d13ade6b3e084e9bd98f8745d /www/zope25-Fortune
parent5d2c1a6c1ab5ab0d915200fe5134bac15c51808d (diff)
downloadpkgsrc-ebe4ae83460bb0eda614a22cc4a48e99acd23f84.tar.gz
fun with Zope: insert fortune(6) cookies
(XXX doesn't work well with our rot13'd files)
Diffstat (limited to 'www/zope25-Fortune')
-rw-r--r--www/zope25-Fortune/DESCR5
-rw-r--r--www/zope25-Fortune/Makefile16
-rw-r--r--www/zope25-Fortune/PLIST10
-rw-r--r--www/zope25-Fortune/distinfo5
-rw-r--r--www/zope25-Fortune/patches/patch-aa8
5 files changed, 44 insertions, 0 deletions
diff --git a/www/zope25-Fortune/DESCR b/www/zope25-Fortune/DESCR
new file mode 100644
index 00000000000..b60cd45c358
--- /dev/null
+++ b/www/zope25-Fortune/DESCR
@@ -0,0 +1,5 @@
+Selects a random quote from a quote database as used by the ``fortune'' BSD
+prgram standard on most Unix installations.
+
+If your fortune databases are not in /usr/share/games/fortunes then you need
+to edit fortunesetup.py, sorry.
diff --git a/www/zope25-Fortune/Makefile b/www/zope25-Fortune/Makefile
new file mode 100644
index 00000000000..d18b49c2d95
--- /dev/null
+++ b/www/zope25-Fortune/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/10/01 17:55:43 drochner Exp $
+#
+
+DISTNAME= Fortune-0.5.2
+PKGNAME= zope25-Fortune-0.5.2
+CATEGORIES= www
+MASTER_SITES= http://www.zope.org/Members/lalo/Fortune/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.zope.org/Members/lalo/Fortune
+COMMENT= randomly-selected fortune cookie
+
+ZOPE_COPYPRODUCT= zope-std-copyproduct-long
+
+.include "../../www/zope25/product.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/zope25-Fortune/PLIST b/www/zope25-Fortune/PLIST
new file mode 100644
index 00000000000..bd76fc96757
--- /dev/null
+++ b/www/zope25-Fortune/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/10/01 17:55:43 drochner Exp $
+lib/zope/lib/python/Products/Fortune/FortuneTag.py
+lib/zope/lib/python/Products/Fortune/FortuneTag.pyc
+lib/zope/lib/python/Products/Fortune/README.txt
+lib/zope/lib/python/Products/Fortune/__init__.py
+lib/zope/lib/python/Products/Fortune/__init__.pyc
+lib/zope/lib/python/Products/Fortune/fortunesetup.py
+lib/zope/lib/python/Products/Fortune/fortunesetup.py.orig
+lib/zope/lib/python/Products/Fortune/fortunesetup.pyc
+@dirrm lib/zope/lib/python/Products/Fortune
diff --git a/www/zope25-Fortune/distinfo b/www/zope25-Fortune/distinfo
new file mode 100644
index 00000000000..6bcfcd6413a
--- /dev/null
+++ b/www/zope25-Fortune/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/10/01 17:55:43 drochner Exp $
+
+SHA1 (zope/Fortune-0.5.2.tar.gz) = 3d07eadd077378f530931052a55ab7e4a784bf77
+Size (zope/Fortune-0.5.2.tar.gz) = 2912 bytes
+SHA1 (patch-aa) = 61a38a9cb356e146a7e6be92c48ee8fcb20277b4
diff --git a/www/zope25-Fortune/patches/patch-aa b/www/zope25-Fortune/patches/patch-aa
new file mode 100644
index 00000000000..479b83eb4bd
--- /dev/null
+++ b/www/zope25-Fortune/patches/patch-aa
@@ -0,0 +1,8 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/10/01 17:55:43 drochner Exp $
+
+--- lib/python/Products/Fortune/fortunesetup.py.orig Mon Sep 30 17:30:58 2002
++++ lib/python/Products/Fortune/fortunesetup.py Mon Sep 30 17:31:08 2002
+@@ -1,2 +1,2 @@
+-fortunedir = '/usr/share/games/fortunes'
++fortunedir = '/usr/share/games/fortune'
+ maxfortune = 2048