head	1.21;
access;
symbols
	RELEASE_8_3_0:1.18
	RELEASE_9_0_0:1.18
	RELEASE_7_4_0:1.17
	RELEASE_8_2_0:1.17
	RELEASE_6_EOL:1.16
	RELEASE_8_1_0:1.13
	RELEASE_7_3_0:1.11
	RELEASE_8_0_0:1.11
	RELEASE_7_2_0:1.8
	RELEASE_7_1_0:1.5
	RELEASE_6_4_0:1.5
	RELEASE_5_EOL:1.4
	RELEASE_7_0_0:1.4
	RELEASE_6_3_0:1.4
	PRE_XORG_7:1.2
	RELEASE_4_EOL:1.1;
locks; strict;
comment	@# @;


1.21
date	2012.11.17.06.02.40;	author svnexp;	state Exp;
branches;
next	1.20;

1.20
date	2012.09.22.21.15.50;	author ohauer;	state Exp;
branches;
next	1.19;

1.19
date	2012.08.18.14.29.08;	author ohauer;	state Exp;
branches;
next	1.18;

1.18
date	2011.08.20.17.27.41;	author ohauer;	state Exp;
branches;
next	1.17;

1.17
date	2010.12.04.07.33.58;	author ade;	state Exp;
branches;
next	1.16;

1.16
date	2010.10.16.11.52.43;	author ade;	state Exp;
branches;
next	1.15;

1.15
date	2010.10.05.19.57.53;	author ade;	state Exp;
branches;
next	1.14;

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

1.13
date	2010.05.25.20.17.29;	author pgollucci;	state Exp;
branches;
next	1.12;

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

1.11
date	2009.08.22.00.38.14;	author amdmi3;	state Exp;
branches;
next	1.10;

1.10
date	2009.08.02.19.36.01;	author mezz;	state Exp;
branches;
next	1.9;

1.9
date	2009.05.17.07.24.29;	author pgollucci;	state Exp;
branches;
next	1.8;

1.8
date	2009.02.03.09.18.37;	author pgollucci;	state Exp;
branches;
next	1.7;

1.7
date	2009.01.28.04.05.22;	author pgollucci;	state Exp;
branches;
next	1.6;

1.6
date	2009.01.27.06.41.53;	author linimon;	state Exp;
branches;
next	1.5;

1.5
date	2008.08.20.00.57.28;	author ade;	state Exp;
branches;
next	1.4;

1.4
date	2007.09.30.04.47.33;	author linimon;	state Exp;
branches;
next	1.3;

1.3
date	2007.07.28.06.33.58;	author ade;	state Exp;
branches;
next	1.2;

1.2
date	2007.02.06.23.31.05;	author miwi;	state Exp;
branches;
next	1.1;

1.1
date	2006.12.30.23.24.37;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.21
log
@Switch exporter over
@
text
@# Created by: Michael Durian <durian@@shadetreesoftware.com>
# $FreeBSD: head/www/mod_cplusplus/Makefile 304723 2012-09-22 21:15:50Z ohauer $

PORTNAME=	mod_cplusplus
PORTVERSION=	1.5.4
PORTREVISION=	2
CATEGORIES=	www
MASTER_SITES=	SF/modcplusplus/modcplusplus/${PORTNAME}-${PORTVERSION}
PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}

MAINTAINER=	apache@@FreeBSD.org
COMMENT=	Apache module for loading C++ objects as handlers

MAKE_JOBS_SAFE=  yes

USE_APACHE=	22
USE_AUTOTOOLS=	autoconf autoheader libtool automake aclocal
CFLAGS+=	-I${LOCALBASE}/include

GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=	--with-apxs=${APXS}
ACLOCAL_ARGS+=	-I ${LOCALBASE}/share/aclocal
AUTOMAKE_ARGS+=	-a

SUB_FILES=	pkg-message
SUB_LIST=	"APACHEMODDIR=${APACHEMODDIR}"

WRKSRC=	${WRKDIR}/${PORTNAME}

post-extract:
	${REINPLACE_CMD} -e 's,-Werror,,' ${WRKSRC}/configure.in

pre-configure:
	(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${LIBTOOLIZE} --force --copy)

