aboutsummaryrefslogtreecommitdiff
path: root/www/wiliki
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-10-06 11:35:51 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-10-06 11:35:51 +0000
commit29a7541b6385ae0bb9451c63c5372ac88424f90e (patch)
treeb3e2296bba5d037021244cc084f0ec2f60a178d8 /www/wiliki
parent1ba7a72b288533868712998a4e0404cb11c22009 (diff)
downloadports-29a7541b6385ae0bb9451c63c5372ac88424f90e.tar.gz
ports-29a7541b6385ae0bb9451c63c5372ac88424f90e.zip
Notes
Diffstat (limited to 'www/wiliki')
-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
5 files changed, 71 insertions, 0 deletions
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