diff options
author | edwin <edwin@FreeBSD.org> | 2005-04-25 16:17:48 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2005-04-25 16:17:48 +0800 |
commit | 749d52714df184ced0ff3236d9f42068a87779c1 (patch) | |
tree | 0126b6b4ac268899172226f0851a5f3fcd1b90df | |
parent | 903689b437e6e7cb6aa450d1b6fbd075687da709 (diff) | |
download | freebsd-ports-gnome-749d52714df184ced0ff3236d9f42068a87779c1.tar.gz freebsd-ports-gnome-749d52714df184ced0ff3236d9f42068a87779c1.tar.zst freebsd-ports-gnome-749d52714df184ced0ff3236d9f42068a87779c1.zip |
New Port: www/instiki
Instiki is a wiki clone implemented in ruby with no
dependencies other than ruby-1.8.1 or greater. Instiki was
written and is maintained by David Heinemeier Hansson.
Homepage is WWW://www.instiki.org
PR: ports/76507
Submitted by: Kelley Reynolds <kelley@insidesystems.net>
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/instiki/Makefile | 43 | ||||
-rw-r--r-- | www/instiki/distinfo | 2 | ||||
-rw-r--r-- | www/instiki/files/instiki.sh | 29 | ||||
-rw-r--r-- | www/instiki/pkg-descr | 7 | ||||
-rw-r--r-- | www/instiki/pkg-plist | 100 |
6 files changed, 182 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 6b3291e99237..6b35fda447b8 100644 --- a/www/Makefile +++ b/www/Makefile @@ -168,6 +168,7 @@ SUBDIR += igal SUBDIR += imgsizer SUBDIR += indexme + SUBDIR += instiki SUBDIR += interchange SUBDIR += ismail SUBDIR += jakarta-jmeter diff --git a/www/instiki/Makefile b/www/instiki/Makefile new file mode 100644 index 000000000000..9b8f258a3c29 --- /dev/null +++ b/www/instiki/Makefile @@ -0,0 +1,43 @@ +# New ports collection makefile for: instiki +# Date created: 4 January 2005 +# Whom: Kelley Reynolds <kelley@insidesystems.net> +# +# $FreeBSD$ +# + +PORTNAME= instiki +PORTVERSION= 0.9.2 +CATEGORIES= www ruby +MASTER_SITES= http://rubyforge.org/frs/download.php/2515/ + +MAINTAINER= kelley@insidesystems.net +COMMENT= Easy to set up wiki clone implemented in ruby + +NO_BUILD= yes +USE_RUBY= yes +USE_RUBY_FEATURES= 1.8 +INSTIKIDIR?= instiki + +PLIST_SUB= INSTIKIDIR=${INSTIKIDIR}/ + +USE_RC_SUBR= yes +SED_SCRIPT= -e 's,%%RC_SUBR%%,${RC_SUBR},g' \ + -e 's,%%PREFIX%%,${PREFIX},g' \ + -e 's,%%INSTIKIDIR%%,${INSTIKIDIR},g' \ + -e 's,%%INSTIKIPORT%%,${INSTIKIPORT},g' \ + -e 's,%%RUBY_WITHOUT_SUFFIX%%,${RUBY_WITHOUT_SUFFIX},g' + +INSTIKIPORT?= 2500 + +pre-install: + @${SED} ${SED_SCRIPT} ${FILESDIR}/${PORTNAME}.sh >${WRKDIR}/${PORTNAME}.sh + +do-install: + ${CP} -pR ${WRKSRC}/ ${PREFIX}/${INSTIKIDIR} + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/etc/rc.d/${PORTNAME}.sh + ${MKDIR} ${PREFIX}/${INSTIKIDIR}/storage/${INSTIKIPORT} + ${CHMOD} +x ${PREFIX}/${INSTIKIDIR}/instiki +# Use 'col' to ditch the DOS control characters (for version 0.9.2, this could change) + ${CAT} ${PREFIX}/${INSTIKIDIR}/instiki | col > ${PREFIX}/${INSTIKIDIR}/instiki + +.include <bsd.port.mk> diff --git a/www/instiki/distinfo b/www/instiki/distinfo new file mode 100644 index 000000000000..250e9189bec0 --- /dev/null +++ b/www/instiki/distinfo @@ -0,0 +1,2 @@ +MD5 (instiki-0.9.2.tar.gz) = 87420e4b7df67b4a0f2bba5d9698c5f9 +SIZE (instiki-0.9.2.tar.gz) = 91651 diff --git a/www/instiki/files/instiki.sh b/www/instiki/files/instiki.sh new file mode 100644 index 000000000000..8aaa9b22d44b --- /dev/null +++ b/www/instiki/files/instiki.sh @@ -0,0 +1,29 @@ +#!/bin/sh +# +# PROVIDE: instiki +# REQUIRE: DAEMON +# KEYWORD: FreeBSD +# +# Add the following line to /etc/rc.conf to enable instiki: +# instiki_enable (bool): Set to "NO" by default +# Set it to "YES" to enable instiki +# instiki_flags (str): Set to "--port %%INSTIKIPORT%% --storage %%PREFIX%%/%%INSTIKIDIR%%/storage" by default. +# Extra flags passed to start command +# +. %%RC_SUBR%% + +name="instiki" +rcvar=`set_rcvar` + +command="%%PREFIX%%/%%INSTIKIDIR%%/instiki" +command_interpreter="%%RUBY_WITHOUT_SUFFIX%%" + +[ -z "$instiki_enable" ] && instiki_enable="NO" +[ -z "$instiki_flags" ] && instiki_flags="--port %%INSTIKIPORT%% --storage %%PREFIX%%/%%INSTIKIDIR%%/storage" + +load_rc_config $name + +sig_stop=-TERM + +run_rc_command "$1" + diff --git a/www/instiki/pkg-descr b/www/instiki/pkg-descr new file mode 100644 index 000000000000..20af570231a9 --- /dev/null +++ b/www/instiki/pkg-descr @@ -0,0 +1,7 @@ +Instiki is a wiki clone implemented in ruby with no dependencies +other than ruby-1.8.1 or greater. Instiki was written and is +maintained by David Heinemeier Hansson. Homepage is +WWW://www.instiki.org + +- Kelley Reynolds +kelley@insidesystems.net diff --git a/www/instiki/pkg-plist b/www/instiki/pkg-plist new file mode 100644 index 000000000000..879b528104ec --- /dev/null +++ b/www/instiki/pkg-plist @@ -0,0 +1,100 @@ +etc/rc.d/instiki.sh + +%%INSTIKIDIR%%app/controllers/wiki.rb +%%INSTIKIDIR%%app/models/author.rb +%%INSTIKIDIR%%app/models/chunks/category.rb +%%INSTIKIDIR%%app/models/chunks/category_test.rb +%%INSTIKIDIR%%app/models/chunks/chunk.rb +%%INSTIKIDIR%%app/models/chunks/engines.rb +%%INSTIKIDIR%%app/models/chunks/include.rb +%%INSTIKIDIR%%app/models/chunks/literal.rb +%%INSTIKIDIR%%app/models/chunks/match.rb +%%INSTIKIDIR%%app/models/chunks/nowiki.rb +%%INSTIKIDIR%%app/models/chunks/nowiki_test.rb +%%INSTIKIDIR%%app/models/chunks/test.rb +%%INSTIKIDIR%%app/models/chunks/uri.rb +%%INSTIKIDIR%%app/models/chunks/uri_test.rb +%%INSTIKIDIR%%app/models/chunks/wiki.rb +%%INSTIKIDIR%%app/models/chunks/wiki_test.rb +%%INSTIKIDIR%%app/models/page.rb +%%INSTIKIDIR%%app/models/page_lock.rb +%%INSTIKIDIR%%app/models/page_set.rb +%%INSTIKIDIR%%app/models/page_test.rb +%%INSTIKIDIR%%app/models/revision.rb +%%INSTIKIDIR%%app/models/revision_test.rb +%%INSTIKIDIR%%app/models/web.rb +%%INSTIKIDIR%%app/models/web_test.rb +%%INSTIKIDIR%%app/models/wiki_content.rb +%%INSTIKIDIR%%app/models/wiki_service.rb +%%INSTIKIDIR%%app/models/wiki_service_test.rb +%%INSTIKIDIR%%app/models/wiki_words.rb +%%INSTIKIDIR%%app/models/wiki_words_test.rb +%%INSTIKIDIR%%app/views/bottom.rhtml +%%INSTIKIDIR%%app/views/markdown_help.rhtml +%%INSTIKIDIR%%app/views/navigation.rhtml +%%INSTIKIDIR%%app/views/rdoc_help.rhtml +%%INSTIKIDIR%%app/views/static_style_sheet.rhtml +%%INSTIKIDIR%%app/views/textile_help.rhtml +%%INSTIKIDIR%%app/views/top.rhtml +%%INSTIKIDIR%%app/views/wiki/authors.rhtml +%%INSTIKIDIR%%app/views/wiki/edit.rhtml +%%INSTIKIDIR%%app/views/wiki/edit_web.rhtml +%%INSTIKIDIR%%app/views/wiki/export.rhtml +%%INSTIKIDIR%%app/views/wiki/feeds.rhtml +%%INSTIKIDIR%%app/views/wiki/list.rhtml +%%INSTIKIDIR%%app/views/wiki/locked.rhtml +%%INSTIKIDIR%%app/views/wiki/login.rhtml +%%INSTIKIDIR%%app/views/wiki/new.rhtml +%%INSTIKIDIR%%app/views/wiki/new_system.rhtml +%%INSTIKIDIR%%app/views/wiki/new_web.rhtml +%%INSTIKIDIR%%app/views/wiki/page.rhtml +%%INSTIKIDIR%%app/views/wiki/print.rhtml +%%INSTIKIDIR%%app/views/wiki/published.rhtml +%%INSTIKIDIR%%app/views/wiki/recently_revised.rhtml +%%INSTIKIDIR%%app/views/wiki/revision.rhtml +%%INSTIKIDIR%%app/views/wiki/rollback.rhtml +%%INSTIKIDIR%%app/views/wiki/rss_feed.rhtml +%%INSTIKIDIR%%app/views/wiki/search.rhtml +%%INSTIKIDIR%%app/views/wiki/tex.rhtml +%%INSTIKIDIR%%app/views/wiki/tex_web.rhtml +%%INSTIKIDIR%%app/views/wiki/web_list.rhtml +%%INSTIKIDIR%%app/views/wiki_words_help.rhtml +%%INSTIKIDIR%%libraries/action_controller_servlet.rb +%%INSTIKIDIR%%libraries/bluecloth.rb +%%INSTIKIDIR%%libraries/diff/diff.rb +%%INSTIKIDIR%%libraries/diff/diff_test.rb +%%INSTIKIDIR%%libraries/erb.rb +%%INSTIKIDIR%%libraries/madeleine/automatic.rb +%%INSTIKIDIR%%libraries/madeleine/clock.rb +%%INSTIKIDIR%%libraries/madeleine/files.rb +%%INSTIKIDIR%%libraries/madeleine/zmarshal.rb +%%INSTIKIDIR%%libraries/madeleine.rb +%%INSTIKIDIR%%libraries/madeleine_service.rb +%%INSTIKIDIR%%libraries/rdocsupport.rb +%%INSTIKIDIR%%libraries/redcloth.rb +%%INSTIKIDIR%%libraries/redcloth_for_tex.rb +%%INSTIKIDIR%%libraries/redcloth_for_tex_test.rb +%%INSTIKIDIR%%libraries/view_helper.rb +%%INSTIKIDIR%%libraries/web_controller_server.rb +%%INSTIKIDIR%%libraries/zip/ioextras.rb +%%INSTIKIDIR%%libraries/zip/stdrubyext.rb +%%INSTIKIDIR%%libraries/zip/tempfile_bugfixed.rb +%%INSTIKIDIR%%libraries/zip/zip.rb +%%INSTIKIDIR%%libraries/zip/zipfilesystem.rb +%%INSTIKIDIR%%libraries/zip/ziprequire.rb +%%INSTIKIDIR%%instiki +%%INSTIKIDIR%%README +@dirrm %%INSTIKIDIR%%app/controllers +@dirrm %%INSTIKIDIR%%app/models/chunks +@dirrm %%INSTIKIDIR%%app/models +@dirrm %%INSTIKIDIR%%app/views/wiki +@dirrm %%INSTIKIDIR%%app/views +@dirrm %%INSTIKIDIR%%app +@dirrm %%INSTIKIDIR%%libraries/diff +@dirrm %%INSTIKIDIR%%libraries/madeleine +@dirrm %%INSTIKIDIR%%libraries/zip +@dirrm %%INSTIKIDIR%%libraries +@dirrm %%INSTIKIDIR%%storage/2500 +@dirrm %%INSTIKIDIR%%storage +@dirrm %%INSTIKIDIR%% + |