head	1.32;
access;
symbols
	RELEASE_8_1_0:1.30
	RELEASE_7_3_0:1.26
	RELEASE_8_0_0:1.25
	RELEASE_7_2_0:1.22
	RELEASE_7_1_0:1.19
	RELEASE_6_4_0:1.19
	RELEASE_5_EOL:1.18
	RELEASE_7_0_0:1.17
	RELEASE_6_3_0:1.17
	PRE_XORG_7:1.15
	RELEASE_4_EOL:1.15
	RELEASE_6_2_0:1.15
	RELEASE_6_1_0:1.14
	RELEASE_5_5_0:1.14
	RELEASE_6_0_0:1.11
	RELEASE_5_4_0:1.9
	RELEASE_4_11_0:1.9
	RELEASE_5_3_0:1.9
	RELEASE_4_10_0:1.6
	RELEASE_5_2_1:1.4
	RELEASE_5_2_0:1.4
	RELEASE_4_9_0:1.3;
locks; strict;
comment	@# @;


1.32
date	2010.08.08.22.19.12;	author pgollucci;	state dead;
branches;
next	1.31;

1.31
date	2010.07.30.07.59.10;	author erwin;	state Exp;
branches;
next	1.30;

1.30
date	2010.05.25.20.23.00;	author pgollucci;	state Exp;
branches;
next	1.29;

1.29
date	2010.05.25.20.17.36;	author pgollucci;	state Exp;
branches;
next	1.28;

1.28
date	2010.05.18.04.05.04;	author pgollucci;	state Exp;
branches;
next	1.27;

1.27
date	2010.05.03.18.20.04;	author pgollucci;	state Exp;
branches;
next	1.26;

1.26
date	2009.12.25.18.47.48;	author pgollucci;	state Exp;
branches;
next	1.25;

1.25
date	2009.08.02.19.36.02;	author mezz;	state Exp;
branches;
next	1.24;

1.24
date	2009.06.16.16.06.48;	author pgollucci;	state Exp;
branches;
next	1.23;

1.23
date	2009.06.08.05.57.09;	author pgollucci;	state Exp;
branches;
next	1.22;

1.22
date	2009.01.08.10.28.33;	author pav;	state Exp;
branches;
next	1.21;

1.21
date	2008.12.30.04.26.03;	author pgollucci;	state Exp;
branches;
next	1.20;

1.20
date	2008.11.09.11.24.03;	author erwin;	state Exp;
branches;
next	1.19;

1.19
date	2008.08.20.00.57.29;	author ade;	state Exp;
branches;
next	1.18;

1.18
date	2008.04.19.17.54.09;	author miwi;	state Exp;
branches;
next	1.17;

1.17
date	2007.10.04.22.38.44;	author pav;	state Exp;
branches;
next	1.16;

1.16
date	2007.09.30.04.47.33;	author linimon;	state Exp;
branches;
next	1.15;

1.15
date	2006.05.13.04.41.15;	author edwin;	state Exp;
branches;
next	1.14;

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

1.13
date	2006.02.03.20.29.59;	author kris;	state Exp;
branches;
next	1.12;

1.12
date	2005.11.15.06.51.33;	author ade;	state Exp;
branches;
next	1.11;

1.11
date	2005.07.20.23.54.29;	author kris;	state Exp;
branches;
next	1.10;

1.10
date	2005.06.06.14.54.21;	author clement;	state Exp;
branches;
next	1.9;

1.9
date	2004.08.20.15.13.13;	author clement;	state Exp;
branches;
next	1.8;

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

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

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

1.5
date	2004.02.04.05.09.31;	author marcus;	state Exp;
branches;
next	1.4;

1.4
date	2003.11.07.09.12.57;	author marcus;	state Exp;
branches;
next	1.3;

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

1.2
date	2003.06.18.07.34.02;	author sheldonh;	state Exp;
branches;
next	1.1;

1.1
date	2003.06.12.14.06.20;	author sheldonh;	state Exp;
branches;
next	;


