head	1.74;
access;
symbols
	RELEASE_8_3_0:1.69
	RELEASE_9_0_0:1.67
	RELEASE_7_4_0:1.64
	RELEASE_8_2_0:1.64
	RELEASE_6_EOL:1.64
	RELEASE_8_1_0:1.64
	RELEASE_7_3_0:1.62
	RELEASE_8_0_0:1.61
	RELEASE_7_2_0:1.60
	RELEASE_7_1_0:1.59
	RELEASE_6_4_0:1.59
	RELEASE_5_EOL:1.58
	RELEASE_7_0_0:1.58
	RELEASE_6_3_0:1.58
	PRE_XORG_7:1.58
	RELEASE_4_EOL:1.58
	RELEASE_6_2_0:1.57
	RELEASE_6_1_0:1.53
	RELEASE_5_5_0:1.53
	RELEASE_6_0_0:1.47
	RELEASE_5_4_0:1.47
	RELEASE_4_11_0:1.47
	RELEASE_5_3_0:1.46
	RELEASE_4_10_0:1.45
	RELEASE_5_2_1:1.45
	RELEASE_5_2_0:1.45
	RELEASE_4_9_0:1.44
	RELEASE_5_1_0:1.42
	RELEASE_4_8_0:1.42
	RELEASE_5_0_0:1.37
	RELEASE_4_7_0:1.32
	RELEASE_4_6_2:1.28
	RELEASE_4_6_1:1.28
	RELEASE_4_6_0:1.28
	RELEASE_5_0_DP1:1.27
	RELEASE_4_5_0:1.25
	RELEASE_4_4_0:1.23
	RELEASE_4_3_0:1.12
	RELEASE_4_2_0:1.8
	RELEASE_4_1_1:1.7;
locks; strict;
comment	@# @;


1.74
date	2012.11.17.06.02.41;	author svnexp;	state Exp;
branches;
next	1.73;

1.73
date	2012.09.22.21.15.50;	author ohauer;	state Exp;
branches;
next	1.72;

1.72
date	2012.08.18.14.29.08;	author ohauer;	state Exp;
branches;
next	1.71;

1.71
date	2012.07.28.19.41.21;	author dinoex;	state Exp;
branches;
next	1.70;

1.70
date	2012.06.02.08.55.36;	author dinoex;	state Exp;
branches;
next	1.69;

1.69
date	2012.01.12.07.12.37;	author dinoex;	state Exp;
branches;
next	1.68;

1.68
date	2012.01.01.16.47.39;	author ohauer;	state Exp;
branches;
next	1.67;

1.67
date	2011.09.23.22.26.03;	author amdmi3;	state Exp;
branches;
next	1.66;

1.66
date	2011.08.20.17.27.46;	author ohauer;	state Exp;
branches;
next	1.65;

1.65
date	2011.07.04.17.46.12;	author swills;	state Exp;
branches;
next	1.64;

1.64
date	2010.05.25.20.17.35;	author pgollucci;	state Exp;
branches;
next	1.63;

1.63
date	2010.03.28.07.29.46;	author dinoex;	state Exp;
branches;
next	1.62;

1.62
date	2010.02.18.06.15.09;	author dinoex;	state Exp;
branches;
next	1.61;

1.61
date	2009.05.21.20.45.32;	author pgollucci;	state Exp;
branches;
next	1.60;

1.60
date	2008.11.09.08.18.50;	author dinoex;	state Exp;
branches;
next	1.59;

1.59
date	2008.06.01.19.20.03;	author dinoex;	state Exp;
branches;
next	1.58;

1.58
date	2006.12.25.20.19.17;	author dinoex;	state Exp;
branches;
next	1.57;

1.57
date	2006.05.15.11.46.31;	author dinoex;	state Exp;
branches;
next	1.56;

1.56
date	2006.03.31.14.34.55;	author dinoex;	state Exp;
branches;
next	1.55;

1.55
date	2006.03.20.20.16.46;	author dinoex;	state Exp;
branches;
next	1.54;

1.54
date	2006.03.18.15.54.34;	author dinoex;	state Exp;
branches;
next	1.53;

1.53
date	2006.02.20.08.53.14;	author dinoex;	state Exp;
branches;
next	1.52;

1.52
date	2006.01.24.14.40.42;	author dinoex;	state Exp;
branches;
next	1.51;

