diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-12-29 06:09:53 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-12-29 06:09:53 +0000 |
commit | 56f1ccb3b519367de1d84ff2171fb346121e9cca (patch) | |
tree | d577e20e87f2deb602124f650b8f57bf71cfaf98 /japanese | |
parent | 620bb70d75b5671441fe8da489cdfe6abc8df709 (diff) | |
download | ports-56f1ccb3b519367de1d84ff2171fb346121e9cca.tar.gz ports-56f1ccb3b519367de1d84ff2171fb346121e9cca.zip |
Notes
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/Makefile | 1 | ||||
-rw-r--r-- | japanese/wikicker/Makefile | 84 | ||||
-rw-r--r-- | japanese/wikicker/distinfo | 1 | ||||
-rw-r--r-- | japanese/wikicker/files/htaccess.in | 15 | ||||
-rw-r--r-- | japanese/wikicker/files/pkg-message.in | 16 | ||||
-rw-r--r-- | japanese/wikicker/files/wiki.cgi.in | 8 | ||||
-rw-r--r-- | japanese/wikicker/files/wiki.cgi.properties.in | 9 | ||||
-rw-r--r-- | japanese/wikicker/files/wiki.css.in | 207 | ||||
-rw-r--r-- | japanese/wikicker/pkg-descr | 14 | ||||
-rw-r--r-- | japanese/wikicker/pkg-plist | 5 |
10 files changed, 360 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile index 9a9624116054..9776b4465c6a 100644 --- a/japanese/Makefile +++ b/japanese/Makefile @@ -392,6 +392,7 @@ SUBDIR += web1913-fpw SUBDIR += webalizer SUBDIR += weblint97 + SUBDIR += wikicker SUBDIR += wnn7egg SUBDIR += wordnet-fpw SUBDIR += wwasw-fpw diff --git a/japanese/wikicker/Makefile b/japanese/wikicker/Makefile new file mode 100644 index 000000000000..cbc3b8064695 --- /dev/null +++ b/japanese/wikicker/Makefile @@ -0,0 +1,84 @@ +# New ports collection makefile for: WiKicker +# Date created: 21 Sep 2003 +# Whom: Fumihiko Kimura <jfkimura@yahoo.co.jp> +# +# $FreeBSD$ +# + +PORTNAME= WiKicker +PORTVERSION= 0.18 +CATEGORIES+= japanese www perl5 +MASTER_SITES= \ + http://www.naney.org/comp/distrib/WiKicker/archive/ + +MAINTAINER= jfkimura@yahoo.co.jp +COMMENT= Wiki like system by perl5 (Only Japanese Language) + +# ============================================================================ +# = You have to appoint GPG to use a function to upload an image. = +# = If it is necessary, it seems to be WITH_IMAGEUPLOAD=yes = +# ============================================================================ + +.if defined(WITH_IMAGEUPLOAD) +RUN_DEPENDS+= ${SITE_PERL}/GnuPG/Interface.pm:${PORTSDIR}/security/p5-GnuPG-Interface +.endif +RUN_DEPENDS+= \ + ${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm \ + ${SITE_PERL}/MIME/Words.pm:${PORTSDIR}/mail/p5-MIME-Tools \ + ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \ + ${SITE_PERL}/Time/Zone.pm:${PORTSDIR}/devel/p5-TimeDate \ + ${SITE_PERL}/${PERL_ARCH}/Unicode/String.pm:${PORTSDIR}/converters/p5-Unicode-String \ + ${SITE_PERL}/Algorithm/Diff.pm:${PORTSDIR}/devel/p5-Algorithm-Diff \ + ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \ + ${SITE_PERL}/${PERL_ARCH}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode \ + ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \ + ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI + +PERL_CONFIGURE= yes +PKGMESSAGE= ${WRKDIR}/pkg-message +WIKIAUTO= ${SITE_PERL}/auto/${PORTNAME} +WIKIPM= ${SITE_PERL}/${PORTNAME} +WIKISCRIPT= wiki.cgi.in +MAN3= WiKicker.3 WiKicker::HTML.3 + +post-install: +.if !defined(NOPORTDOCS) + @${ECHO_MSG} + @${ECHO_MSG} "=============================================================" + @${ECHO_MSG} " Install Documents to ${DOCSDIR}" + @${ECHO_MSG} "=============================================================" + + @${MKDIR} ${DOCSDIR} +.for FILE in AUTHORS ChangeLog MANIFEST.SKIP MANIFEST NEWS README THANKS + ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} +.endfor + @cd ${DOCSDIR} && ${FIND} . -type f -o -type l | ${SED} -e 's,^\.,${DOCSDIR:S|${LOCALBASE}/||},' >>${TMPPLIST} + @cd ${DOCSDIR} && ${FIND} . -type d -depth | ${SED} -e 's,^\.,@dirrm ${DOCSDIR:S|${LOCALBASE}/||},' >>${TMPPLIST} +.endif + + @${ECHO_MSG} + @${ECHO_MSG} "=============================================================" + @${ECHO_MSG} " Install Examples to ${EXAMPLESDIR}" + @${ECHO_MSG} "=============================================================" + + @-${MKDIR} ${EXAMPLESDIR} +.for FILE in htaccess.in wiki.cgi.properties.in wiki.css.in + ${INSTALL_DATA} ${FILESDIR}/${FILE} ${EXAMPLESDIR}/${FILE:S|.in||} +.endfor + ${INSTALL_SCRIPT} ${FILESDIR}/${WIKISCRIPT} ${EXAMPLESDIR}/${WIKISCRIPT:S|.in||} + @cd ${EXAMPLESDIR} && ${FIND} . -type f -o -type l | ${SED} -e 's,^\.,${EXAMPLESDIR:S|${LOCALBASE}/||},' >>${TMPPLIST} + @cd ${EXAMPLESDIR} && ${FIND} . -type d -depth | ${SED} -e 's,^\.,@dirrm ${EXAMPLESDIR:S|${LOCALBASE}/||},' >>${TMPPLIST} + + @${ECHO_MSG} + @${ECHO_MSG} "===> Making PLIST Phase Start" + @cd ${PREFIX}; ${FIND} ${WIKIAUTO:S/^${PREFIX}\///} -type f -o -type l | ${SED} -e 's,^\.,${WIKIAUTO:S|${PREFIX}/||},' >>${TMPPLIST} + @cd ${PREFIX}; ${FIND} ${WIKIAUTO:S/^${PREFIX}\///} -type d | sort -r | ${SED} -e 's/^/@dirrm /' >>${TMPPLIST} + @cd ${PREFIX}; ${FIND} ${WIKIPM:S/^${PREFIX}\///} -type f -o -type l | ${SED} -e 's,^\.,${WIKIPM:S|${PREFIX}/||},' >>${TMPPLIST} + @cd ${PREFIX}; ${FIND} ${WIKIPM:S/^${PREFIX}\///} -type d | sort -r | ${SED} -e 's/^/@dirrm /' >>${TMPPLIST} + @${ECHO_MSG} "===> Making PLIST Phase End" + + @${SED} -e 's|%%EXAMPLESDIR%%|${EXAMPLESDIR}|' \ + -e 's|%%HostName%%|${HOST}|' < ${FILESDIR}/pkg-message.in > ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/japanese/wikicker/distinfo b/japanese/wikicker/distinfo new file mode 100644 index 000000000000..d95c964dcf30 --- /dev/null +++ b/japanese/wikicker/distinfo @@ -0,0 +1 @@ +MD5 (WiKicker-0.18.tar.gz) = 8a43c3946dc980e3854452968129dfea diff --git a/japanese/wikicker/files/htaccess.in b/japanese/wikicker/files/htaccess.in new file mode 100644 index 000000000000..39efdabdd18c --- /dev/null +++ b/japanese/wikicker/files/htaccess.in @@ -0,0 +1,15 @@ +# +# $FreeBSD$ +# + +Options -Indexes + +DirectoryIndex wiki.cgi + +<Files "*.properties"> + deny from all +</Files> + +<Files "var.*"> + deny from all +</Files> diff --git a/japanese/wikicker/files/pkg-message.in b/japanese/wikicker/files/pkg-message.in new file mode 100644 index 000000000000..509f81ff32ba --- /dev/null +++ b/japanese/wikicker/files/pkg-message.in @@ -0,0 +1,16 @@ + +============================================================================= +Explanation assuming there being public_html under home directory of a user. +Work habits to do after introduction: + % mkdir -p ~/public_html/wiki + % cp %%EXAMPLESDIR%%/* ~/public_html/wiki + % mv ~/public_html/wiki/htaccess ~/public_html/wiki/.htaccess + % sed -i '' -e 's,HOGE,User,' -e 's,EXAMPLE.JP,%%HostName%%,' ~/public_html/wiki/wiki.cgi.properties + +Operation person is connected to + http://%%HostName%%/~User/wiki/ , and please operate "edit". + + +See http://www.naney.org/wiki/WiKicker/INSTALL.html" +============================================================================= + diff --git a/japanese/wikicker/files/wiki.cgi.in b/japanese/wikicker/files/wiki.cgi.in new file mode 100644 index 000000000000..02798285e42d --- /dev/null +++ b/japanese/wikicker/files/wiki.cgi.in @@ -0,0 +1,8 @@ +#!/usr/bin/perl -w +# $FreeBSD$ +use strict; +#use lib qw(/usr/local/wikicker/.....); +use CGI::Carp qw(fatalsToBrowser); +use WiKicker::CGI::Controller; +my $app = new WiKicker::CGI::Controller; +$app->run; diff --git a/japanese/wikicker/files/wiki.cgi.properties.in b/japanese/wikicker/files/wiki.cgi.properties.in new file mode 100644 index 000000000000..9fb69f299e3d --- /dev/null +++ b/japanese/wikicker/files/wiki.cgi.properties.in @@ -0,0 +1,9 @@ +# $FreeBSD$ +# See .. http://www.naney.org/wiki/WiKicker/INSTALL.html +wikicker.name: HOGEWiki +wikicker.database.directory: /home/HOGE/var/wiki +admin.name: HOGE +admin.notify.email: HOGE@EXAMPLE.JP +html.stylesheet: http://EXAMPLE.JP/~HOGE/wiki/wiki.css +user.timezone: JST + diff --git a/japanese/wikicker/files/wiki.css.in b/japanese/wikicker/files/wiki.css.in new file mode 100644 index 000000000000..8198e0f78501 --- /dev/null +++ b/japanese/wikicker/files/wiki.css.in @@ -0,0 +1,207 @@ +/* + * CSS for WiKicker + * $FreeBSD$ + */ + +/*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- + defaults +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ + +/* +* { + border: 1px solid; +} +*/ + +body { + margin: .5em 20px .1em 20px; + background-color: white; + color: black; +} + +h1 { + text-align: left; + margin: 0em 0em 0em 0em; +} + +h2 { + text-align: left; + border: #999 1px solid; + color: black; + background: #eee; + padding: .3em .5em .3em .5em; + clear: both; + margin-top: .1em; + margin-bottom: .1em; +} + +h3 { + text-align: left; + border-bottom: solid 2px #999999; + clear: both; + margin-top: .1em; + margin-bottom: .1em; +} + + +hr { + clear: both; +} + +pre { + padding-top: 5px; + padding-bottom: 5px; + border-style:solid; + border-width: 1px; +} + +table { + background: gray; +} + +td { + margin: 1px; + padding: 5px; + background: white; +} + +p { + line-height: 1.4; +} + +li { + margin-bottom: 0.1em; + line-height: 1.4; +} + +/*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- + with class +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ +div.head-toolbar { + text-align: right; + font-size: small; +} + +div.page-toolbar { + text-align: right; + font-size: small; +} + +div.section-toolbar { + text-align: right; + font-size: x-small; + clear: both; + padding-bottom: 0px; + margin-bottom: .1em; +} + +div.head-hierarchy { + font-size: small; + margin: 0em 0em 0.5em 0; +} + +div.head-name { + border: #999 3px ridge; + color: black; + background: #eee; + padding: .5em .5em .2em .5em; + margin: .2em 0 0 0; +} + +div.head-lastmodified { + text-align: right; + font-size: small; + font-style: italic; + margin: .5em 0em 0em 0em; +} + +div.toc { + font-size: small; + border-style: solid; + border-width: 1px; + border-color: black; + margin-top: 1em; + margin-bottom: 1em; +} + +span.DanglingLink { + border-bottom: 1px blue dashed; + padding-bottom: 0px; +} + +table.rlog { + border-style:solid; + border-width: 1px; +} + + +.preview { + padding: 20px; + background: #fcc; +} + +.added { + color: blue; +} +.deleted { + color: red; +} +.same { + color: #666; +} + +span.Sunday { + color: red; +} + +span.Saturday { + color: blue; +} + +img.left { + margin: 1em 1em 1em 0em; + float: left; +} + +img.right { + float: right; + margin: 1em 0em 1em 1em; +} + +div.toc li { + line-height: normal; +} + +ol.changes li { + line-height: normal; +} + +ul.index li { + line-height: normal; +} + +div.trackback { + font-size: x-small; + border-style: dashed; + border-color: #999; + padding: 0.2em 1em 1em 1em; + border-width: 1px; + line-height: 1.2; +} + +div.trackback dt { + margin-top: 0.5em; +} + +div.trackbackpingurl { + margin-top: 1em; + font-size: x-small; + font-style: italic; + text-align: right; +} + +a.auto { + color: black; + text-decoration: none; + border-bottom: 1px solid gray; +} diff --git a/japanese/wikicker/pkg-descr b/japanese/wikicker/pkg-descr new file mode 100644 index 000000000000..905dbcc767d3 --- /dev/null +++ b/japanese/wikicker/pkg-descr @@ -0,0 +1,14 @@ +WiKicker is WikiEngine implemented by a Perl language. + +WiKicker policy: + - Not losing being integrated + - The certification be unnecessary in writing + - Do reading / editing in a spread Web browser + - Safety + (It works only in Japanese) + + See http://www.naney.org/wiki/WiKicker.html + +Copyright (C) 2003 WATANABE Yoshimasa <naney@naney.org> + +WWW: http://www.naney.org/wiki/ diff --git a/japanese/wikicker/pkg-plist b/japanese/wikicker/pkg-plist new file mode 100644 index 000000000000..9d5558a06350 --- /dev/null +++ b/japanese/wikicker/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/WiKicker.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/WiKicker/.packlist +bin/importyk2 +bin/wikicker-html-exporter +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/WiKicker |