desc
@@


1.32
log
@www/mod_webapp has been broken for almost a year and the Makefile is in disarray.
@
text
@# Ports collection makefile for:	mod_webapp for Apache 1.3.x
# Date created:				Jun 12 2003
# Whom: 				Andre Sachs <asachs@@uunet.co.za>
#
# $FreeBSD: ports/www/mod_webapp/Makefile,v 1.31 2010/07/30 07:59:10 erwin Exp $
#

PORTNAME=	mod_webapp
PORTVERSION=	4.1.24
PORTREVISION=	5
CATEGORIES=	www
MASTER_SITES=	http://jakarta.apache.org/%SUBDIR%/
MASTER_SITE_SUBDIR=	builds/jakarta-tomcat-4.0/release/v${TOMCAT_RELEASE}/src
PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}
DISTNAME=	jakarta-tomcat-connectors-${CONNECTORS_RELEASE}-src
DIST_SUBDIR=	mod_webapp

MAINTAINER=	apache@@FreeBSD.org
COMMENT=	Apache module mounts Tomcat web applications

LIB_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/devel/apr1:configure

BROKEN=		does not build

MAKE_JOBS_UNSAFE=	yes

USE_APACHE=	1.3
USE_PYTHON_BUILD=yes
USE_AUTOTOOLS=	automake:19:env autoconf:262:env libtool:22:env
GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_LDCONFIG=	yes

# Release information for distribution files.
TOMCAT_RELEASE=		${PORTVERSION}
CONNECTORS_RELEASE=	${PORTVERSION}

ONLY_FOR_ARCHS=	i386 sparc64

.include <bsd.port.pre.mk>

# Apache locations.
APACHECTL?=	${LOCALBASE}/sbin/apachectl
APR_LIB?=	${LOCALBASE}/lib/
APR_INCLUDE?=	${LOCALBASE}/include/apr-${APR_MAJORVER}/
APACHE_MODULES?=libexec/apache
APR_VER!=	cd ${PORTSDIR}/devel/apr1 && ${MAKE} -V APR_VERSION
APR_WRKSRC!=	cd ${PORTSDIR}/devel/apr1 && ${MAKE} -V WRKSRC
APR_MAJORVER=	${APR_VER:C/\..*//g}
APR_SRC=	${APR_WRKSRC}/apr-${APR_VER}
AUTOCONF?=	${LOCALBASE}/bin/autoconf

# If the user's changed the modules directory, pack things correctly.
PLIST_SUB=	APACHE_MODULES=${APACHE_MODULES}

# Build options.
WRKSRC=		${WRKDIR}/${DISTNAME}/webapp
HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-apxs=${APXS} \
		--with-apr-lib=${APR_LIB} \
		--with-apr-include=${APR_INCLUDE} \
		--with-apr=${APR_SRC} \
		--without-ant

post-patch:
	${REINPLACE_CMD} -e 's/apr-config/apr-${APR_MAJORVER}-config/g' \
		${WRKSRC}/support/wa_apr.m4

pre-configure:
	cd ${WRKSRC} && ${AUTOCONF}

pre-build:
	${MKDIR} ${WRKSRC}/build
	${MKDIR} ${WRKSRC}/build/objs

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/apache-1.3/mod_webapp.so \
	    ${PREFIX}/libexec/apache

post-install:
	@@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_MAN} ${WRKSRC}/INSTALL.txt ${DOCSDIR}
.endif

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


1.31
log
@Mark BROKEN: does not build
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.30
log
@- devel/apr* should always be a LIB_DEPENDS

PR:             ports/146952
Submitted by:   pgollucci@@ (myself)
With Hat:       apache@@
@
text
@d23 2
@


1.29
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
a10 1
PORTREVISION=	4
d21 1
a21 1
BUILD_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/devel/apr1:configure
@


1.28
log
@- Convert ports/ to devel/apr1

PR:             ports/146553
Submitted by:   myself (pgollucci@@)
With Hat:       apache@@
@
text
@d14 1
@