1.51
date	2006.01.15.16.11.12;	author pav;	state Exp;
branches;
next	1.50;

1.50
date	2006.01.15.16.09.52;	author pav;	state Exp;
branches;
next	1.49;

1.49
date	2005.11.13.09.18.12;	author dinoex;	state Exp;
branches;
next	1.48;

1.48
date	2005.11.11.01.17.56;	author linimon;	state Exp;
branches;
next	1.47;

1.47
date	2004.12.25.22.07.19;	author knu;	state Exp;
branches;
next	1.46;

1.46
date	2004.05.22.18.08.18;	author knu;	state Exp;
branches;
next	1.45;

1.45
date	2003.11.07.09.12.55;	author marcus;	state Exp;
branches;
next	1.44;

1.44
date	2003.09.10.07.38.37;	author knu;	state Exp;
branches;
next	1.43;

1.43
date	2003.08.27.03.33.50;	author knu;	state Exp;
branches;
next	1.42;

1.42
date	2003.02.19.09.31.10;	author knu;	state Exp;
branches;
next	1.41;

1.41
date	2003.02.18.05.39.35;	author knu;	state Exp;
branches;
next	1.40;

1.40
date	2003.01.24.04.30.41;	author knu;	state Exp;
branches;
next	1.39;

1.39
date	2003.01.18.13.27.52;	author knu;	state Exp;
branches;
next	1.38;

1.38
date	2003.01.01.16.30.22;	author knu;	state Exp;
branches;
next	1.37;

1.37
date	2002.12.06.17.17.38;	author knu;	state Exp;
branches;
next	1.36;

1.36
date	2002.11.04.00.11.00;	author knu;	state Exp;
branches;
next	1.35;

1.35
date	2002.10.29.17.24.56;	author knu;	state Exp;
branches;
next	1.34;

1.34
date	2002.10.06.21.38.30;	author knu;	state Exp;
branches;
next	1.33;

1.33
date	2002.10.06.19.50.45;	author knu;	state Exp;
branches;
next	1.32;

1.32
date	2002.09.03.08.12.21;	author dinoex;	state Exp;
branches;
next	1.31;

1.31
date	2002.08.20.20.17.16;	author knu;	state Exp;
branches;
next	1.30;

1.30
date	2002.07.12.05.00.41;	author knu;	state Exp;
branches;
next	1.29;

1.29
date	2002.06.11.12.51.15;	author knu;	state Exp;
branches;
next	1.28;

1.28
date	2002.04.22.21.02.24;	author knu;	state Exp;
branches;
next	1.27;

1.27
date	2002.02.15.11.22.14;	author knu;	state Exp;
branches;
next	1.26;

1.26
date	2002.01.31.05.11.25;	author knu;	state Exp;
branches;
next	1.25;

1.25
date	2002.01.16.10.42.00;	author knu;	state Exp;
branches;
next	1.24;

1.24
date	2001.10.20.14.08.23;	author knu;	state Exp;
branches;
next	1.23;

1.23
date	2001.08.24.06.15.40;	author knu;	state Exp;
branches;
next	1.22;

1.22
date	2001.08.13.04.16.22;	author knu;	state Exp;
branches;
next	1.21;

1.21
date	2001.08.07.09.24.10;	author knu;	state Exp;
branches;
next	1.20;

1.20
date	2001.07.20.07.49.13;	author knu;	state Exp;
branches;
next	1.19;

1.19
date	2001.06.28.07.41.31;	author knu;	state Exp;
branches;
next	1.18;

1.18
date	2001.06.20.13.36.17;	author knu;	state Exp;
branches;
next	1.17;

1.17
date	2001.06.06.10.40.58;	author knu;	state Exp;
branches;
next	1.16;

1.16
date	2001.06.04.15.57.47;	author knu;	state Exp;
branches;
next	1.15;

1.15
date	2001.05.24.11.21.20;	author knu;	state Exp;
branches;
next	1.14;

1.14
date	2001.04.27.10.55.16;	author knu;	state Exp;
branches;
next	1.13;

1.13
date	2001.04.20.09.21.43;	author knu;	state Exp;
branches;
next	1.12;

1.12
date	2001.04.13.10.07.20;	author knu;	state Exp;
branches;
next	1.11;

1.11
date	2001.03.05.12.35.06;	author knu;	state Exp;
branches;
next	1.10;

1.10
date	2000.12.31.10.14.53;	author knu;	state Exp;
branches;
next	1.9;

