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>
This commit is contained in:
parent
1ba7a72b28
commit
29a7541b63
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=90422
6 changed files with 72 additions and 0 deletions
|
@ -520,6 +520,7 @@
|
|||
SUBDIR += webstats
|
||||
SUBDIR += webstone
|
||||
SUBDIR += webstone-ssl
|
||||
SUBDIR += wiliki
|
||||
SUBDIR += wml
|
||||
SUBDIR += wmnetselect
|
||||
SUBDIR += wsmake
|
||||
|
|
45
www/wiliki/Makefile
Normal file
45
www/wiliki/Makefile
Normal file
|
@ -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>
|
1
www/wiliki/distinfo
Normal file
1
www/wiliki/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (WiLiKi-0.3.tgz) = cd681afe7a1528b53f1ecb33f5c21835
|
4
www/wiliki/pkg-descr
Normal file
4
www/wiliki/pkg-descr
Normal file
|
@ -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/
|
8
www/wiliki/pkg-message
Normal file
8
www/wiliki/pkg-message
Normal file
|
@ -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.
|
||||
************************************************************
|
13
www/wiliki/pkg-plist
Normal file
13
www/wiliki/pkg-plist
Normal file
|
@ -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
|
Loading…
Reference in a new issue