head	1.15;
access;
symbols
	RELEASE_7_4_0:1.14
	RELEASE_8_2_0:1.14
	RELEASE_6_EOL:1.14
	RELEASE_8_1_0:1.14
	RELEASE_7_3_0:1.13
	RELEASE_8_0_0:1.13
	RELEASE_7_2_0:1.12
	RELEASE_7_1_0:1.12
	RELEASE_6_4_0:1.12
	RELEASE_5_EOL:1.12
	RELEASE_7_0_0:1.11
	RELEASE_6_3_0:1.11
	PRE_XORG_7:1.11
	RELEASE_4_EOL:1.11
	RELEASE_6_2_0:1.11
	RELEASE_6_1_0:1.10
	RELEASE_5_5_0:1.10
	RELEASE_6_0_0:1.9
	RELEASE_5_4_0:1.9
	RELEASE_4_11_0:1.9
	RELEASE_5_3_0:1.8
	RELEASE_4_10_0:1.7
	RELEASE_5_2_1:1.4
	RELEASE_5_2_0:1.4;
locks; strict;
comment	@# @;


1.15
date	2011.08.14.23.05.51;	author bapt;	state dead;
branches;
next	1.14;

1.14
date	2010.05.31.02.01.32;	author ade;	state Exp;
branches;
next	1.13;

1.13
date	2009.07.16.14.21.17;	author amdmi3;	state Exp;
branches;
next	1.12;

1.12
date	2008.04.28.09.04.12;	author pav;	state Exp;
branches;
next	1.11;

1.11
date	2006.05.13.04.41.22;	author edwin;	state Exp;
branches;
next	1.10;

1.10
date	2005.09.18.13.59.38;	author pav;	state Exp;
branches;
next	1.9;

1.9
date	2004.10.21.07.50.49;	author sergei;	state Exp;
branches;
next	1.8;

1.8
date	2004.05.25.07.26.40;	author krion;	state Exp;
branches;
next	1.7;

1.7
date	2004.02.13.15.33.09;	author dannyboy;	state Exp;
branches;
next	1.6;

1.6
date	2004.01.25.20.53.13;	author pav;	state Exp;
branches;
next	1.5;

1.5
date	2003.12.04.03.01.50;	author linimon;	state Exp;
branches;
next	1.4;

1.4
date	2003.10.21.22.59.58;	author krion;	state Exp;
branches;
next	1.3;

1.3
date	2003.10.09.13.36.58;	author krion;	state Exp;
branches;
next	1.2;

1.2
date	2003.10.06.23.09.03;	author edwin;	state Exp;
branches;
next	1.1;

1.1
date	2003.10.06.11.35.51;	author edwin;	state Exp;
branches;
next	;


desc
@@


1.15
log
@2011-04-17 databases/gauche-gdbm: has been broken for more than a year
www/wiliki: Depends on expired gauche-gdbm
mail/scmail: Depends on expired gauche-gdbm
@
text
@# New ports collection makefile for:   WiLiKi
# Date created:                22 August 2003
# Whom:                        Kimura Fuyuki <fuyuki@@nigredo.org>
#
# $FreeBSD: ports/www/wiliki/Makefile,v 1.14 2010/05/31 02:01:32 ade Exp $
#

PORTNAME=	wiliki
PORTVERSION=	0.6.1
PORTREVISION=	1
CATEGORIES=	www scheme
MASTER_SITES=	SF
DISTNAME=	WiLiKi-${PORTVERSION}
EXTRACT_SUFX=	.tgz

MAINTAINER=	ports@@FreeBSD.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

GNU_CONFIGURE=	yes
VARDIR=		/var/wiliki
MAKE_JOBS_UNSAFE=	yes
USE_GETTEXT=	yes

.include <bsd.port.pre.mk>

.if ${ARCH} == "alpha"
BROKEN=		Does not build
.endif

.if exists(${LOCALBASE}/bin/gauche-config)
GAUCHE_VER!=	${LOCALBASE}/bin/gauche-config -V
.else
GAUCHE_VER=	none
.endif