1.9
date	2000.12.11.19.54.50;	author knu;	state Exp;
branches;
next	1.8;

1.8
date	2000.10.20.20.21.26;	author knu;	state Exp;
branches;
next	1.7;

1.7
date	2000.09.22.05.05.43;	author knu;	state Exp;
branches;
next	1.6;

1.6
date	2000.09.10.10.55.05;	author knu;	state Exp;
branches;
next	1.5;

1.5
date	2000.09.07.07.44.38;	author knu;	state Exp;
branches;
next	1.4;

1.4
date	2000.08.25.09.59.15;	author knu;	state Exp;
branches;
next	1.3;

1.3
date	2000.08.16.12.21.06;	author knu;	state Exp;
branches;
next	1.2;

1.2
date	2000.08.12.20.09.21;	author knu;	state Exp;
branches;
next	1.1;

1.1
date	2000.08.11.16.39.39;	author knu;	state Exp;
branches;
next	;


desc
@@


1.74
log
@Switch exporter over
@
text
@# Created by: Akinori MUSHA aka knu <knu@@idaemons.org>
# $FreeBSD: head/www/mod_ruby/Makefile 304723 2012-09-22 21:15:50Z ohauer $

PORTNAME=	mod_ruby
PORTVERSION=	1.3.0
PORTREVISION=	3
CATEGORIES=	www ruby
MASTER_SITES=	http://www.modruby.net/archive/ \
		ftp://ftp.dinoex.de/pub/FreeBSD/distfiles/
PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}
DIST_SUBDIR=	ruby

MAINTAINER=	dinoex@@FreeBSD.org
COMMENT=	An Apache module that embeds Ruby interpreter within

MAKE_JOBS_SAFE=  yes

USE_APACHE=	22
USE_RUBY=	yes
USE_PERL5_BUILD=	yes

CONFIGURE_ARGS=	--with-apxs="${APXS}"
CFLAGS+=	-DONIG_ESCAPE_REGEX_T_COLLISION
MAKE_ARGS=	RUBY="${RUBY}"
INSTALL_TARGET=	site-install

RUBY_RD_FILES=	# empty

