head	1.15;
access;
symbols
	RELEASE_8_3_0:1.12
	RELEASE_9_0_0:1.10
	RELEASE_7_4_0:1.8
	RELEASE_8_2_0:1.8
	RELEASE_6_EOL:1.7;
locks; strict;
comment	@# @;


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

1.14
date	2012.09.21.19.56.26;	author ohauer;	state Exp;
branches;
next	1.13;

1.13
date	2012.07.01.20.22.46;	author ohauer;	state Exp;
branches;
next	1.12;

1.12
date	2012.01.18.04.50.40;	author pgollucci;	state Exp;
branches;
next	1.11;

1.11
date	2012.01.09.15.41.07;	author tabthorpe;	state Exp;
branches;
next	1.10;

1.10
date	2011.08.20.17.27.46;	author ohauer;	state Exp;
branches;
next	1.9;

1.9
date	2011.03.18.09.38.52;	author miwi;	state Exp;
branches;
next	1.8;

1.8
date	2010.12.04.07.33.58;	author ade;	state Exp;
branches;
next	1.7;

1.7
date	2010.10.16.11.52.43;	author ade;	state Exp;
branches;
next	1.6;

1.6
date	2010.10.05.19.57.53;	author ade;	state Exp;
branches;
next	1.5;

1.5
date	2010.09.22.05.45.34;	author pgollucci;	state Exp;
branches;
next	1.4;

1.4
date	2010.09.15.18.35.20;	author ade;	state Exp;
branches;
next	1.3;

1.3
date	2010.09.13.23.32.15;	author pgollucci;	state Exp;
branches;
next	1.2;

1.2
date	2010.09.11.20.21.09;	author pgollucci;	state Exp;
branches;
next	1.1;

1.1
date	2010.09.09.03.21.49;	author pgollucci;	state Exp;
branches;
next	;


desc
@@


1.15
log
@Switch exporter over
@
text
@# Created by: Peter Lai <cowbert@@gmail.com>
# $FreeBSD: head/www/mod_rivet/Makefile 304639 2012-09-21 19:56:26Z ohauer $

PORTNAME=	mod_rivet
PORTVERSION=	2.0.5
PORTREVISION=	1
CATEGORIES=	www tcl
MASTER_SITES=		${MASTER_SITE_APACHE}
MASTER_SITE_SUBDIR=	tcl/rivet
DISTNAME=		rivet-${PORTVERSION}

MAINTAINER=	cowbert@@gmail.com
COMMENT=	Embeds a Tcl interpreter in the Apache server

LICENSE=	AL2

LIB_DEPENDS=	itcl:${PORTSDIR}/lang/itcl

USE_APACHE=	22+
USE_TCL=	84+
USE_LDCONFIG=	${PREFIX}/lib/rivet

MAKE_JOBS_SAFE=	yes
GMAKE=		yes
GNU_CONFIGURE=	yes

.include <bsd.port.pre.mk>

CONFIGURE_ARGS+=	--with-apache-version=2 \
			--prefix=${PREFIX} --with-apxs=${APXS} \
			--with-tcl=${TCL_LIBDIR} --with-tclsh=${TCLSH} \
			--with-rivet-target-dir=${PREFIX}/lib/rivet

post-patch:
	${REINPLACE_CMD}  -e 's|`$${apxs_found} -q LIBEXECDIR`|${PREFIX}/${APACHEMODDIR}|g' \
	   ${WRKSRC}/configure.ac ${WRKSRC}/configure

post-install:
	@@${ECHO_MSG} ""
	@@${ECHO_MSG} "===================================================="
	@@${ECHO_MSG} "Remember to modify your apache configuration file"
	@@${ECHO_MSG} "to load mod_rivet and set the appropriate handlers:"
	@@${ECHO_MSG} ""
	@@${ECHO_MSG} "LoadModule rivet_module ${APACHEMODDIR}/mod_rivet.so"
	@@${ECHO_MSG} ""
	@@${ECHO_MSG} "AddType application/x-httpd-rivet .rvt"
	@@${ECHO_MSG} "AddType application/x-rivet-tcl .tcl"
	@@${ECHO_MSG} ""
	@@${ECHO_MSG} "Visit http://tcl.apache.org/rivet/ for documentation"
	@@${ECHO_MSG} ""
	@@${ECHO_MSG} "===================================================="

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


1.14
log
@SVN rev 304639 on 2012-09-21 19:56:26Z by ohauer

- add itcl to LIB_DEPENDS
- adopt new Makefile header

PR:		171210
Submitted by:	Pietro Cerutti <gahr@@FreeBSD.org>
Approved by:	maintainer timeout
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.13
log
@- update to version 2.0.5

PR:		169468
Submitted by:	Jeff Lawson <jeff@@bovine.net>
Approved by:	Peter Lai <cowbert@@gmail.com> (maintainer)
@
text
@d1 1
a1 4
# New ports collection makefile for:	mod_rivet
# Date created:				June 16, 2010
# Whom:					Peter Lai <cowbert@@gmail.com>
#
a2 1
#
d6 1
d15 3
a17 1
LICENSE=		AL2
@


