diff options
author | minskim <minskim@pkgsrc.org> | 2005-01-15 16:18:39 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-01-15 16:18:39 +0000 |
commit | e8c9ba20be179a85cb57b7c25dc63ecb091f3029 (patch) | |
tree | 72b3e14833bd5fb34f9905da7039723fb280b2a8 /www/instiki | |
parent | f3ccece9265a58693c906baecc997c9d4e81d8a4 (diff) | |
download | pkgsrc-e8c9ba20be179a85cb57b7c25dc63ecb091f3029.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')
-rw-r--r-- | www/instiki/DESCR | 5 | ||||
-rw-r--r-- | www/instiki/Makefile | 46 | ||||
-rw-r--r-- | www/instiki/PLIST | 97 | ||||
-rw-r--r-- | www/instiki/distinfo | 4 | ||||
-rw-r--r-- | www/instiki/files/instiki.sh | 24 |
5 files changed, 176 insertions, 0 deletions
diff --git a/www/instiki/DESCR b/www/instiki/DESCR new file mode 100644 index 00000000000..04b3d6f009d --- /dev/null +++ b/www/instiki/DESCR @@ -0,0 +1,5 @@ +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. diff --git a/www/instiki/Makefile b/www/instiki/Makefile new file mode 100644 index 00000000000..4bed2b81b82 --- /dev/null +++ b/www/instiki/Makefile @@ -0,0 +1,46 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/01/15 16:18:39 minskim Exp $ + +DISTNAME= instiki-0.9.2 +CATEGORIES= www +MASTER_SITES= http://rubyforge.org/frs/download.php/2515/ +EXTRACT_SUFX= .tgz + +MAINTAINER= minskim@NetBSD.org +HOMEPAGE= http://instiki.org/ +COMMENT= Wiki clone that focuses on simple installation and running + +DEPENDS+= ruby${RUBY_VER}>=1.8.1:../../lang/ruby +DEPENDS+= ruby${RUBY_VER}-digest-[0-9]*:../../security/ruby-digest +DEPENDS+= ruby${RUBY_VER}-zlib-[0-9]*:../../devel/ruby-zlib + +NO_BUILD= # defined +USE_PKGINSTALL= yes + +RCD_SCRIPTS= instiki +FILES_SUBST+= RUBY=${RUBY} + +RUBY_VERSION_SUPPORTED= 18 +REPLACE_RUBY= instiki + +INSTIKI_DIR= ${PREFIX}/share/${PKGBASE} + +post-patch: + ${MV} ${WRKSRC}/instiki ${WRKSRC}/instiki.tmp + ${TR} -d '\015' < ${WRKSRC}/instiki.tmp > ${WRKSRC}/instiki + +.include "../../lang/ruby/replace.mk" +.include "../../lang/ruby/rubyversion.mk" + +do-install: + ${INSTALL_DATA_DIR} ${INSTIKI_DIR} +.for d in app libraries + cd ${WRKSRC} && ${CP} -R $d ${INSTIKI_DIR} + ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTIKI_DIR}/$d +.endfor + ${FIND} ${INSTIKI_DIR} -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE} + ${FIND} ${INSTIKI_DIR} -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE} + ${INSTALL_SCRIPT} ${WRKSRC}/instiki ${INSTIKI_DIR} + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PKGBASE} + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/${PKGBASE} + +.include "../../mk/bsd.pkg.mk" diff --git a/www/instiki/PLIST b/www/instiki/PLIST new file mode 100644 index 00000000000..7a16fd50a55 --- /dev/null +++ b/www/instiki/PLIST @@ -0,0 +1,97 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/15 16:18:39 minskim Exp $ +share/doc/instiki/README +share/instiki/app/controllers/wiki.rb +share/instiki/app/models/author.rb +share/instiki/app/models/chunks/category.rb +share/instiki/app/models/chunks/category_test.rb +share/instiki/app/models/chunks/chunk.rb +share/instiki/app/models/chunks/engines.rb +share/instiki/app/models/chunks/include.rb +share/instiki/app/models/chunks/literal.rb +share/instiki/app/models/chunks/match.rb +share/instiki/app/models/chunks/nowiki.rb +share/instiki/app/models/chunks/nowiki_test.rb +share/instiki/app/models/chunks/test.rb +share/instiki/app/models/chunks/uri.rb +share/instiki/app/models/chunks/uri_test.rb +share/instiki/app/models/chunks/wiki.rb +share/instiki/app/models/chunks/wiki_test.rb +share/instiki/app/models/page.rb +share/instiki/app/models/page_lock.rb +share/instiki/app/models/page_set.rb +share/instiki/app/models/page_test.rb +share/instiki/app/models/revision.rb +share/instiki/app/models/revision_test.rb +share/instiki/app/models/web.rb +share/instiki/app/models/web_test.rb +share/instiki/app/models/wiki_content.rb +share/instiki/app/models/wiki_service.rb +share/instiki/app/models/wiki_service_test.rb +share/instiki/app/models/wiki_words.rb +share/instiki/app/models/wiki_words_test.rb +share/instiki/app/views/bottom.rhtml +share/instiki/app/views/markdown_help.rhtml +share/instiki/app/views/navigation.rhtml +share/instiki/app/views/rdoc_help.rhtml +share/instiki/app/views/static_style_sheet.rhtml +share/instiki/app/views/textile_help.rhtml +share/instiki/app/views/top.rhtml +share/instiki/app/views/wiki/authors.rhtml +share/instiki/app/views/wiki/edit.rhtml +share/instiki/app/views/wiki/edit_web.rhtml +share/instiki/app/views/wiki/export.rhtml +share/instiki/app/views/wiki/feeds.rhtml +share/instiki/app/views/wiki/list.rhtml +share/instiki/app/views/wiki/locked.rhtml +share/instiki/app/views/wiki/login.rhtml +share/instiki/app/views/wiki/new.rhtml +share/instiki/app/views/wiki/new_system.rhtml +share/instiki/app/views/wiki/new_web.rhtml +share/instiki/app/views/wiki/page.rhtml +share/instiki/app/views/wiki/print.rhtml +share/instiki/app/views/wiki/published.rhtml +share/instiki/app/views/wiki/recently_revised.rhtml +share/instiki/app/views/wiki/revision.rhtml +share/instiki/app/views/wiki/rollback.rhtml +share/instiki/app/views/wiki/rss_feed.rhtml +share/instiki/app/views/wiki/search.rhtml +share/instiki/app/views/wiki/tex.rhtml +share/instiki/app/views/wiki/tex_web.rhtml +share/instiki/app/views/wiki/web_list.rhtml +share/instiki/app/views/wiki_words_help.rhtml +share/instiki/instiki +share/instiki/libraries/action_controller_servlet.rb +share/instiki/libraries/bluecloth.rb +share/instiki/libraries/diff/diff.rb +share/instiki/libraries/diff/diff_test.rb +share/instiki/libraries/erb.rb +share/instiki/libraries/madeleine.rb +share/instiki/libraries/madeleine/automatic.rb +share/instiki/libraries/madeleine/clock.rb +share/instiki/libraries/madeleine/files.rb +share/instiki/libraries/madeleine/zmarshal.rb +share/instiki/libraries/madeleine_service.rb +share/instiki/libraries/rdocsupport.rb +share/instiki/libraries/redcloth.rb +share/instiki/libraries/redcloth_for_tex.rb +share/instiki/libraries/redcloth_for_tex_test.rb +share/instiki/libraries/view_helper.rb +share/instiki/libraries/web_controller_server.rb +share/instiki/libraries/zip/ioextras.rb +share/instiki/libraries/zip/stdrubyext.rb +share/instiki/libraries/zip/tempfile_bugfixed.rb +share/instiki/libraries/zip/zip.rb +share/instiki/libraries/zip/zipfilesystem.rb +share/instiki/libraries/zip/ziprequire.rb +@dirrm share/instiki/libraries/zip +@dirrm share/instiki/libraries/madeleine +@dirrm share/instiki/libraries/diff +@dirrm share/instiki/libraries +@dirrm share/instiki/app/views/wiki +@dirrm share/instiki/app/views +@dirrm share/instiki/app/models/chunks +@dirrm share/instiki/app/models +@dirrm share/instiki/app/controllers +@dirrm share/instiki/app +@dirrm share/instiki +@dirrm share/doc/instiki diff --git a/www/instiki/distinfo b/www/instiki/distinfo new file mode 100644 index 00000000000..8c71f794aed --- /dev/null +++ b/www/instiki/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/01/15 16:18:39 minskim Exp $ + +SHA1 (instiki-0.9.2.tgz) = 9b90d83ec911cbaffce483cc6d15904b69eb8ff9 +Size (instiki-0.9.2.tgz) = 91651 bytes 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 |