DOCS_EN=	COPYING ChangeLog LEGAL LICENSE.apreq NOTICE \
		README.en doc/default.css doc/*.en.*
DOCS_JA=	README.ja doc/default.css doc/*.ja.*

.include <bsd.port.pre.mk>

.if ${APACHE_VERSION} > 20
CONFIGURE_ARGS+=	--with-apr-includes="`${LOCALBASE}/bin/apr-1-config --includedir`"
.endif

do-configure:
	@@cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} ${RUBY_FLAGS} configure.rb ${CONFIGURE_ARGS}
.if !defined(WITHOUT_PTHREADS) && defined(WITH_PTHREADS)
# dirty hack to force mod_ruby.so linked with lpthread.so, otherwise unresolved
# symbols happen
	@@${REINPLACE_CMD} -e 's|-pthread|-pthread -lpthread|' ${WRKSRC}/Makefile

PKGNAMESUFFIX=	-pthreads
.endif

post-install: doc-install
	${INSTALL_DATA} ${WRKSRC}/examples/httpd.conf `${APXS} -q SYSCONFDIR`/httpd.conf.${PORTNAME}
# Would be nice if we could use PLIST_SUB here..
	${REINPLACE_CMD} \
		-e 's,%%LIBEXECDIR%%,'`${APXS} -q LIBEXECDIR | ${SED} 's:${LOCALBASE}/::'`',g;' \
		-e 's,%%SYSCONFDIR%%,'`${APXS} -q SYSCONFDIR | ${SED} 's:${LOCALBASE}/::'`',g;' \
		${TMPPLIST}

doc-install:
.if !defined(NOPORTDOCS)
.if !defined(RUBY_NO_RD_HTML)
	cd ${WRKSRC}/doc; ${MAKE}
.endif
	${MKDIR} ${RUBY_MODDOCDIR}/ja
.for f in ${DOCS_EN}
	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.for f in ${DOCS_JA}
	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
.endfor
.endif
	@@${CAT} ${PKGMESSAGE}

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


1.73
log
@SVN rev 304723 on 2012-09-22 21:15:50Z by ohauer

- USE_APACHE= s/22+/22/
- adopt new Makefile header

Port build fails on local exp-run with apache24 with
 error: 'conn_rec' has no member named 'remote_ip'

or various other apache22 specific functions/parameters

with hat apache@@
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.72
log
@SVN rev 302724 on 2012-08-18 14:29:08Z by ohauer

- remove www/apache20 and devel/apr0
- s/USE_APACHE= 20+/USE_APACHE= 22+/
- unify s/YES/yes/
- cleanup APACHE_VERSION <= 22 usage
- add entry to MOVED

with hat apache@@
@
text
@d1 1
a1 4
# New ports collection makefile for:	mod_ruby
# Date created:			12 Aug 2000
# Whom:				Akinori MUSHA aka knu <knu@@idaemons.org>
#
a2 1
#
d18 1
a18 1
USE_APACHE=	22+
@


1.71
log
@SVN rev 301668 on 2012-07-28 19:41:21Z by dinoex

- add more MASTER_SITES
@
text
@d22 1
a22 1
USE_APACHE=	20+
@


1.70
log
@- import latest git patches.
PR:		168513
Submitted by:	fluffy (Dima Panov)
@
text
@d12 2
a13 1
MASTER_SITES=	http://www.modruby.net/archive/
@


1.69
log
@- remove BROKEN, builds with ruby19
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.68
log
@- change required APACHE version from 13+ to 20+
  (prepare to remove www/apache13)

- no PORTREVISION bump since apache22 is the default

with hat apache@@
@
text
@a37 4
.if ${RUBY_VER} == 1.9
BROKEN=	does not build with ruby 1.9
.endif

@


1.67
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d21 1
a21 1
USE_APACHE=	13+
@


1.66
log
@ - bump PORTREVISION from ports if USE_APACHE=13+ or 20+ is defined
@
text
@a26 1
CONFIGURE_ENV+=	CFLAGS="${CFLAGS}"
@


1.65
log
@- Mark as broken with Ruby 1.9

Approved by:	portmgr
@
text
@d10 1
a10 1
PORTREVISION=	1
d21 1
a21 1
USE_APACHE=	1.3+
@


1.64
log
@Mk/bsd.apache.mk can not sufficiently alter things before Mk/bsd.options.mk
in Mk/bsd.ports.mk due to ordering in Mk/bsd.port.mk.  This causes OPTIONSFILE
to be incorrectly set during some make phases as a result of the recent
PKGNAMEPREFIX for apache ports.

'Revert' some of the PKGNAMEPREFIX changes for apXX-.
   - Must be manually requested in tbe port Makefile either by
     a) AP_FAST_BUILD=yes
     b) PKGNAMEPREFIX=${APACHE_PKGNAMEPREFIX}
   - Going forward, we will only do this for ports where WITH_APACHE
       is NOT optional, but required.  mod_* ports are a good fit.

141 ports are mod_ ports
  80 of those use AP_FAST_BUILD and thus are auto hooked by this patch [a].
  61 remaining are then patched to mirror the other $lang frameworks [b].

PR:             ports/146956
Reported by:    Hans F. Nordhaug <Hans.F.Nordhaug@@hiMolde.no>, several
Discussed with: pav, itectu on #bsdports
Tested by:      P6 TB run
Approved by:    portmgr (pav)
@
text
@d39 4
@


1.63
log
@- remove comment
@
text
@d13 1
@


1.62
log
@- include new upstream patches

- drop dependency on eruby
Suggested by:	Ruslan Mahmatkhanov
Feature safe:	yes
@
text
@a74 2
#RUBY_VER=1.9

@


1.61
log
@- Mark remaining mod_* ports MAKE_JOBS_SAFE=yes

PR:             ports/134611
Approved by:    pav (#bsdports)
@
text
@d10 1
a17 2
LIB_DEPENDS=	eruby.10:${PORTSDIR}/textproc/eruby

d24 3
a26 4
CONFIGURE_ARGS=	--with-apxs="${APXS}" \
		--enable-eruby=yes \
		--with-eruby-includes="${LOCALBASE}/include" \
		--with-eruby-libraries="${LOCALBASE}/lib"
d75 2
@


1.60
log
@- update to 1.3.0
@
text
@d19 2
@


1.59
log
@- cleanup FreeBSD 5.x
@
text
@d9 1
a9 1
PORTVERSION=	1.2.6
@


1.58
log
@- update to 1.2.6
@
text
@a46 1
.if ${OSVERSION} >= 502102
d48 1
a48 1
.endif
@


1.57
log
@- fix perl dependency when istalled by packages
@
text
@d9 1
a9 2
PORTVERSION=	1.2.5
PORTREVISION=	1
@


1.56
log
@- Disable pthread support by default
- add WITH_PTHREADS knob.
- Bump PORTREVISION.
@
text
@d22 1
@


1.55
log
@- use some magic from bsd.apache.mk
@
text
@d10 1
d44 1
a44 1
.if !defined(WITHOUT_PTHREADS)
d50 1
a50 2
.else
PKGNAMESUFFIX=	-nopthreads
@


1.54
log
@- Fix build with apache22
PR:		94442
Submitted by:	Hiroto Kagotani
@
text
@d19 1
a19 1
USE_APACHE=	yes
d37 1
a37 2
AP_CUR_VERSION!=	${ECHO_CMD} ${APACHE_PORT} | ${SED} -ne 's,.*/apache\([0-9]*\).*,\1,p'
.if ${AP_CUR_VERSION} > 20
@