1.12
log
@- Update to 2.0.4
  Correct some errors in patch from drift and autotools overuse
- Respect PREFIX

PR:		ports/162814
Submitted by:	gahr@@
Approved by:	maintainer timeout (cowbert@@gmail.com; 54 days)
@
text
@d9 1
a9 1
PORTVERSION=	2.0.4
a17 1
MAKE_JOBS_SAFE=	yes
d24 1
d42 1
a42 1
	@@${ECHO_MSG} "Remember to modify your apache configuration file
@


1.11
log
@- The proper acronym for Apache Software License 2 is really AL2
- Thanks to crees@@ for generating the initial patch

PR:		ports/163521
Submitted by:	Pedro Giffuni <pfg apache.org>
Hat:		portmgr
Exp run by:	pav
@
text
@d9 1
a9 1
PORTVERSION=	2.0.2
a17 2
WRKSRC=			${WRKDIR}/libapache2-mod-rivet-${PORTVERSION}

a21 1
USE_AUTOTOOLS=	automake autoconf
d23 2
a25 1

d35 4
@


1.10
log
@ - bump PORTREVISION from ports if USE_APACHE=13+ or 20+ is defined
@
text
@d21 1
a21 1
LICENSE=		ASL
@


1.9
log
@- Update to 2.0.2

PR:		155164
Submitted by:	Peter C. Lai" <cowbert@@gmail.com> (maintainer)
@
text
@d23 1
a23 1
USE_APACHE=	2.2+
@


1.8
log
@Sync to new bsd.autotools.mk
@
text
@d9 1
a9 2
PORTVERSION=	2.0.0
PORTREVISION=	1
d18 1
a18 1
WRKSRC=			${WRKDIR}/rivet-${PORTVERSION}
d21 1
a36 5
pre-configure:
	@@${ECHO_MSG} "Update dist install-sh with one from automake..."
	${CP} -f ${AUTOMAKE_DIR}/install-sh ${WRKSRC}/tclconfig/install-sh
	cd ${WRKSRC} && ${AUTORECONF} -v

d41 3
a43 1
	@@${ECHO_MSG} "to load mod_rivet:"
d45 2
a46 1
	@@${ECHO_MSG} "LoadModule mod_rivet ${APACHEMODDIR}/mod_rivet.so"
@


1.7
log
@Punt autoconf267->autoconf268
@
text
@d24 1
a24 1
USE_AUTOTOOLS=	automake:111 autoconf:268
@


1.6
log
@Round one migration of ports from automake{19,110} to automake111
@
text
@d24 1
a24 1
USE_AUTOTOOLS=	automake:111 autoconf:267
@


1.5
log
@- Mark 2.2 only until maintainer sends a patch for 2.0

With hat:       apache@@
Reported by:    pav via pointyhat x2 (pointyhat to myself)
@
text
@d24 1
a24 1
USE_AUTOTOOLS=	automake:110 autoconf:267
@


1.4
log
@Autotools update.   Read ports/UPDATING 20100915 for details.

Approved by:	portmgr (for Mk/bsd.port.mk part)
Tested by:	Multiple -exp runs
@
text
@d23 1
a23 1
USE_APACHE=	2.0+
@


1.3
log
@- Restrict to 20+

Discussed with: cowbert@@gmail.com (maintainer) via #bsdports
Reported by:    pointyhat via pav
@
text
@d10 1
d24 1
a24 1
USE_AUTOTOOLS=	automake:110 autoconf:262
@


1.2
log
@- Fix build, APACHE_VERSION containts the VERSION, AP_VERSION is an intermediary
  based on USE_APACHE

Reported by:        pointyhat via pav
@
text
@d22 1
a22 1
USE_APACHE=	1.3+
d31 2
a32 7
.if ${APACHE_VERSION} == 1.3
CONFIGURE_ARGS+=	--with-apache-version=1
.else
CONFIGURE_ARGS+=	--with-apache-version=2
.endif

CONFIGURE_ARGS+=	--prefix=${PREFIX} --with-apxs=${APXS} \
@


1.1
log
@mod_rivet brings together the full power of the Tcl programming language
and the Apache HTTP server. You can use Tcl to manage Apache, respond to
requests for web pages and much more.

mod_rivet gives you a persistent Tcl interpreter embedded in your web
server. This lets you avoid the overhead of starting an external interpreter
and avoids the penalty of Tcl start-up time, giving you super-fast
dynamic content.

As you'd expect from the Tcl community, there are hundreds of modules
written for mod_rivet, everything from persistent database connections, to
templating sytems, to complete XML content delivery systems. Web sites like
FlightAware use mod_rivet.

WWW: http://tcl.apache.org/rivet/

PR:		ports/148248
Submitted by:	Peter Lai <cowbert at gmail.com>
@
text
@d31 1
a31 1
.if ${AP_VERSION} == 1.3
@

