aboutsummaryrefslogtreecommitdiff
path: root/www/momspider/files/momspider.sh
diff options
context:
space:
mode:
Diffstat (limited to 'www/momspider/files/momspider.sh')
-rw-r--r--www/momspider/files/momspider.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/momspider/files/momspider.sh b/www/momspider/files/momspider.sh
new file mode 100644
index 000000000000..4f331a1efcf3
--- /dev/null
+++ b/www/momspider/files/momspider.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+#
+# wrapper for momspider
+#
+# MOMspider is a web-roaming robot that specializes in the maintenance
+# of distributed hypertext infostructures (i.e. wide-area webs). The
+# program is written in Perl and, once customized for your site, should
+# work on any UNIX-based system with Perl 4.036.
+#
+# The momspider documentation is in /usr/local/momspider/README.html
+#
+# $Id$
+
+PATH=/bin:/usr/bin; export PATH
+momhome=/usr/local/momspider
+
+: ${LIBWWW_PERL=$momhome/libwww-perl-0.40}; export LIBWWW_PERL
+: ${MOMSPIDER_HOME=$momhome}; export MOMSPIDER_HOME
+
+exec perl ${MOMSPIDER_HOME}/momspider "$@"