1.53
log
@- updated to 1.2.5
- ipv6 patch now included in distribution
@
text
@a20 1
USE_REINPLACE=	yes
d37 5
@


1.52
log
@- new option WITHOUT_PTHREADS
@
text
@d9 1
a9 1
PORTVERSION=	1.2.4
@


1.51
log
@Force commit to note that previous revision really was:

- force libpthread on the shared object, so once loaded into the apache,
  it does not generate unresolved symbol error

Reported by:	Alexander Wittig <alexander@@wittig.name>
@
text
@d40 1
d46 3
@


1.50
log
@iWebCal displays iCal calendars and other vCalendars on the Web. There's no
need for .Mac: With iWebCal you can share calendars with anyone.

PR:		ports/91795
Submitted by:	Babak Farrokhi <babak@@farrokhi.net>
@
text
@@


1.49
log
@- take maintainership
@
text
@d36 2
d40 5
a53 2
.include <bsd.port.mk>

d68 2
@


1.48
log
@With portmgr hat on, reset maintainership of knu's ports since he has
been inactive more than 6 months.  We hope to see him back sometime.
@
text
@d14 1
a14 1
MAINTAINER=	ports@@FreeBSD.org
@


1.47
log
@Update to 1.2.4.
@
text
@d14 1
a14 1
MAINTAINER=	knu@@FreeBSD.org
@