1.27
log
@- Remove APACHE_VERSION left overs [1], fix make index issues
- Mark MAKE_JOBS_UNSAFE

Reported by:        peterjeremy@@acm.org via e-mail
With Hat:           apache@@
@
text
@d20 1
a20 1
BUILD_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/devel/apr:configure
d44 2
a45 2
APR_VER!=	cd ${PORTSDIR}/devel/apr && ${MAKE} -V APR_VERSION
APR_WRKSRC!=	cd ${PORTSDIR}/devel/apr && ${MAKE} -V WRKSRC
@


1.26
log
@- USE_APACHE=yes is deprecated
@
text
@d10 1
a10 1
PORTREVISION=	3
d22 2
a53 1
APACHE_VERSION=	1.3.6
@


1.25
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
@d22 1
a22 1
USE_APACHE=	yes
@


1.24
log
@- Revert previous commit

Port needs lots of TLC first.

Reported by:    Peter Jeremy <peterjeremy@@optushome.com.au>
@
text
@d24 1
a24 1
USE_AUTOTOOLS=	automake:19:env autoconf:262:env libtool:15:env
@


1.23
log
@- USE_APACHE=yes is deprecated
@
text
@d22 1
a22 1
USE_APACHE=	1.3
@


1.22
log
@- Fix ${PORTSDIR} usage

PR:		ports/130279
Reported by:	Peter Jeremy <peterjeremy@@optushome.com.au>
@
text
@d22 1
a22 1
USE_APACHE=	yes
@


1.21
log
@- Unbreak due to the devel/apr upgrade from 1.3.x to 1.3.3.1.3.4
- I don't have i386 or sparc64 available so this is just a quick fix hopefully

Reported by:    pointyhat
@
text
@d35 2
d83 1
a83 1
.include <bsd.port.mk>
@


1.20
log
@Mark BROKEN: does not configure
@
text
@d10 1
a10 1
PORTREVISION=	2
a19 2
BROKEN=		does not build

d33 1
a33 5
.include <bsd.port.pre.mk>

.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
BROKEN=		"Does not build on amd64 or ia64"
.endif
d40 1
a40 1
APR_VER!=	cd ${PORTSDIR}/devel/apr && ${MAKE} -V PORTVERSION
d81 1
a81 1
.include <bsd.port.post.mk>
@


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

Tested by:	exp build run (erwin)
@
text
@d20 2
@


1.18
log
@- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
@
text
@d24 1
a24 1
USE_AUTOTOOLS=	automake:19:env autoconf:261:env libtool:15:env
@


1.17
log
@- Fix typo: NONEXISTANT - NONEXISTENT

Submitted by:	ade
@
text
@d27 1
a27 1
INSTALLS_SHLIB=	yes
@


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

PR:		ports/116639
Submitted by:	aDe
@
text
@d20 1
a20 1
BUILD_DEPENDS=	${NONEXISTANT}:${PORTSDIR}/devel/apr:configure
@


1.15
log
@Remove USE_REINPLACE from categories starting with W
@
text
@d10 1
a10 1
PORTREVISION=	1
d24 1
a24 1
USE_AUTOTOOLS=	automake:19:env autoconf:259:env libtool:15:env
@


1.14
log
@Conversion to a single libtool environment.

Approved by:	portmgr (kris)
@
text
@a21 1
USE_REINPLACE=	yes
@


1.13
log
@Add missing dependencies needed for :configure target
@
text
@d25 1
a25 1
USE_AUTOTOOLS=	libtool:13:env automake:19:env autoconf:259:env libtool:15:env
@


1.12
log
@Mass-conversion to the USE_AUTOTOOLS New World Order.  The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
@
text
@d24 2
a25 1
USE_AUTOTOOLS=	autoconf:253:env libtool:13:env
@


1.11
log
@BROKEN on amd64 and ia64: Does not compile
@
text
@d24 1
a24 2
WANT_AUTOCONF_VER=253
WANT_LIBTOOL_VER=13
@


