head	1.15;
access;
symbols
	RELEASE_8_3_0:1.13
	RELEASE_9_0_0:1.13
	RELEASE_7_4_0:1.13
	RELEASE_8_2_0:1.13
	RELEASE_6_EOL:1.13
	RELEASE_8_1_0:1.13
	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.12
	RELEASE_6_3_0:1.12
	PRE_XORG_7:1.12
	RELEASE_4_EOL:1.9
	RELEASE_6_2_0:1.9
	RELEASE_6_1_0:1.8
	RELEASE_5_5_0:1.8
	RELEASE_6_0_0:1.7
	RELEASE_5_4_0:1.7
	RELEASE_4_11_0:1.7
	RELEASE_5_3_0:1.7
	RELEASE_4_10_0:1.5
	RELEASE_5_2_1:1.4
	RELEASE_5_2_0:1.4
	RELEASE_4_9_0:1.4;
locks; strict;
comment	@# @;


1.15
date	2012.11.17.06.02.28;	author svnexp;	state Exp;
branches;
next	1.14;

1.14
date	2012.04.03.00.11.56;	author tabthorpe;	state Exp;
branches;
next	1.13;

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

1.12
date	2007.04.29.13.14.01;	author matusita;	state Exp;
branches;
next	1.11;

1.11
date	2007.04.28.04.45.21;	author matusita;	state Exp;
branches;
next	1.10;

1.10
date	2007.04.27.04.18.17;	author matusita;	state Exp;
branches;
next	1.9;

1.9
date	2006.05.13.04.41.07;	author edwin;	state Exp;
branches;
next	1.8;

1.8
date	2005.11.10.05.21.53;	author matusita;	state Exp;
branches;
next	1.7;

1.7
date	2004.05.04.13.27.57;	author matusita;	state Exp;
branches;
next	1.6;

1.6
date	2004.05.03.15.42.01;	author matusita;	state Exp;
branches;
next	1.5;

1.5
date	2004.04.07.16.06.28;	author matusita;	state Exp;
branches;
next	1.4;

1.4
date	2003.06.21.07.52.05;	author matusita;	state Exp;
branches;
next	1.3;

1.3
date	2003.06.20.10.46.30;	author matusita;	state Exp;
branches;
next	1.2;

1.2
date	2003.06.17.12.01.17;	author matusita;	state Exp;
branches;
next	1.1;

1.1
date	2003.06.14.14.27.30;	author matusita;	state Exp;
branches;
next	;


desc
@@


1.15
log
@Switch exporter over
@
text
@# New ports collection makefile for:	ruby-aswiki
# Date created:		13 June 2003
# Whom:			Makoto Matsushita <matusita@@FreeBSD.org>
#
# $FreeBSD: head/www/aswiki/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=		aswiki
PORTVERSION=		1.0.4
PORTREVISION=		3
CATEGORIES=		www ruby
MASTER_SITES=		SF

MAINTAINER=		ports@@FreeBSD.org
COMMENT=		WikiWikiWeb clone written in Ruby