1.46
log
@Update to 1.2.0.
@
text
@d9 1
a9 1
PORTVERSION=	1.2.0
d32 2
a33 1
DOCS_EN=	COPYING ChangeLog README.en doc/default.css doc/*.en.*
@


1.45
log
@Use the new Apache bits from bsd.port.mk.

Submitted by:	dinoex
@
text
@d9 1
a9 1
PORTVERSION=	1.0.7
@


1.44
log
@Update to 1.0.7.
@
text
@a16 1
BUILD_DEPENDS=	${APXS}:${APACHE_PORT}
a17 1
RUN_DEPENDS=	${APXS}:${APACHE_PORT}
d19 1
a21 3

APXS?=		${LOCALBASE}/sbin/apxs
APACHE_PORT?=	${PORTSDIR}/www/apache13
@


1.43
log
@Update to 1.0.6.  Somehow the build problem on 5.x is gone.
@
text
@d9 1
a9 1
PORTVERSION=	1.0.6
@


1.42
log
@Update to 1.0.5.

Fix packaging and deinstalling when built with www/apache2.
@
text
@d9 1
a9 1
PORTVERSION=	1.0.5
@


1.41
log
@De-pkg-comment.
@
text
@d9 1
a9 1
PORTVERSION=	1.0.4
d22 1
d44 5
@


1.40
log
@Update to 1.0.4.
@
text
@d15 1
@


1.39
log
@Update to 1.0.3.
@
text
@d9 1
a9 1
PORTVERSION=	1.0.3
@


1.38
log
@Update to 1.0.2.
@
text
@d9 1
a9 1
PORTVERSION=	1.0.2
@


1.37
log
@Introduce a knob RUBY_NO_RD_HTML and enable it by default on alpha.  This
replaces the non-working NOPORTDOCS workaround and fixes build on the alpha,
where rd2 coredumps.

Tested on:	the axp cluster
Approved by:	kris
@
text
@d9 1
a9 1
PORTVERSION=	1.0.1
d17 1
a17 1
LIB_DEPENDS=	eruby.09:${PORTSDIR}/textproc/eruby
a35 5

post-patch:
.if !defined(NOPORTDOCS)
	${RUBY} -i -pe 'sub(/ruby /, "${RUBY} ")' ${WRKSRC}/doc/Makefile
.endif
@


1.36
log
@Do s/ruby/${RUBY}/ on doc/Makefile.
@
text
@a20 1
USE_RUBY_RDTOOL=	yes
d32 2
d45 6
a50 1
post-build:
d52 2
a53 1
	@@cd ${WRKSRC}/doc; ${MAKE}
a54 4

post-install:
	${INSTALL_DATA} ${WRKSRC}/examples/httpd.conf `${APXS} -q SYSCONFDIR`/httpd.conf.${PORTNAME}
.if !defined(NOPORTDOCS)
a63 2

.include <bsd.port.mk>
@


1.35
log
@Update to 1.0.1.
@
text
@d30 1
d35 5
@


1.34
log
@Use RUBY_MOD*.
@
text
@d9 1
a9 1
PORTVERSION=	1.0.0
@


1.33
log
@Reflect *_RD renaming.
@
text
@d46 1
a46 1
	${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
d48 1
a48 1
	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
d51 1
a51 1
	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/
@


1.32
log
@Support APACHE_PORT to build with desired apache13* port.
Reviewed by:	knu
@
text
@d21 1
a21 3
.if !defined(NOPORTDOCS)
USE_RUBY_RD=	yes
.endif
@


1.31
log
@Update to 1.0.0.
@
text
@d16 1
a16 1
BUILD_DEPENDS=	${APXS}:${PORTSDIR}/www/apache13
d18 1
a18 1
RUN_DEPENDS=	${APXS}:${PORTSDIR}/www/apache13
d26 1
@


1.30
log
@- Use apxs to determine the location for httpd.conf.

- Make APXS overridable.

PR:		ports/40283
Submitted by:	Sean Chittenden <sean@@chittenden.org>
@
text
@d9 1
a9 1
PORTVERSION=	0.9.9
@


1.29
log
@Update to 0.9.9.
@
text
@d25 1
a25 1
APXS=		${LOCALBASE}/sbin/apxs
d45 1
a45 1
	${INSTALL_DATA} ${WRKSRC}/examples/httpd.conf ${PREFIX}/etc/apache/httpd.conf.${PORTNAME}
@


1.28
log
@Update to 0.9.8.
@
text
@d9 1
a9 1
PORTVERSION=	0.9.8
@


1.27
log
@Update to 0.9.7.
@
text
@d9 1
a9 1
PORTVERSION=	0.9.7
d21 3
d33 2
a34 2
DOCS_EN=	COPYING ChangeLog README.en
DOCS_JA=	README.ja
d38 5
@


1.26
log
@Update to 0.9.6.
@
text
@d9 1
a9 1
PORTVERSION=	0.9.6
@


1.25
log
@Update to 0.9.5.

PR:		ports/33930
Submitted by:	Sean Chittenden <sean@@chittenden.org>
@
text
@d9 1
a9 1
PORTVERSION=	0.9.5
@


1.24
log
@Update to 0.9.4.
@
text
@d9 1
a9 1
PORTVERSION=	0.9.4
@


1.23
log
@Update to 0.9.3.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_ruby/Makefile,v 1.22 2001/08/13 04:16:22 knu Exp $
d9 1
a9 1
PORTVERSION=	0.9.3
@


1.22
log
@Update to 0.9.2.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_ruby/Makefile,v 1.21 2001/08/07 09:24:10 knu Exp $
d9 1
a9 1
PORTVERSION=	0.9.2
@


1.21
log
@Update to 0.9.1.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_ruby/Makefile,v 1.20 2001/07/20 07:49:13 knu Exp $
d9 1
a9 1
PORTVERSION=	0.9.1
@


1.20
log
@Update to 0.9.0.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_ruby/Makefile,v 1.19 2001/06/28 07:41:31 knu Exp $
d9 1
a9 1
PORTVERSION=	0.9.0
@


1.19
log
@Update to 0.8.5.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_ruby/Makefile,v 1.18 2001/06/20 13:36:17 knu Exp $
d9 1
a9 1
PORTVERSION=	0.8.5
@


1.18
log
@Update to 0.8.4.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_ruby/Makefile,v 1.17 2001/06/06 10:40:58 knu Exp $
d9 1
a9 1
PORTVERSION=	0.8.4
@


1.17
log
@Update to 0.8.3.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_ruby/Makefile,v 1.16 2001/06/04 15:57:47 knu Exp $
d9 1
a9 1
PORTVERSION=	0.8.3
@


1.16
log
@Update to 0.8.2.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_ruby/Makefile,v 1.15 2001/05/24 11:21:20 knu Exp $
d9 1
a9 1
PORTVERSION=	0.8.2
@


1.15
log
@Update to the latest snapshot, 0.8.1-2001.05.24.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_ruby/Makefile,v 1.14 2001/04/27 10:55:16 knu Exp $
d9 1
a9 1
PORTVERSION=	0.8.1
a13 4
PATCH_SITES=	http://www.ruby-lang.org/~knu/
PATCHFILES=	${DISTNAME}-2001.05.24.patch.gz
PATCH_DIST_STRIP=	-p1

d17 1
a17 1
LIB_DEPENDS=	eruby.9:${PORTSDIR}/textproc/eruby
d24 1
a24 1
CONFIGURE_ARGS=	--apxs="${APXS}" \
d26 3
a28 2
		--eruby-includes="${LOCALBASE}/include" \
		--eruby-libraries="${LOCALBASE}/lib"
d30 1
a30 1
DOCS_EN=	ChangeLog README.en
d36 2
a37 5
do-install:
	${APXS} -i -n ruby ${WRKSRC}/mod_ruby.so
	${INSTALL_DATA} ${FILESDIR}/httpd.conf.${PORTNAME} ${PREFIX}/etc/apache/
	${MKDIR} ${RUBY_SITELIBDIR}/apache
	${INSTALL_DATA} ${WRKSRC}/ruby/apache/*.rb ${RUBY_SITELIBDIR}/apache/
@


1.14
log
@Update to 0.8.1.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_ruby/Makefile,v 1.13 2001/04/20 09:21:43 knu Exp $
d14 4
d37 1
a37 1
	@@cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} ${RUBY_FLAGS} Makefile.RB ${CONFIGURE_ARGS}
d42 2
a43 1
	${CP} -R ${WRKSRC}/ruby/* ${RUBY_SITELIBDIR}/
@


1.13
log
@Chase the textproc/eruby update.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_ruby/Makefile,v 1.12 2001/04/13 10:07:20 knu Exp $
d9 1
a9 2
PORTVERSION=	0.8.0
PORTREVISION=	1
a30 1
EXAMPLES_EN=	ruby/*
d38 1
a39 4
	${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
.for f in ${EXAMPLES_EN}
	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/${PORTNAME}/
.endfor
@


1.12
log
@Update to 0.8.0.  Drop the support for Ruby 1.4.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_ruby/Makefile,v 1.11 2001/03/05 12:35:06 knu Exp $
d10 1
d18 1
a18 1
LIB_DEPENDS=	eruby.1:${PORTSDIR}/textproc/eruby
@


1.11
log
@Bentofy.  Show some instruction and point at the example file and the
documents instead of directly modifying httpd.conf by apxs -A.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_ruby/Makefile,v 1.10 2000/12/31 10:14:53 knu Exp $
d9 1
a9 2
PORTVERSION=	${VERSION}
PORTREVISION=	1
a20 9
RUBY_REQUIRE=	160 <= Ruby

.include <bsd.port.pre.mk>

.if defined(RUBY_PROVIDED)
VERSION=	0.2.2
.else
VERSION=	0.2.0
.endif
d31 1
d34 1
a34 1
	@@cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} Makefile.RB ${CONFIGURE_ARGS}
d40 4
d54 1
a54 1
.include <bsd.port.post.mk>
@


1.10
log
@Update to 0.2.2.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_ruby/Makefile,v 1.9 2000/12/11 19:54:50 knu Exp $
d10 1
d46 2
a47 1
	${APXS} -i -A -n ruby ${WRKSRC}/mod_ruby.so
d49 1
a49 1
	${MKDIR} ${RUBY_DOCDIR}/mod_ruby/ja
d51 1
a51 1
	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/mod_ruby/
d54 1
a54 1
	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/mod_ruby/ja/
d57 1
a57 1
	${CAT} ${PKGMESSAGE}
@


1.9
log
@Update master sites.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_ruby/Makefile,v 1.8 2000/10/20 20:21:26 knu Exp $
d26 1
a26 1
VERSION=	0.2.1
@


1.8
log
@Update to 0.2.1.  Now Ruby 1.4 support has been dropped in this
version, this port still builds and installs 0.2.0 if RUBY_VER=1.4.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_ruby/Makefile,v 1.7 2000/09/22 05:05:43 knu Exp $
d11 1
a11 1
MASTER_SITES=	http://www.ruby-lang.org/~shugo/mod_ruby/
@


1.7
log
@Update to 0.2.0.

Now it uses textproc/eruby's shared library.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_ruby/Makefile,v 1.6 2000/09/10 10:55:05 knu Exp $
d9 1
a9 1
PORTVERSION=	0.2.0
d21 9
d57 1
a57 1
.include <bsd.port.mk>
@


1.6
log
@Pass the configure script the apxs' absolute pathname.

Found by:	bento
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_ruby/Makefile,v 1.5 2000/09/07 07:44:38 knu Exp $
d9 1
a9 1
PORTVERSION=	0.1.9
d17 1
a21 2
WRKSRC=		${WRKDIR}/${PORTNAME}

d24 4
a27 1
CONFIGURE_ARGS=	--apxs="${APXS}"
d48 1
a48 3
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.ruby.mk"
.include <bsd.port.post.mk>
@


1.5
log
@Update with bsd.ruby.mk.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_ruby/Makefile,v 1.4 2000/08/25 09:59:15 knu Exp $
d25 2
d31 1
a31 1
	@@cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} Makefile.RB
@


1.4
log
@Update to 0.1.9.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_ruby/Makefile,v 1.3 2000/08/16 12:21:06 knu Exp $
d16 4
a19 4
BUILD_DEPENDS=	${APXS}:${PORTSDIR}/www/apache13 \
		ruby:${PORTSDIR}/lang/ruby
RUN_DEPENDS=	${APXS}:${PORTSDIR}/www/apache13 \
		ruby:${PORTSDIR}/lang/ruby
a24 4
RUBY?=		${LOCALBASE}/bin/ruby
RUBY_VER?=	1.4
RUBY_ARCH?=	${ARCH}-freebsd${OSREL}

d34 1
a34 1
	${MKDIR} ${PREFIX}/share/doc/ruby/mod_ruby/ja
d36 1
a36 1
	${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/mod_ruby/
d39 1
a39 1
	${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/mod_ruby/ja/
d44 3
a46 1
.include <bsd.port.mk>
@


1.3
log
@Make all these Ruby related ports belong also in the newly-added
"ruby" virtual category.

Make textproc/eruby belong also in www.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_ruby/Makefile,v 1.2 2000/08/12 20:09:21 knu Exp $
d9 1
a9 1
PORTVERSION=	${RELEASE_VER}.${SNAPSHOT_DATE}
d11 1
a11 2
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	knu
a21 3

RELEASE_VER=	0.1.8
SNAPSHOT_DATE=	2000.08.04
@


1.2
log
@Do The Right Thing. (R)

Overall changes:
	Use tabs instead of sequential spaces.
	Note Author as well as WWW in DESCR.
	Do not install examples when NOPORTDOCS.
	Make RUBY, RUBY_VER and RUBY_ARCH variables overridable.

ruby-date2:
	share/doc/ruby/date2/examples/ -> share/examples/ruby/date2/cal.rb

textproc/ruby-html-parser:
databases/ruby-mysql:
devel/ruby-optparse:
devel/ruby-property:
	Install modules under lib/ruby/site_ruby/${RUBY_VER}/ instead
	of lib/ruby/site_ruby/ or lib/ruby/${RUBY_VER}/

textproc/ruby-rdtool:
	Install documents in .rd format too.
	Format optparse's rd file. (Since ruby-rdtool depends on
	optparse, it cannot be done during optparse's build
	process.  So ruby-rdtool should take care of that when it is
	installed. :)
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_ruby/Makefile,v 1.1 2000/08/11 16:39:39 knu Exp $
d10 1
a10 1
CATEGORIES=	www lang	# ruby
@


1.1
log
@Add mod_ruby, an Apache module that embeds Ruby interpreter within.
@
text
@d5 1
a5 1
# $FreeBSD$
d29 3
a31 3
RUBY=		${LOCALBASE}/bin/ruby
RUBY_VER=	1.4
RUBY_ARCH=	${ARCH}-freebsd${OSREL}
@