post-patch:
	${REINPLACE_CMD} -E \
		-e 's,/usr/bin,${PREFIX}/bin,' \
		-e 's,/home/shiro/data/wikidata.dbm,/var/wiliki/data.dbm,' \
		-e 's,wiliki2?\.css,/&,' \
		-e "s/:language 'jp/:language 'en/" ${WRKSRC}/src/*.cgi

post-build:
	cd ${WRKSRC}/po && ${MAKE} ja.gmo

post-install:
	${MKDIR} ${PREFIX}/www/cgi-bin
.for f in wiliki.cgi wiliki2.cgi
	${INSTALL_DATA} ${WRKSRC}/src/${f} ${PREFIX}/www/cgi-bin/${f}.dist
.endfor
	${MKDIR} ${PREFIX}/www/data
	${INSTALL_DATA} ${WRKSRC}/src/*.css ${PREFIX}/www/data
	${MKDIR} ${VARDIR}
	${CHOWN} www:www ${VARDIR}
	@@${CAT} ${PKGMESSAGE}

test:
	cd ${WRKSRC}; ${MAKE} check

.include <bsd.port.post.mk>
@


1.14
log
@Bounce PORTREVISION for gettext-related ports.  Have fun, ya'll.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.13
log
@- Update to 0.6.1
- Mark MAKE_JOBS_UNSAFE

PR:		136769
Submitted by:	Kouki Hashimoto <hsmtkk@@gmail.com>
@
text
@d10 1
@


1.12
log
@- Update to 0.6

PR:		ports/122953
Submitted by:	Wen heping <wenheping@@gmail.com>
@
text
@d9 1
a9 1
PORTVERSION=	0.6
d23 2
d45 3
@


1.11
log
@Remove USE_REINPLACE from categories starting with W
@
text
@d9 1
a9 1
PORTVERSION=	0.5.3
d11 1
a11 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR=	${PORTNAME}
d22 1
d27 1
a27 1
BROKEN=		"Does not build"
d50 2
a51 2
	${MKDIR} /var/wiliki
	${CHOWN} www:www /var/wiliki
@


1.10
log
@- Update to 0.5.3

PR:		ports/85996
Submitted by:	Takehito Sasaki <my-bsd@@achikochi.net>
@
text
@a21 1
USE_REINPLACE=	yes
@


1.9
log
@- Reset maintainership to ports@@FreeBSD.org

PR:		ports/72950
Submitted by:	Kimura Fuyuki (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	0.5
@


1.8
log
@- Update to version 0.5

PR:		ports/67161
Submitted by:	maintainer
@
text
@d16 1
a16 1
MAINTAINER=	fuyuki@@hadaly.org
@


1.7
log
@Update to 0.4p1.

PR:		62677
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	0.4p1
d11 1
a11 1
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
d16 1
a16 1
MAINTAINER=	fuyuki@@nigredo.org
d27 1
a27 1
.if ${MACHINE_ARCH} == "alpha"
d32 1
a32 1
GAUCHE_VER!=	gauche-config -V
d38 2
a39 1
	${REINPLACE_CMD} -e 's,/usr/bin,${PREFIX}/bin,' \
d41 2
a42 5
		-e 's/"wiliki-sample.css"/#f/' \
		-e "s/:language 'jp/:language 'en/" ${WRKSRC}/src/wiliki.cgi

pre-install:
	${MKDIR} `gauche-config --sitelibdir`
d46 5
a50 4
	${INSTALL_DATA} ${WRKSRC}/src/wiliki.cgi \
		${PREFIX}/www/cgi-bin/wiliki.cgi.dist
	${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/src/wiliki-sample.css ${EXAMPLESDIR}
d54 3
@


1.6
log
@- Mark as broken on Alpha

PR:		ports/61851
Submitted by:	Kimura Fuyuki <fuyuki@@nigredo.org> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	0.4
@


1.5
log
@The gauche-config command was not being invoked by the shell.
PR:		ports/59785
Approved by:	Kimura Fuyuki (maintainer)
@
text
@d27 1
a27 1
.if ${MACHINE_ARCH} == "alpha" && ${OSVERSION} >= 500000
@


1.4
log
@- Mark broken on alpha-5.x

PR:		58267
Submitted by:	maintainer
@
text
@d32 1
a32 1
GAUCHE_VER=	`gauche-config -V`
@


1.3
log
@- Update to version 0.4

PR:		57771
Submitted by:	maintainer
@
text
@d27 4
@


1.2
log
@Make port describe properly when gauche-config doesn't exist.

Noted by: INDEX build failed
@
text
@d9 1
a9 1
PORTVERSION=	0.3
d24 3
d28 1
a28 1
GAUCHE_VER!=	`gauche-config -V`
d37 1
a37 1
		-e "s/'jp/'en/" ${WRKSRC}/src/wiliki.cgi
d52 1
a52 1
.include <bsd.port.mk>
@


1.1
log
@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>
@
text
@d24 5
a28 1
GAUCHE_VER=	`gauche-config -V`
@