do-install:
	${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/${APACHEINCLUDEDIR}
	${INSTALL_DATA} ${WRKSRC}/src/.libs/libmod_cplusplus.so ${PREFIX}/${APACHEMODDIR}/mod_cplusplus.so

post-install:
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.20
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.19
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
# Ports collection makefile for:	mod_cplusplus for Apache 2.x
# Date created:		Dec 29, 2006
# Whom:			Michael Durian <durian@@shadetreesoftware.com>
#
a2 1
#
d16 1
a16 1
USE_APACHE=	22+
@


1.18
log
@ - bump PORTREVISION from ports if USE_APACHE=13+ or 20+ is defined
@
text
@d20 1
a20 1
USE_APACHE=	20+
@


1.17
log
@Sync to new bsd.autotools.mk
@
text
@d10 1
a10 1
PORTREVISION=	1
d20 1
a20 1
USE_APACHE=	2.0+
@


1.16
log
@Punt autoconf267->autoconf268
@
text
@d21 1
a21 1
USE_AUTOTOOLS=	autoconf:268 autoheader:268 libtool:22 automake:111 aclocal:111
@


1.15
log
@Round one migration of ports from automake{19,110} to automake111
@
text
@d21 1
a21 1
USE_AUTOTOOLS=	autoconf:267 autoheader:267 libtool:22 automake:111 aclocal:111
@


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

Approved by:	portmgr (for Mk/bsd.port.mk part)
Tested by:	Multiple -exp runs
@
text
@d21 1
a21 1
USE_AUTOTOOLS=	autoconf:267 autoheader:267 libtool:22 automake:19 aclocal:19
@


1.13
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
@d10 1
d21 1
a21 1
USE_AUTOTOOLS=	autoconf:262 autoheader:262 libtool:22 automake:19 aclocal:19
@


1.12
log
@- Chase the www/apache20 conversion to devel/pcre only.

Reported by:    pointyhat via pav, erwin
With Hat:       apache@@
@
text
@d12 1
@


1.11
log
@- Switch SourceForge ports to the new File Release System: categories starting with W
@
text
@d20 1
@


1.10
log
@-Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
@
text
@d11 1
a11 2
MASTER_SITES=	SF
MASTER_SITE_SUBDIR=	modcplusplus
@


1.9
log
@- Mark SAFE apache@@ ports MAKE_JOBS_SAFE=yes
@
text
@d20 1
a20 1
USE_AUTOTOOLS=	autoconf:262 autoheader:262 libtool:15 automake:19 aclocal:19
@


1.8
log
@- Update to 1.5.4
@
text
@d17 2
@


1.7
log
@- over to apache@@
- while here use SF macro
@
text
@d9 1
a9 2
PORTVERSION=	1.5.3
PORTREVISION=	1
d19 3
a23 2
GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=	--with-apxs=${APXS}
d28 7
a34 9
# Redefine the autotools run order to match what would happen in the
# autogen.sh script.  We cannot use that script directly since it does
# not use the versioned autotools.
run-autotools: run-autotools-aclocal patch-autotools run-autotools-autoheader \
    run-libtoolize run-autotools-automake run-autotools-autoconf

run-libtoolize:
	@@(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} \
	    ${LIBTOOLIZE} --force --copy)
@


1.6
log
@Maintainer is no longer able to maintain these ports.  While here, mark the
sipX ports as deprecated due to their age.

Submitted by:	maintainer
@
text
@d12 1
a12 1
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
@


1.5
log
@Conversion from (now defunct) autoconf-2.61 to autoconf-2.62

Tested by:	exp build run (erwin)
@
text
@d15 1
a15 1
MAINTAINER=	durian@@shadetreesoftware.com
@


1.4
log
@Switch autoconf dependencies from 2.53 or 2.59 to 2.61.

PR:		ports/116639
Submitted by:	aDe
@
text
@d19 1
a19 1
USE_AUTOTOOLS=	autoconf:261 autoheader:261 libtool:15 automake:19 aclocal:19
@


1.3
log
@Update to the autotools new world order.

Tested by:	numerous package build runs
Approved by:	portmgr
Thanks to:	des, kris, linimon, pav
@
text
@d10 1
d19 1
a19 1
USE_AUTOTOOLS=	autoconf:259 autoheader:259 libtool:15 automake:19 aclocal:19
@


1.2
log
@- Update to 1.5.3.
- Fixes core dump when unloaded by httpd.

Submitted by:   Mike Durian <durian@@shadetreesoftware.com> (maintainer)
@
text
@a18 3
# ${LOCALBASE}/share/aclocal19 does not contain libtool.m4 and that causes
# problems.  Explicitly include ${LOCALBASE}/share/aclocal in the search
# patch since that directory does contain libtool.m4
@


1.1
log
@mod_cplusplus is a proper apache module which allows you to load cpp objects
as handlers for Apache-2.0.  It differs from other modules i've seen in that
it manages the loading and calling of separate shared objects containing your
handler classes.  This allows you to easily and cleanly run an entire site
with c++ handlers.

WWW: http://modcplusplus.sourceforge.net/

PR:		ports/107361
Submitted by:	Michael Durian <durian at shadetreesoftware.com>
@
text
@d9 1
a9 1
PORTVERSION=	1.5.2
@

