From a37f523af7048474c876d2ae36d2dfb3c0e3c79d Mon Sep 17 00:00:00 2001
From: Kirill Ponomarev <krion@FreeBSD.org>
Date: Thu, 9 Oct 2003 13:36:58 +0000
Subject: - Update to version 0.4

PR:		57771
Submitted by:	maintainer
---
 www/wiliki/Makefile  | 11 +++++++----
 www/wiliki/distinfo  |  2 +-
 www/wiliki/pkg-plist |  5 +++++
 3 files changed, 13 insertions(+), 5 deletions(-)

(limited to 'www/wiliki')

diff --git a/www/wiliki/Makefile b/www/wiliki/Makefile
index 785cf2e6279d..54f06261dd78 100644
--- a/www/wiliki/Makefile
+++ b/www/wiliki/Makefile
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	wiliki
-PORTVERSION=	0.3
+PORTVERSION=	0.4
 CATEGORIES=	www scheme
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -21,8 +21,11 @@ RUN_DEPENDS=	${LOCALBASE}/share/gauche/${GAUCHE_VER}/lib/dbm/gdbm.scm:${PORTSDIR
 
 USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
+
+.include <bsd.port.pre.mk>
+
 .if exists(${LOCALBASE}/bin/gauche-config)
-GAUCHE_VER!=	`gauche-config -V`
+GAUCHE_VER=	`gauche-config -V`
 .else
 GAUCHE_VER=	none
 .endif
@@ -31,7 +34,7 @@ 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
+		-e "s/:language 'jp/:language 'en/" ${WRKSRC}/src/wiliki.cgi
 
 pre-install:
 	${MKDIR} `gauche-config --sitelibdir`
@@ -46,4 +49,4 @@ post-install:
 	${CHOWN} www:www /var/wiliki
 	@${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/www/wiliki/distinfo b/www/wiliki/distinfo
index 032391c9227b..437fd7bc1c6b 100644
--- a/www/wiliki/distinfo
+++ b/www/wiliki/distinfo
@@ -1 +1 @@
-MD5 (WiLiKi-0.3.tgz) = cd681afe7a1528b53f1ecb33f5c21835
+MD5 (WiLiKi-0.4.tgz) = 7d2f8fe90537ff5562693590da9a24f7
diff --git a/www/wiliki/pkg-plist b/www/wiliki/pkg-plist
index fde67c41085c..22902f51dc39 100644
--- a/www/wiliki/pkg-plist
+++ b/www/wiliki/pkg-plist
@@ -1,6 +1,11 @@
 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/db.scm
+share/gauche/site/lib/wiliki/edit.scm
+share/gauche/site/lib/wiliki/format.scm
+share/gauche/site/lib/wiliki/history.scm
+share/gauche/site/lib/wiliki/log.scm
 share/gauche/site/lib/wiliki/macro.scm
 share/gauche/site/lib/wiliki/mcatalog.scm
 share/gauche/site/lib/wiliki/msgs.jp
-- 
cgit v1.2.3