RUN_DEPENDS=		${RUBY_SITELIBDIR}/amrita/xml.rb:${PORTSDIR}/textproc/ruby-amrita \
			${RUBY_SITELIBDIR}/algorithm/diff.rb:${PORTSDIR}/textproc/ruby-diff \
			${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb

NO_BUILD=		YES

USE_RUBY=		YES
RUBY_SHEBANG_FILES=	aswiki.cgi
USE_RUBY_FEATURES=	strscan

post-extract:
	${CP} ${FILESDIR}/setup.sh ${WRKSRC}

post-patch:
	${REINPLACE_CMD} -e "s|__DATADIR__|${DATADIR}|" ${WRKSRC}/setup.sh
	${ECHO} "\$$DIR_TEMPLATE = '__DATADIR__/template'" \
						>> ${WRKSRC}/aswiki.conf
	${ECHO} "\$$DIR_PLUGIN = '__DATADIR__/plugin'" \
						>> ${WRKSRC}/aswiki.conf
	${REINPLACE_CMD} -e "s|^# \\$$|\\$$|" -e "s|__DATADIR__|${DATADIR}|" \
		-e "s|\\A(\?:|\\A(|" ${WRKSRC}/aswiki.conf
	${FIND} ${PATCH_WRKSRC} -name '*.orig' -delete

do-install:
	# Ruby libraries
	${CP} -R ${WRKSRC}/aswiki ${RUBY_SITELIBDIR}/${PORTNAME}
	# Data files
	${MKDIR} ${DATADIR}
	${INSTALL_SCRIPT} ${WRKSRC}/aswiki.cgi ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/aswiki.conf ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/default.css ${DATADIR}
	${CP} -R ${WRKSRC}/plugin ${DATADIR}
	${CP} -R ${WRKSRC}/template ${DATADIR}
	# Setup script
	${INSTALL_SCRIPT} ${WRKSRC}/setup.sh ${DATADIR}

.include <bsd.port.mk>
@


1.14
log
@- Reassign to the heap

Approved by:	portmgr (tabthorpe)
Feature safe:	yes
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.13
log
@- Switch SourceForge ports to the new File Release System: categories starting with W
@
text
@d14 1
a14 1
MAINTAINER=		matusita@@FreeBSD.org
@


1.12
log
@Yet another ruby-1.8.6's broken backward compatibility fix.

  I dunno why, but array data cannot be (implicitly) converted to string
  data, so covert the array data explicitly with 'to_s'.

Bump PORTREVISION as usual.

Please note that I'll report all the patches to the aswiki author iff
I've confirmed that aswiki works well on ruby-1.8.6.
@
text
@d12 1
a12 2
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
@


1.11
log
@More broken-ruby-1.8.6-backward-compatibility adaptation.
Also bump PORTREVISION.

Found by: y-manabe at ist dot osaka-u.ac.jp
@
text
@d10 1
a10 1
PORTREVISION=		2
@


1.10
log
@Fix to work with ruby-1.8.6,1.

I don't know why, but it seems that the method Digest::MD5.new behavior
is changed between 1.8.5 and 1.8.6 (sigh).

As usual, bump PORTREVISION.

See also: http://myn.meganecco.org/2007041200 (in Japanese)
See also: http://svn.ruby-lang.org/repos/ruby/tags/v1_8_6/ChangeLog
          (MD5 related codes are changed at Mar/06/2007?)
@
text
@d10 1
a10 1
PORTREVISION=		1
@


1.9
log
@Remove USE_REINPLACE from categories starting with W
@
text
@d10 1
a10 1
#PORTREVISION=		0
@


1.8
log
@Update to 1.0.4.  Fix pkg-plist also (a directory is listed as a file).
@
text
@a22 1
USE_REINPLACE=		YES
@


1.7
log
@Add a patch to fix warning about character-class string.
Bump PORTREVISION.

Why patch needed?  According ruby 1.8 language definition, even if
the first character-class string is square branket, warn if not
escaped with backslash.  See also ruby/regex.c rev 1.81(*1).  Since
[\]] is properly processed by ruby 1.6, patch this unconditionally.

Adviced about ruby language by: knu, hrs

*1) http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/regex.c#rev1.81
@
text
@d9 2
a10 2
PORTVERSION=		1.0.2
PORTREVISION=		1
@


1.6
log
@Update to 1.0.2.
@
text
@d10 1
a10 1
PORTREVISION=		0
d40 1
@


1.5
log
@Unbreak build.

RUBY_SHEBANG_FILES feature in bsd.ruby.mk kicks ${RUBY} to rewrite
files; ruby is used in build stage.  So RUBY_NO_BUILD_DEPENDS should
_not_ be listed here.

Since this change doesn't affect the package contents itself, no bumps.

Found by:	dosirak.kr.freebsd.org
Reported by:	kris
Pointy hat to:	matusita
@
text
@d9 2
a10 2
PORTVERSION=		1.0.1
PORTREVISION=		2
@


1.4
log
@More typo fix.

Found by: Fritz Heinrichmeyer <Fritz.Heinrichmeyer@@Fernuni-Hagen.de>
@
text
@a25 1
RUBY_NO_BUILD_DEPENDS=	YES
@


1.3
log
@Use install(1) instead of cp(1), to set file mode (it is unhappy to users
that the config file is read-only).  Install sample CSS file to
aswiki home directory.

Content changed, so bump the revision.
@
text
@d10 1
a10 1
PORTREVISION=		1
d35 1
a35 1
	${ECHO} "\$$DIR_TEMPLATE = '__DATADIR__/templete'" \
@


1.2
log
@Typo fix.  No contents changed, no bump.

Found by: kris
@
text
@d10 1
@


1.1
log
@New port: aswiki

This is yet another wiki clone, written in Ruby.  It supports contents
logging with RCS; you can easily checks the difference of each change.

Reviewed by:	kuriyama, knu
@
text
@d50 1
a50 1
	${CP} -R ${WRKSRC}/templete ${DATADIR}
@

