summaryrefslogtreecommitdiff
path: root/www/instiki/files
diff options
context:
space:
mode:
authorminskim <minskim>2005-01-15 16:18:39 +0000
committerminskim <minskim>2005-01-15 16:18:39 +0000
commitde61858693cd5091bb9ea4c9b8477ed5be3da59b (patch)
tree72b3e14833bd5fb34f9905da7039723fb280b2a8 /www/instiki/files
parentd1be63b1b36110ad3b1a5ac31441e28af7738ba3 (diff)
downloadpkgsrc-de61858693cd5091bb9ea4c9b8477ed5be3da59b.tar.gz
Import instiki-0.9.2.
Instiki is a wiki clone with a strong focus on simplicity of installation and running. Instiki lowers the barriers of interest for when you might consider using a wiki. It is so simple to get running that you'll find yourself using it for anything -- taking notes, brainstorming, organizing a gathering, etc.
Diffstat (limited to 'www/instiki/files')
-rw-r--r--www/instiki/files/instiki.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/www/instiki/files/instiki.sh b/www/instiki/files/instiki.sh
new file mode 100644
index 00000000000..3f263a4f924
--- /dev/null
+++ b/www/instiki/files/instiki.sh
@@ -0,0 +1,24 @@
+#!/bin/sh
+#
+# $NetBSD: instiki.sh,v 1.1.1.1 2005/01/15 16:18:39 minskim Exp $
+#
+
+# PROVIDE: instiki
+
+if [ -f /etc/rc.subr ]; then
+ . /etc/rc.subr
+fi
+
+name="instiki"
+rcvar=${name}
+command="@PREFIX@/share/instiki/${name}"
+command_args="-t @VARBASE@/instiki"
+command_interpreter="@RUBY@"
+
+if [ -f /etc/rc.subr ]; then
+ load_rc_config ${name}
+ run_rc_command "$1"
+else
+ @ECHO_N@ " ${name}"
+ ${command} ${instiki_flags} ${command_args}
+fi