diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-10-06 11:35:51 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-10-06 11:35:51 +0000 |
commit | 29a7541b6385ae0bb9451c63c5372ac88424f90e (patch) | |
tree | b3e2296bba5d037021244cc084f0ec2f60a178d8 /www/wiliki/Makefile | |
parent | 1ba7a72b288533868712998a4e0404cb11c22009 (diff) |
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>
Notes
Notes:
svn path=/head/; revision=90422
Diffstat (limited to 'www/wiliki/Makefile')
-rw-r--r-- | www/wiliki/Makefile | 45 |
1 files changed, 45 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> |