diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2003-10-14 15:41:59 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2003-10-14 15:41:59 +0000 |
commit | d1b15b0c12058a6784b9658c47b53e3cdc149809 (patch) | |
tree | 5e957ce6477f482ab8a6d08f5cb34f7086415d7d /www/p5-CGI-Kwiki | |
parent | e9c9211c37ed7a1daed638b206c85aa33976c354 (diff) | |
download | ports-d1b15b0c12058a6784b9658c47b53e3cdc149809.tar.gz ports-d1b15b0c12058a6784b9658c47b53e3cdc149809.zip |
Add p5-CGI-Kwiki 0.18, a Quickie Wiki Package that's not too Tricky.
PR: 57986
Submitted by: clsung@dragon2.net
Notes
Notes:
svn path=/head/; revision=91211
Diffstat (limited to 'www/p5-CGI-Kwiki')
-rw-r--r-- | www/p5-CGI-Kwiki/Makefile | 60 | ||||
-rw-r--r-- | www/p5-CGI-Kwiki/distinfo | 1 | ||||
-rw-r--r-- | www/p5-CGI-Kwiki/pkg-descr | 20 | ||||
-rw-r--r-- | www/p5-CGI-Kwiki/pkg-message | 14 | ||||
-rw-r--r-- | www/p5-CGI-Kwiki/pkg-plist | 46 |
5 files changed, 141 insertions, 0 deletions
diff --git a/www/p5-CGI-Kwiki/Makefile b/www/p5-CGI-Kwiki/Makefile new file mode 100644 index 000000000000..1e8e84ebb762 --- /dev/null +++ b/www/p5-CGI-Kwiki/Makefile @@ -0,0 +1,60 @@ +# New ports collection makefile for: p5-CGI-Kwiki +# Date created: 14th October 2003 +# Whom: clsung@dragon2.net +# +# $FreeBSD$ +# + +PORTNAME= CGI-Kwiki +PORTVERSION= 0.18 +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= CGI +PKGNAMEPREFIX= p5- + +MAINTAINER= clsung@dragon2.net +COMMENT= A Quickie Wiki Package that's not too Tricky + +PERL_CONFIGURE= yes + +BUILD_DEPENDS= ${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm +RUN_DEPENDS= ${BUILD_DEPENDS} + +MAN1= kwiki-install.1 +MAN3= CGI::Kwiki.3 \ + CGI::Kwiki::Blog.3 CGI::Kwiki::CGI.3 CGI::Kwiki::Changes.3 \ + CGI::Kwiki::Config.3 CGI::Kwiki::Config_yaml.3 \ + CGI::Kwiki::Cookie.3 CGI::Kwiki::Database.3 \ + CGI::Kwiki::Display.3 CGI::Kwiki::Driver.3 CGI::Kwiki::Edit.3 \ + CGI::Kwiki::Formatter.3 CGI::Kwiki::Import.3 \ + CGI::Kwiki::Javascript.3 CGI::Kwiki::Metadata.3 \ + CGI::Kwiki::New.3 CGI::Kwiki::Pages.3 \ + CGI::Kwiki::Pages::zh_cn.3 CGI::Kwiki::Pages::zh_tw.3 \ + CGI::Kwiki::Plugin.3 CGI::Kwiki::Plugin::Diff.3 \ + CGI::Kwiki::Prefs.3 CGI::Kwiki::Privacy.3 \ + CGI::Kwiki::Scripts.3 CGI::Kwiki::Search.3 \ + CGI::Kwiki::Slides.3 CGI::Kwiki::Style.3 \ + CGI::Kwiki::Template.3 + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500800 +# Damn ExtUtils::MM_Unix, and Damn Module::Install !!! +post-configure: + @${PERL} -pi -e 'if (/MAN3PODS/) { $$_ .= "\tlib/CGI/Kwiki/Config.pm \\\n\tlib/CGI/Kwiki/Config_yaml.pm \\\n" };' \ + -e 'if (/manifypods :/) {$$_ .= "\tlib/CGI/Kwiki/Config.pm \\\n\tlib/CGI/Kwiki/Config_yaml.pm \\\n" };' \ + -e 'if (/\@\$$\(POD2MAN\)/) { $$_ .= "\tlib/CGI/Kwiki/Config.pm \\\n\t\$$(INST_MAN3DIR)/CGI::Kwiki::Config.\$$(MAN3EXT) \\\n\tlib/CGI/Kwiki/Config_yaml.pm \\\n\t\$$(INST_MAN3DIR)/CGI::Kwiki::Config_yaml.\$$(MAN3EXT) \\\n"};' \ + ${WRKSRC}/Makefile +.if ${PERL_LEVEL} < 500601 +post-patch: + ${PERL} -pi -e '$$_ = "" if /warnings/;' \ + -e 's/\$$\w+(->\w+)?->\$$\w+\b(?!\()/$$&()/g;' \ + ${WRKSRC}/lib/CGI/Kwiki/New.pm \ + ${WRKSRC}/lib/CGI/Kwiki/Prefs.pm +.endif +.endif + +.include <bsd.port.post.mk> diff --git a/www/p5-CGI-Kwiki/distinfo b/www/p5-CGI-Kwiki/distinfo new file mode 100644 index 000000000000..05182dec29f1 --- /dev/null +++ b/www/p5-CGI-Kwiki/distinfo @@ -0,0 +1 @@ +MD5 (CGI-Kwiki-0.18.tar.gz) = bce895d211296a748127f615db3b2571 diff --git a/www/p5-CGI-Kwiki/pkg-descr b/www/p5-CGI-Kwiki/pkg-descr new file mode 100644 index 000000000000..e0d0a0c77198 --- /dev/null +++ b/www/p5-CGI-Kwiki/pkg-descr @@ -0,0 +1,20 @@ +Kwiki is perhaps the simplest, most modular and easy to extend wiki. A wiki +allows users to freely create and edit web pages in any web browser. Kwiki +is Open Source Software and is available on CPAN. + +The overall design goal of CGI::Kwiki is simplicity and extensibility. +Even so, Kwiki will have some killer built in features not available in +most wikis: + + * KwikiSlideShow + * KwikiBlog + * KwikiSisters + * KwikiHotKeys + * KwikiFit + * KwikiPod + * KwikiPrivacy + +Each feature is implemented as a separate plugin class. This keeps things +simple and extensible. + +WWW: http://www.kwiki.org/ diff --git a/www/p5-CGI-Kwiki/pkg-message b/www/p5-CGI-Kwiki/pkg-message new file mode 100644 index 000000000000..cb0145d59d85 --- /dev/null +++ b/www/p5-CGI-Kwiki/pkg-message @@ -0,0 +1,14 @@ +/* ================================================================= */ +Note: + Kwiki software installed! Now you should create + your kwiki web directory by yourself: + +$ mkdir cgi-bin/my-kwiki +$ cd cgi-bin/my-kwiki + + Next execute kwiki-install script: + +$ kwiki-install + + Finally remember to point your browser at required location. +/* ================================================================= */ diff --git a/www/p5-CGI-Kwiki/pkg-plist b/www/p5-CGI-Kwiki/pkg-plist new file mode 100644 index 000000000000..f0fb4322da70 --- /dev/null +++ b/www/p5-CGI-Kwiki/pkg-plist @@ -0,0 +1,46 @@ +bin/kwiki-install +%%SITE_PERL%%/CGI/Kwiki.pm +%%SITE_PERL%%/CGI/Kwiki/Backup.pm +%%SITE_PERL%%/CGI/Kwiki/Backup/Rcs.pm +%%SITE_PERL%%/CGI/Kwiki/Backup/SVN.pm +%%SITE_PERL%%/CGI/Kwiki/Backup/SVNPerl.pm +%%SITE_PERL%%/CGI/Kwiki/Blog.pm +%%SITE_PERL%%/CGI/Kwiki/CGI.pm +%%SITE_PERL%%/CGI/Kwiki/Changes.pm +%%SITE_PERL%%/CGI/Kwiki/Config.pm +%%SITE_PERL%%/CGI/Kwiki/Config_yaml.pm +%%SITE_PERL%%/CGI/Kwiki/Cookie.pm +%%SITE_PERL%%/CGI/Kwiki/Database.pm +%%SITE_PERL%%/CGI/Kwiki/Display.pm +%%SITE_PERL%%/CGI/Kwiki/Driver.pm +%%SITE_PERL%%/CGI/Kwiki/Edit.pm +%%SITE_PERL%%/CGI/Kwiki/Formatter.pm +%%SITE_PERL%%/CGI/Kwiki/I18N.pm +%%SITE_PERL%%/CGI/Kwiki/I18N/Kwiki.pot +%%SITE_PERL%%/CGI/Kwiki/I18N/i_default.pm +%%SITE_PERL%%/CGI/Kwiki/I18N/zh_cn.po +%%SITE_PERL%%/CGI/Kwiki/I18N/zh_tw.po +%%SITE_PERL%%/CGI/Kwiki/Import.pm +%%SITE_PERL%%/CGI/Kwiki/Javascript.pm +%%SITE_PERL%%/CGI/Kwiki/Metadata.pm +%%SITE_PERL%%/CGI/Kwiki/New.pm +%%SITE_PERL%%/CGI/Kwiki/Pages.pm +%%SITE_PERL%%/CGI/Kwiki/Pages/zh_cn.pm +%%SITE_PERL%%/CGI/Kwiki/Pages/zh_tw.pm +%%SITE_PERL%%/CGI/Kwiki/Plugin.pm +%%SITE_PERL%%/CGI/Kwiki/Plugin/Diff.pm +%%SITE_PERL%%/CGI/Kwiki/Prefs.pm +%%SITE_PERL%%/CGI/Kwiki/Privacy.pm +%%SITE_PERL%%/CGI/Kwiki/Scripts.pm +%%SITE_PERL%%/CGI/Kwiki/Search.pm +%%SITE_PERL%%/CGI/Kwiki/Slides.pm +%%SITE_PERL%%/CGI/Kwiki/Style.pm +%%SITE_PERL%%/CGI/Kwiki/Template.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI-Kwiki/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI-Kwiki +@dirrm %%SITE_PERL%%/CGI/Kwiki/Plugin +@dirrm %%SITE_PERL%%/CGI/Kwiki/Pages +@dirrm %%SITE_PERL%%/CGI/Kwiki/I18N +@dirrm %%SITE_PERL%%/CGI/Kwiki/Backup +@dirrm %%SITE_PERL%%/CGI/Kwiki +@unexec rmdir %D/%%SITE_PERL%%/CGI 2>/dev/null || true |