aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-04-23 17:00:59 +0800
committermiwi <miwi@FreeBSD.org>2007-04-23 17:00:59 +0800
commitcc7e99847bc269152e60d80c359f6c055b5f8d59 (patch)
tree3968d647b0d6fc7ac03e00884b5c2d834175d0cc
parentfa2b2d27138e11eabcb855e811a1eb1f3db9b003 (diff)
downloadfreebsd-ports-gnome-cc7e99847bc269152e60d80c359f6c055b5f8d59.tar.gz
freebsd-ports-gnome-cc7e99847bc269152e60d80c359f6c055b5f8d59.tar.zst
freebsd-ports-gnome-cc7e99847bc269152e60d80c359f6c055b5f8d59.zip
ikiwiki is a wiki compiler. It converts wiki pages into html pages
suitable for publishing on a website. Unlike many wikis, ikiwiki does not have its own ad-hoc means of storing page history, and instead uses a revision control system such as Subversion. WWW: http://ikiwiki.info/ PR: ports/112007 Submitted by: Henrik Brix Andersen <henrik at brixandersen.dk>
-rw-r--r--www/Makefile1
-rw-r--r--www/ikiwiki/Makefile73
-rw-r--r--www/ikiwiki/distinfo3
-rw-r--r--www/ikiwiki/files/patch-svn.pm22
-rw-r--r--www/ikiwiki/pkg-descr6
-rw-r--r--www/ikiwiki/pkg-message10
-rw-r--r--www/ikiwiki/pkg-plist158
7 files changed, 273 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index afa637d22022..a9e07c731249 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -217,6 +217,7 @@
SUBDIR += hydra
SUBDIR += hypermail
SUBDIR += igal
+ SUBDIR += ikiwiki
SUBDIR += ilias
SUBDIR += imgsizer
SUBDIR += indexme
diff --git a/www/ikiwiki/Makefile b/www/ikiwiki/Makefile
new file mode 100644
index 000000000000..ac3159251d75
--- /dev/null
+++ b/www/ikiwiki/Makefile
@@ -0,0 +1,73 @@
+# New ports collection makefile for: ikiwiki
+# Date created: 21 Apr 2007
+# Whom: Henrik Brix Andersen <henrik@brixandersen.dk>
+#
+# $FreeBSD$
+
+PORTNAME= ikiwiki
+PORTVERSION= 1.50
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
+DISTNAME= ${PORTNAME}_${PORTVERSION}
+
+MAINTAINER= henrik@brixandersen.dk
+COMMENT= A wiki compiler
+
+BUILD_DEPENDS= markdown:${PORTSDIR}/textproc/markdown \
+ ${SITE_PERL}/HTML/Scrubber.pm:${PORTSDIR}/www/p5-HTML-Scrubber \
+ ${SITE_PERL}/HTML/Template.pm:${PORTSDIR}/www/p5-HTML-Template \
+ ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \
+ ${SITE_PERL}/${PERL_ARCH}/HTML/Parser.pm:${PORTSDIR}/www/p5-HTML-Parser \
+ ${SITE_PERL}/${PERL_ARCH}/Locale/gettext.pm:${PORTSDIR}/devel/p5-Locale-gettext
+RUN_DEPENDS= ${BUILD_DEPENDS} \
+ ${SITE_PERL}/CGI/FormBuilder.pm:${PORTSDIR}/www/p5-CGI-FormBuilder \
+ ${SITE_PERL}/CGI/Session.pm:${PORTSDIR}/www/p5-CGI-Session \
+ ${SITE_PERL}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate \
+ ${SITE_PERL}/File/MimeInfo.pm:${PORTSDIR}/devel/p5-File-MimeInfo \
+ ${SITE_PERL}/Mail/Sendmail.pm:${PORTSDIR}/mail/p5-Mail-Sendmail \
+ ${SITE_PERL}/RPC/XML.pm:${PORTSDIR}/net/p5-RPC-XML \
+ ${SITE_PERL}/Time/Duration.pm:${PORTSDIR}/devel/p5-Time-Duration \
+ ${SITE_PERL}/XML/Feed.pm:${PORTSDIR}/textproc/p5-XML-Feed \
+ ${SITE_PERL}/XML/Simple.pm:${PORTSDIR}/textproc/p5-XML-Simple
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+PERL_CONFIGURE= yes
+USE_GMAKE= yes
+USE_GETTEXT= yes
+
+OPTIONS= W3M "Install w3m CGI wrapper" off
+
+MAN1= ikiwiki.1
+MAN8= ikiwiki-mass-rebuild.8
+PORTDOCS= CHANGELOG NEWS README
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_W3M)
+PLIST_SUB= W3M=""
+.else
+PLIST_SUB= W3M="@comment "
+.endif
+
+post-patch:
+ @${RM} ${WRKSRC}/IkiWiki/Rcs/svn.pm.orig
+ @${REINPLACE_CMD} -e "s|/usr/bin/markdown|${LOCALBASE}/bin/markdown|" \
+ ${WRKSRC}/IkiWiki/Plugin/mdwn.pm
+ @${REINPLACE_CMD} \
+ -e 's|$$(CP) -a|$$(CP) -pPR|' \
+ -e 's|$$(PREFIX)/share/man|$$(PREFIX)/man|' \
+ -e 's|$$(PREFIX)/lib/w3m|$$(PREFIX)/libexec/w3m|' \
+ ${WRKSRC}/Makefile.PL
+.ifndef(WITH_W3M)
+ @${REINPLACE_CMD} -e '/w3m/d' ${WRKSRC}/Makefile.PL
+.endif
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S@^@${WRKSRC}/@} ${DOCSDIR}
+.endif
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.post.mk>
diff --git a/www/ikiwiki/distinfo b/www/ikiwiki/distinfo
new file mode 100644
index 000000000000..255d8a92f022
--- /dev/null
+++ b/www/ikiwiki/distinfo
@@ -0,0 +1,3 @@
+MD5 (ikiwiki_1.50.tar.gz) = d50de4fe7fd4fb752bf0941e1cf0dc10
+SHA256 (ikiwiki_1.50.tar.gz) = 30bbf5ee0e1841f4cbb7c9f10216300ffbf757e41f1e69b6b1402803d994320f
+SIZE (ikiwiki_1.50.tar.gz) = 401720
diff --git a/www/ikiwiki/files/patch-svn.pm b/www/ikiwiki/files/patch-svn.pm
new file mode 100644
index 000000000000..6b90bafe9d77
--- /dev/null
+++ b/www/ikiwiki/files/patch-svn.pm
@@ -0,0 +1,22 @@
+--- IkiWiki/Rcs/svn.pm.orig Sun Jan 28 01:04:48 2007
++++ IkiWiki/Rcs/svn.pm Mon Apr 16 22:55:29 2007
+@@ -176,7 +176,8 @@ sub rcs_recentchanges ($) { #{{{
+ }
+
+ foreach (keys %{$logentry->{paths}}) {
+- next unless /^\/\Q$config{svnpath}\E\/([^ ]+)(?:$|\s)/;
++ next unless ! length $config{svnpath} ||
++ /^\/\Q$config{svnpath}\E\/([^ ]+)(?:$|\s)/;
+ my $file=$1;
+ my $diffurl=$config{diffurl};
+ $diffurl=~s/\[\[file\]\]/$file/g;
+@@ -218,7 +219,8 @@ sub rcs_notify () { #{{{
+ my @changed_pages;
+ foreach my $change (`svnlook changed $config{svnrepo} -r $rev`) {
+ chomp $change;
+- if ($change =~ /^[A-Z]+\s+\Q$config{svnpath}\E\/(.*)/) {
++ if (! length $config{svnpath} ||
++ $change =~ /^[A-Z]+\s+\Q$config{svnpath}\E\/(.*)/) {
+ push @changed_pages, $1;
+ }
+ }
diff --git a/www/ikiwiki/pkg-descr b/www/ikiwiki/pkg-descr
new file mode 100644
index 000000000000..e6114dc4d2be
--- /dev/null
+++ b/www/ikiwiki/pkg-descr
@@ -0,0 +1,6 @@
+ikiwiki is a wiki compiler. It converts wiki pages into html pages
+suitable for publishing on a website. Unlike many wikis, ikiwiki does
+not have its own ad-hoc means of storing page history, and instead
+uses a revision control system such as Subversion.
+
+WWW: http://ikiwiki.info/
diff --git a/www/ikiwiki/pkg-message b/www/ikiwiki/pkg-message
new file mode 100644
index 000000000000..8c4c12893f55
--- /dev/null
+++ b/www/ikiwiki/pkg-message
@@ -0,0 +1,10 @@
+===============================================================================
+
+Some of the non-default ikiwiki plug-ins may require additional perl
+modules installed. Please see the following URL for more information:
+
+http://ikiwiki.info/plugins/
+
+NOTE: Remember to regenerate any ikiwiki wrappers after upgrading.
+
+===============================================================================
diff --git a/www/ikiwiki/pkg-plist b/www/ikiwiki/pkg-plist
new file mode 100644
index 000000000000..9b25936a4669
--- /dev/null
+++ b/www/ikiwiki/pkg-plist
@@ -0,0 +1,158 @@
+%%DATADIR%%/basewiki/blog.mdwn
+%%DATADIR%%/basewiki/favicon.ico
+%%DATADIR%%/basewiki/helponformatting.mdwn
+%%DATADIR%%/basewiki/index.mdwn
+%%DATADIR%%/basewiki/local.css
+%%DATADIR%%/basewiki/markdown.mdwn
+%%DATADIR%%/basewiki/openid.mdwn
+%%DATADIR%%/basewiki/pagespec.mdwn
+%%DATADIR%%/basewiki/preprocessordirective.mdwn
+%%DATADIR%%/basewiki/sandbox.mdwn
+%%DATADIR%%/basewiki/shortcuts.mdwn
+%%DATADIR%%/basewiki/smileys.mdwn
+%%DATADIR%%/basewiki/smileys/alert.png
+%%DATADIR%%/basewiki/smileys/angry.png
+%%DATADIR%%/basewiki/smileys/attention.png
+%%DATADIR%%/basewiki/smileys/biggrin.png
+%%DATADIR%%/basewiki/smileys/checkmark.png
+%%DATADIR%%/basewiki/smileys/devil.png
+%%DATADIR%%/basewiki/smileys/frown.png
+%%DATADIR%%/basewiki/smileys/icon-error.png
+%%DATADIR%%/basewiki/smileys/icon-info.png
+%%DATADIR%%/basewiki/smileys/idea.png
+%%DATADIR%%/basewiki/smileys/neutral.png
+%%DATADIR%%/basewiki/smileys/ohwell.png
+%%DATADIR%%/basewiki/smileys/prio1.png
+%%DATADIR%%/basewiki/smileys/prio2.png
+%%DATADIR%%/basewiki/smileys/prio3.png
+%%DATADIR%%/basewiki/smileys/question.png
+%%DATADIR%%/basewiki/smileys/redface.png
+%%DATADIR%%/basewiki/smileys/sad.png
+%%DATADIR%%/basewiki/smileys/smile.png
+%%DATADIR%%/basewiki/smileys/smile2.png
+%%DATADIR%%/basewiki/smileys/smile3.png
+%%DATADIR%%/basewiki/smileys/smile4.png
+%%DATADIR%%/basewiki/smileys/star_off.png
+%%DATADIR%%/basewiki/smileys/star_on.png
+%%DATADIR%%/basewiki/smileys/thumbs-up.png
+%%DATADIR%%/basewiki/smileys/tired.png
+%%DATADIR%%/basewiki/smileys/tongue.png
+%%DATADIR%%/basewiki/style.css
+%%DATADIR%%/basewiki/subpage.mdwn
+%%DATADIR%%/basewiki/subpage/linkingrules.mdwn
+%%DATADIR%%/basewiki/templates.mdwn
+%%DATADIR%%/basewiki/templates/note.mdwn
+%%DATADIR%%/basewiki/templates/popup.mdwn
+%%DATADIR%%/basewiki/wikiicons/diff.png
+%%DATADIR%%/basewiki/wikiicons/openidlogin-bg.gif
+%%DATADIR%%/basewiki/wikilink.mdwn
+%%DATADIR%%/templates/aggregatepost.tmpl
+%%DATADIR%%/templates/archivepage.tmpl
+%%DATADIR%%/templates/atomitem.tmpl
+%%DATADIR%%/templates/atompage.tmpl
+%%DATADIR%%/templates/blogpost.tmpl
+%%DATADIR%%/templates/editpage.tmpl
+%%DATADIR%%/templates/estseek.conf
+%%DATADIR%%/templates/feedlink.tmpl
+%%DATADIR%%/templates/inlinepage.tmpl
+%%DATADIR%%/templates/misc.tmpl
+%%DATADIR%%/templates/notifymail.tmpl
+%%DATADIR%%/templates/page.tmpl
+%%DATADIR%%/templates/passwordmail.tmpl
+%%DATADIR%%/templates/recentchanges.tmpl
+%%DATADIR%%/templates/rssitem.tmpl
+%%DATADIR%%/templates/rsspage.tmpl
+%%DATADIR%%/templates/searchform.tmpl
+%%DATADIR%%/templates/titlepage.tmpl
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/IkiWiki/.packlist
+%%SITE_PERL%%/IkiWiki.pm
+%%SITE_PERL%%/IkiWiki/CGI.pm
+%%SITE_PERL%%/IkiWiki/Plugin/aggregate.pm
+%%SITE_PERL%%/IkiWiki/Plugin/anonok.pm
+%%SITE_PERL%%/IkiWiki/Plugin/brokenlinks.pm
+%%SITE_PERL%%/IkiWiki/Plugin/camelcase.pm
+%%SITE_PERL%%/IkiWiki/Plugin/conditional.pm
+%%SITE_PERL%%/IkiWiki/Plugin/ddate.pm
+%%SITE_PERL%%/IkiWiki/Plugin/favicon.pm
+%%SITE_PERL%%/IkiWiki/Plugin/fortune.pm
+%%SITE_PERL%%/IkiWiki/Plugin/goodstuff.pm
+%%SITE_PERL%%/IkiWiki/Plugin/googlecalendar.pm
+%%SITE_PERL%%/IkiWiki/Plugin/graphviz.pm
+%%SITE_PERL%%/IkiWiki/Plugin/haiku.pm
+%%SITE_PERL%%/IkiWiki/Plugin/html.pm
+%%SITE_PERL%%/IkiWiki/Plugin/htmlscrubber.pm
+%%SITE_PERL%%/IkiWiki/Plugin/htmltidy.pm
+%%SITE_PERL%%/IkiWiki/Plugin/httpauth.pm
+%%SITE_PERL%%/IkiWiki/Plugin/img.pm
+%%SITE_PERL%%/IkiWiki/Plugin/inline.pm
+%%SITE_PERL%%/IkiWiki/Plugin/linkmap.pm
+%%SITE_PERL%%/IkiWiki/Plugin/lockedit.pm
+%%SITE_PERL%%/IkiWiki/Plugin/map.pm
+%%SITE_PERL%%/IkiWiki/Plugin/mdwn.pm
+%%SITE_PERL%%/IkiWiki/Plugin/mdwn.pm.bak
+%%SITE_PERL%%/IkiWiki/Plugin/meta.pm
+%%SITE_PERL%%/IkiWiki/Plugin/mirrorlist.pm
+%%SITE_PERL%%/IkiWiki/Plugin/more.pm
+%%SITE_PERL%%/IkiWiki/Plugin/opendiscussion.pm
+%%SITE_PERL%%/IkiWiki/Plugin/openid.pm
+%%SITE_PERL%%/IkiWiki/Plugin/orphans.pm
+%%SITE_PERL%%/IkiWiki/Plugin/otl.pm
+%%SITE_PERL%%/IkiWiki/Plugin/pagecount.pm
+%%SITE_PERL%%/IkiWiki/Plugin/pagestats.pm
+%%SITE_PERL%%/IkiWiki/Plugin/passwordauth.pm
+%%SITE_PERL%%/IkiWiki/Plugin/poll.pm
+%%SITE_PERL%%/IkiWiki/Plugin/polygen.pm
+%%SITE_PERL%%/IkiWiki/Plugin/postsparkline.pm
+%%SITE_PERL%%/IkiWiki/Plugin/prettydate.pm
+%%SITE_PERL%%/IkiWiki/Plugin/rawhtml.pm
+%%SITE_PERL%%/IkiWiki/Plugin/rst.pm
+%%SITE_PERL%%/IkiWiki/Plugin/search.pm
+%%SITE_PERL%%/IkiWiki/Plugin/shortcut.pm
+%%SITE_PERL%%/IkiWiki/Plugin/sidebar.pm
+%%SITE_PERL%%/IkiWiki/Plugin/signinedit.pm
+%%SITE_PERL%%/IkiWiki/Plugin/skeleton.pm
+%%SITE_PERL%%/IkiWiki/Plugin/smiley.pm
+%%SITE_PERL%%/IkiWiki/Plugin/sparkline.pm
+%%SITE_PERL%%/IkiWiki/Plugin/table.pm
+%%SITE_PERL%%/IkiWiki/Plugin/tag.pm
+%%SITE_PERL%%/IkiWiki/Plugin/template.pm
+%%SITE_PERL%%/IkiWiki/Plugin/textile.pm
+%%SITE_PERL%%/IkiWiki/Plugin/toc.pm
+%%SITE_PERL%%/IkiWiki/Plugin/toggle.pm
+%%SITE_PERL%%/IkiWiki/Plugin/typography.pm
+%%SITE_PERL%%/IkiWiki/Plugin/wikitext.pm
+%%SITE_PERL%%/IkiWiki/Rcs/Stub.pm
+%%SITE_PERL%%/IkiWiki/Rcs/git.pm
+%%SITE_PERL%%/IkiWiki/Rcs/mercurial.pm
+%%SITE_PERL%%/IkiWiki/Rcs/svn.pm
+%%SITE_PERL%%/IkiWiki/Rcs/tla.pm
+%%SITE_PERL%%/IkiWiki/Render.pm
+%%SITE_PERL%%/IkiWiki/Setup.pm
+%%SITE_PERL%%/IkiWiki/Setup/Standard.pm
+%%SITE_PERL%%/IkiWiki/UserInfo.pm
+%%SITE_PERL%%/IkiWiki/Wrapper.pm
+bin/ikiwiki
+%%W3M%%libexec/w3m/cgi-bin/ikiwiki-w3m.cgi
+sbin/ikiwiki-mass-rebuild
+share/locale/bg/LC_MESSAGES/ikiwiki.mo
+share/locale/cs/LC_MESSAGES/ikiwiki.mo
+share/locale/es/LC_MESSAGES/ikiwiki.mo
+share/locale/fr/LC_MESSAGES/ikiwiki.mo
+share/locale/gu/LC_MESSAGES/ikiwiki.mo
+share/locale/pl/LC_MESSAGES/ikiwiki.mo
+share/locale/sv/LC_MESSAGES/ikiwiki.mo
+share/locale/vi/LC_MESSAGES/ikiwiki.mo
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/IkiWiki
+@dirrm %%DATADIR%%/basewiki/smileys
+@dirrm %%DATADIR%%/basewiki/subpage
+@dirrm %%DATADIR%%/basewiki/templates
+@dirrm %%DATADIR%%/basewiki/wikiicons
+@dirrm %%DATADIR%%/basewiki
+@dirrm %%DATADIR%%/templates
+@dirrm %%DATADIR%%
+@dirrm %%SITE_PERL%%/IkiWiki/Plugin
+@dirrm %%SITE_PERL%%/IkiWiki/Rcs
+@dirrm %%SITE_PERL%%/IkiWiki/Setup
+@dirrm %%SITE_PERL%%/IkiWiki
+%%W3M%%@dirrmtry libexec/w3m/cgi-bin
+%%W3M%%@dirrmtry libexec/w3m