1.10
log
@- fix build and unbreak
- utilize DOCSDIR

PR:		ports/81459
Submitted by:	leeym
@
text
@d36 4
@


1.9
log
@- Since maintainer's address is bouncing, assign maintainership to apache@@
  for safe-keeping.
@
text
@d22 1
d39 6
a44 3
APR_INCLUDE?=	${LOCALBASE}/include/apr-0/
APACHE_MODULES?= libexec/apache/
APR_SRC?=	${WRKDIRPREFIX}${PORTSDIR}/devel/apr/work/apr-?\.?\.?/
d51 1
a51 1
APACHE_VERSION= 1.3.6
d60 4
d78 2
a79 2
	${MKDIR} ${PREFIX}/share/doc/mod_webapp
	${INSTALL_MAN} ${WRKSRC}/INSTALL.txt ${PREFIX}/share/doc/mod_webapp
@


1.8
log
@Move devel/autoconf->devel/autoconf253 and devel/automake->devel/automake15
All autotools ports are now truly versioned and do not conflict with each
other.

This marks the end of "Phase 1" of the autotools updates.
@
text
@d17 1
a17 1
MAINTAINER=	asachs@@uunet.co.za
@


1.7
log
@Sync with new bsd.autotools.mk
@
text
@d20 1
a20 1
BUILD_DEPENDS=	${NONEXISTANT}:${PORTSDIR}/devel/apr:extract
@


1.6
log
@Whoa there, boy, that's a mighty big commit y'all have there...

Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".

For ports-in-waiting:

	USE_LIBTOOL=YES		->	USE_LIBTOOL_VER=13
	USE_AUTOCONF=YES	->	USE_AUTOCONF_VER=213
	USE_AUTOMAKE=YES	->	USE_AUTOMAKE_VER=14

Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
@
text
@d20 1
a20 2
BUILD_DEPENDS=	${NONEXISTANT}:${PORTSDIR}/devel/apr:extract \
		${AUTOCONF}:${PORTSDIR}/devel/autoconf
d23 3
a25 2
USE_LIBTOOL_VER=13
LIBTOOLFILES=	# none
@


1.5
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 1)
@
text
@d24 1
a24 1
USE_LIBTOOL=	yes
@


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

Submitted by:	dinoex
@
text
@d10 1
@


1.3
log
@libtool uber-patch

* kill devel/libtool and move to devel/libtool13, upgrading to 1.3.5
* upgrade repo-copied devel/libtool14 to 1.4.3
* break out libltdl into its own separate port
* move to version-numbered binaries/scripts (ie: there is *no* 'libtool'
  any more -- USE_LIBTOOL and USE_LIBTOOL_VER are your friends)

Approved by:	portmgr (kris) - for the bsd.port.mk hooks
Tested by:	bento 4-exp builds (repeatedly)
@
text
@d19 1
a19 2
BUILD_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 \
		${NONEXISTANT}:${PORTSDIR}/devel/apr:extract \
a20 1
RUN_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
d22 1
a34 1
APXS?=		${LOCALBASE}/sbin/apxs
@


1.2
log
@Make WKRDIRPREFIX clean.

Reported by:	kris
Submitted by:	maintainer
@
text
@d21 1
a21 2
		${AUTOCONF}:${PORTSDIR}/devel/autoconf \
		${LIBTOOL}:${PORTSDIR}/devel/libtool
d24 2
a41 1
LIBTOOL?=	${LOCALBASE}/bin/libtool
@


1.1
log
@Import mod_webapp, an Apache module that allows Tomcat applications to be
mounted into an Apache server.  Tomcat is a Java servlet and JSP engine.
Apache is the popular webserver.

This port is for Apache 1.3.x.

PR:		ports/53146
Submitted by:	Andre Sachs <asachs@@uunet.co.za>
@
text
@d40 1
a40 1
APR_SRC?=	${PORTSDIR}/devel/apr/work/apr-?\.?\.?/
@

