aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-10-06 19:35:51 +0800
committeredwin <edwin@FreeBSD.org>2003-10-06 19:35:51 +0800
commitb3d9d0ef0e02089fa857004846ef886650d61d5d (patch)
tree4b636cb00c911d10aad4b3ceaddbc933681a37a5 /www
parentedc83724b97ba48e0833f6415e30f16cc24df677 (diff)
downloadfreebsd-ports-gnome-b3d9d0ef0e02089fa857004846ef886650d61d5d.tar.gz
freebsd-ports-gnome-b3d9d0ef0e02089fa857004846ef886650d61d5d.tar.zst
freebsd-ports-gnome-b3d9d0ef0e02089fa857004846ef886650d61d5d.zip
New port: www/wiliki - a lightweight Wiki engine in Scheme
WiLiKi is a lightweight Wiki engine written in Scheme. It is very suitable for the English/Japanese bilingual environments. PR: ports/55855 Submitted by: Kimura Fuyuki <fuyuki@nigredo.org>
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/wiliki/Makefile45
-rw-r--r--www/wiliki/distinfo1
-rw-r--r--www/wiliki/pkg-descr4
-rw-r--r--www/wiliki/pkg-message8
-rw-r--r--www/wiliki/pkg-plist13
6 files changed, 72 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 0b4b8cd325fa..0b2b85db9236 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -520,6 +520,7 @@
SUBDIR += webstats
SUBDIR += webstone
SUBDIR += webstone-ssl
+ SUBDIR += wiliki
SUBDIR += wml
SUBDIR += wmnetselect
SUBDIR += wsmake
diff --git a/www/wiliki/Makefile b/www/wiliki/Makefile
new file mode 100644
index 000000000000..ecb80b6cd2a6
--- /dev/null
+++ b/www/wiliki/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: WiLiKi
+# Date created: 22 August 2003
+# Whom: Kimura Fuyuki <fuyuki@nigredo.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= wiliki
+PORTVERSION= 0.3
+CATEGORIES= www scheme
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= WiLiKi-${PORTVERSION}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= fuyuki@nigredo.org
+COMMENT= A lightweight Wiki engine written in Scheme
+
+BUILD_DEPENDS= gosh:${PORTSDIR}/lang/gauche
+RUN_DEPENDS= ${LOCALBASE}/share/gauche/${GAUCHE_VER}/lib/dbm/gdbm.scm:${PORTSDIR}/databases/gauche-gdbm
+
+USE_REINPLACE= yes
+GNU_CONFIGURE= yes
+GAUCHE_VER= `gauche-config -V`
+
+post-patch:
+ ${REINPLACE_CMD} -e 's,/usr/bin,${PREFIX}/bin,' \
+ -e 's,/home/shiro/data/wikidata.dbm,/var/wiliki/data.dbm,' \
+ -e 's/"wiliki-sample.css"/#f/' \
+ -e "s/'jp/'en/" ${WRKSRC}/src/wiliki.cgi
+
+pre-install:
+ ${MKDIR} `gauche-config --sitelibdir`
+
+post-install:
+ ${MKDIR} ${PREFIX}/www/cgi-bin
+ ${INSTALL_DATA} ${WRKSRC}/src/wiliki.cgi \
+ ${PREFIX}/www/cgi-bin/wiliki.cgi.dist
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/src/wiliki-sample.css ${EXAMPLESDIR}
+ ${MKDIR} /var/wiliki
+ ${CHOWN} www:www /var/wiliki
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/www/wiliki/distinfo b/www/wiliki/distinfo
new file mode 100644
index 000000000000..032391c9227b
--- /dev/null
+++ b/www/wiliki/distinfo
@@ -0,0 +1 @@
+MD5 (WiLiKi-0.3.tgz) = cd681afe7a1528b53f1ecb33f5c21835
diff --git a/www/wiliki/pkg-descr b/www/wiliki/pkg-descr
new file mode 100644
index 000000000000..74817951e771
--- /dev/null
+++ b/www/wiliki/pkg-descr
@@ -0,0 +1,4 @@
+WiLiKi is a lightweight Wiki engine written in Scheme. It is very
+suitable for the English/Japanese bilingual environments.
+
+WWW: http://www.shiro.dreamhost.com/scheme/wiliki/
diff --git a/www/wiliki/pkg-message b/www/wiliki/pkg-message
new file mode 100644
index 000000000000..98f0f60d63b1
--- /dev/null
+++ b/www/wiliki/pkg-message
@@ -0,0 +1,8 @@
+************************************************************
+Quickstart:
+ cd ${PREFIX}/www/cgi-bin
+ cp wiliki.cgi.dist wiliki.cgi
+ chmod +x wiliki.cgi
+
+and modify wiliki.cgi to customize the WiLiKi's behavior.
+************************************************************
diff --git a/www/wiliki/pkg-plist b/www/wiliki/pkg-plist
new file mode 100644
index 000000000000..fde67c41085c
--- /dev/null
+++ b/www/wiliki/pkg-plist
@@ -0,0 +1,13 @@
+www/cgi-bin/wiliki.cgi.dist
+@unexec rmdir %D/www/cgi-bin 2>/dev/null || true
+share/gauche/site/lib/wiliki.scm
+share/gauche/site/lib/wiliki/macro.scm
+share/gauche/site/lib/wiliki/mcatalog.scm
+share/gauche/site/lib/wiliki/msgs.jp
+share/gauche/site/lib/wiliki/pasttime.scm
+share/gauche/site/lib/wiliki/rss.scm
+@dirrm share/gauche/site/lib/wiliki
+%%EXAMPLESDIR%%/wiliki-sample.css
+@dirrm %%EXAMPLESDIR%%
+@exec mkdir -p /var/wiliki
+@exec chown www:www /var/wiliki