head	1.25;
access;
symbols
	RELEASE_8_3_0:1.22
	RELEASE_9_0_0:1.22
	RELEASE_7_4_0:1.20
	RELEASE_8_2_0:1.20
	RELEASE_6_EOL:1.20
	RELEASE_8_1_0:1.20
	RELEASE_7_3_0:1.20
	RELEASE_8_0_0:1.18
	RELEASE_7_2_0:1.18
	RELEASE_7_1_0:1.18
	RELEASE_6_4_0:1.18
	RELEASE_5_EOL:1.17
	RELEASE_7_0_0:1.17
	RELEASE_6_3_0:1.17
	PRE_XORG_7:1.16
	RELEASE_4_EOL:1.15
	RELEASE_6_2_0:1.15
	RELEASE_6_1_0:1.7
	RELEASE_5_5_0:1.7
	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.7
	RELEASE_5_2_1:1.4
	RELEASE_5_2_0:1.4
	RELEASE_4_9_0:1.3;
locks; strict;
comment	@# @;


1.25
date	2012.12.10.13.48.09;	author svnexp;	state Exp;
branches;
next	1.24;

1.24
date	2012.11.17.06.02.28;	author svnexp;	state Exp;
branches;
next	1.23;

1.23
date	2012.10.28.22.19.55;	author hq;	state Exp;
branches;
next	1.22;

1.22
date	2011.08.13.23.15.17;	author hq;	state Exp;
branches;
next	1.21;

1.21
date	2011.07.21.05.02.59;	author linimon;	state Exp;
branches;
next	1.20;

1.20
date	2009.12.08.09.29.49;	author pav;	state Exp;
branches;
next	1.19;

1.19
date	2009.12.08.09.19.02;	author pav;	state Exp;
branches;
next	1.18;

1.18
date	2008.06.06.14.06.47;	author edwin;	state Exp;
branches;
next	1.17;

1.17
date	2007.05.19.20.24.28;	author flz;	state Exp;
branches;
next	1.16;

1.16
date	2007.03.17.22.53.48;	author gabor;	state Exp;
branches;
next	1.15;

1.15
date	2006.09.20.04.02.44;	author kris;	state Exp;
branches;
next	1.14;

1.14
date	2006.09.02.16.51.09;	author kris;	state Exp;
branches;
next	1.13;

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

1.12
date	2006.08.16.21.23.54;	author hq;	state Exp;
branches;
next	1.11;

1.11
date	2006.08.13.16.45.19;	author hq;	state Exp;
branches;
next	1.10;

1.10
date	2006.08.13.16.43.34;	author hq;	state Exp;
branches;
next	1.9;

1.9
date	2006.08.13.16.42.15;	author hq;	state Exp;
branches;
next	1.8;

1.8
date	2006.04.30.11.23.22;	author lawrance;	state Exp;
branches;
next	1.7;

1.7
date	2004.04.12.10.47.12;	author krion;	state Exp;
branches;
next	1.6;

1.6
date	2004.04.11.00.25.35;	author kris;	state Exp;
branches;
next	1.5;

1.5
date	2004.04.03.06.49.00;	author glewis;	state Exp;
branches;
next	1.4;

1.4
date	2003.10.09.08.44.10;	author roam;	state Exp;
branches;
next	1.3;

1.3
date	2003.07.28.19.34.56;	author marcus;	state Exp;
branches;
next	1.2;

1.2
date	2003.07.05.03.46.38;	author marcus;	state Exp;
branches;
next	1.1;

1.1
date	2003.06.23.05.10.36;	author daichi;	state Exp;
branches;
next	;


desc
@@


1.25
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308605
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308605 | bapt | 2012-12-10 13:43:43 +0000 (Mon, 10 Dec 2012) | 3 lines
## SVN ##
## SVN ## Decommissioning java 1.5 (EOLed since October 2009):
## SVN ## suppress any reference to JAVA_VERSION=	1.5+ (part3)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@# Created by: Kensaku MASUDA <greg@@greg.rim.or.jp>
# $FreeBSD: head/www/axis/Makefile 308605 2012-12-10 13:43:43Z bapt $

PORTNAME=		axis
PORTVERSION=		1.4
PORTREVISION=	6
CATEGORIES=		www java
MASTER_SITES=		${MASTER_SITE_APACHE}
MASTER_SITE_SUBDIR=	ws/axis/${PORTVERSION:S,.,_,g}
DISTNAME=		axis-bin-${PORTVERSION:S,.,_,g}

MAINTAINER=	hq@@FreeBSD.org
COMMENT=	Java SOAP implementation by Apache

OPTIONS_SINGLE=	AS
OPTIONS_SINGLE_AS=	TOMCAT6 TOMCAT7
OPTIONS_DEFAULT=	TOMCAT6

.include <bsd.port.pre.mk>

.if ${PORT_OPTIONS:MTOMCAT6}
WEBAPPDIR=	${PREFIX}/apache-tomcat-6.0/webapps
BUILD_DEPENDS+=	${LOCALBASE}/apache-tomcat-6.0/bin/bootstrap.jar:${PORTSDIR}/www/tomcat6
RUN_DEPENDS+=	${LOCALBASE}/apache-tomcat-6.0/bin/bootstrap.jar:${PORTSDIR}/www/tomcat6
.endif

.if ${PORT_OPTIONS:MTOMCAT7}
WEBAPPDIR=	${PREFIX}/apache-tomcat-7.0/webapps
BUILD_DEPENDS+=	${LOCALBASE}/apache-tomcat-7.0/bin/bootstrap.jar:${PORTSDIR}/www/tomcat7
RUN_DEPENDS+=	${LOCALBASE}/apache-tomcat-7.0/bin/bootstrap.jar:${PORTSDIR}/www/tomcat7
.endif

NO_BUILD=	YES
USE_JAVA=	yes
JAVA_VERSION=	1.6+
USER=		www
GROUP=		www

WRKSRC=		${WRKDIR}/axis-${PORTVERSION:S,.,_,g}

#
# Install procedure
#
SYSTEM_JARS=	axis.jar jaxrpc.jar saaj.jar
PLIST_SUB+=	WEBAPPS=${WEBAPPDIR:S|^${PREFIX}/||} USER=${USER} GROUP=${GROUP}

PORTDOCS=	*
PORTEXAMPLES=	*

do-install:
.for i in ${SYSTEM_JARS}
	${INSTALL_DATA} ${WRKSRC}/lib/${i} ${JAVAJARDIR}
.endfor
	cd ${WRKSRC}/webapps && ${FIND} axis -type d -exec ${INSTALL} -d -g ${GROUP} -o ${USER} -m 755 ${WEBAPPDIR}/{} \;
	cd ${WRKSRC}/webapps && ${FIND} axis -type f -exec ${INSTALL} -g ${GROUP} -o ${USER} -m 444 {} ${WEBAPPDIR}/{} \;
.if ${PORT_OPTIONS:MDOCS}
	cd ${WRKSRC}/docs && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \;
	cd ${WRKSRC}/docs && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
	cd ${WRKSRC}/samples && ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/{} \;
	cd ${WRKSRC}/samples && ${FIND} . -type f -not -name '*.class' -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/{} \;
.endif

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


1.24
log
@Switch exporter over
@
text
@d1 2
a2 3
# Created by:	Kensaku MASUDA <greg@@greg.rim.or.jp>
#
# $FreeBSD: head/www/axis/Makefile 306585 2012-10-28 22:19:55Z hq $
d35 1
a35 1
JAVA_VERSION=	1.5+
@


1.23
log
@SVN rev 306585 on 2012-10-28 22:19:55Z by hq

- Add support for tomcat6/7 instead of tomcat55
- Move docs and examples to optionsNG and define portdocs and portexamples
  explictly

PR:		173011
Submitted by:	jgh
Feature safe:	yes
@
text
@d3 1
a3 1
# $FreeBSD$
@


1.22
log
@- Handle deprecation of www/tomcat41 and cleanup dependencies [1]
- Fix Tomcat dependency lookup mechanism
- Honor NOPORTEXAMPLES
- Use PORTDOCS and PORTEXAMPLES

PR:		159691 [1]
Submitted by:	Jason Helfman <jhelfman@@experts-exchange.com> [1]
@
text
@d1 1
a1 3
# New ports collection makefile for:	AXIS
# Date created:				6 JUNE 2003
# Whom:					Kensaku MASUDA <greg@@greg.rim.or.jp>
d7 1
a7 1
PORTREVISION=	5
d16 4
d22 1
a22 8
#
# Change webapp directory by TOMCAT version
#
.if exists(${LOCALBASE}/tomcat5.5/webapps)
WEBAPPDIR=	${PREFIX}/tomcat5.5/webapps
BUILD_DEPENDS+=	${LOCALBASE}/tomcat5.5/bin/bootstrap.jar:${PORTSDIR}/www/tomcat55
RUN_DEPENDS+=	${LOCALBASE}/tomcat5.5/bin/bootstrap.jar:${PORTSDIR}/www/tomcat55
.elif exists(${LOCALBASE}/apache-tomcat-6.0/webapps)
d26 6
a31 4
.else
WEBAPPDIR=	${PREFIX}/tomcat5.5/webapps
BUILD_DEPENDS+=	${LOCALBASE}/tomcat5.5/bin/bootstrap.jar:${PORTSDIR}/www/tomcat55
RUN_DEPENDS+=	${LOCALBASE}/tomcat5.5/bin/bootstrap.jar:${PORTSDIR}/www/tomcat55
d47 1
a47 1
.if !defined(NOPORTDOCS)
a48 2
.endif
.if !defined(NOPORTEXAMPLES)
a49 1
.endif
d57 1
a57 1
.if !defined(NOPORTDOCS)
d61 1
a61 1
.if !defined(NOPORTEXAMPLES)
@


1.21
log
@Now that the Java 1.3 and Java 1.4 ports are deprecated and will expire soon,
remove support for them from bsd.java.mk.  As Jikes is not available in Java 1.5
or higher, remove it from bsd.java.mk too (suggested by hq@@) and from the ports
which used it (only occurences were USE_JIKES=no).  Support for the Blackdown VM
is also removed, as it is not available in Java 1.5 and higher.

Also remove the mapping from Java 1.1-1.4 to Java 1.5+ in bsd.java.mk to detect
old, broken ports; therefore bump the minimal value of JAVA_VERSION to 1.5.
While here, replace static values of JAVA_VERSION in files/*.in by
%%JAVA_VERSION%% .

PR:		ports/158969
Submitted by:	rene
Tested on:	pointyhat-west -exp
@
text
@d9 1
a9 1
PORTREVISION=	4
d18 2
d25 6
a30 6
BUILD_DEPENDS+=	${LOCALBASE}/tomcat5.5:${PORTSDIR}/www/tomcat55
RUN_DEPENDS+=	${LOCALBASE}/tomcat5.5:${PORTSDIR}/www/tomcat55
.elif exists(${LOCALBASE}/jakarta-tomcat4.1/webapps)
WEBAPPDIR=	${PREFIX}/jakarta-tomcat4.1/webapps
BUILD_DEPENDS+=	${LOCALBASE}/jakarta-tomcat4.1:${PORTSDIR}/www/tomcat41
RUN_DEPENDS+=	${LOCALBASE}/jakarta-tomcat4.1:${PORTSDIR}/www/tomcat41
d33 2
a34 2
BUILD_DEPENDS+=	${LOCALBASE}/tomcat5.5:${PORTSDIR}/www/tomcat55
RUN_DEPENDS+=	${LOCALBASE}/tomcat5.5:${PORTSDIR}/www/tomcat55
a44 2
.include <bsd.port.pre.mk>

d50 6
d66 2
@


1.20
log
@- Remove support of expired jakarta-tomcat5 port
@
text
@d37 1
a37 1
JAVA_VERSION=	1.4+
@


1.19
log
@- Remove support for expired port jakarta-tomcat4
@
text
@a24 4
.elif exists(${LOCALBASE}/jakarta-tomcat5/webapps)
WEBAPPDIR=	${PREFIX}/jakarta-tomcat5/webapps
BUILD_DEPENDS+=	${LOCALBASE}/jakarta-tomcat5:${PORTSDIR}/www/jakarta-tomcat5
RUN_DEPENDS+=	${LOCALBASE}/jakarta-tomcat5:${PORTSDIR}/www/jakarta-tomcat5
@


1.18
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@a32 4
.elif exists(${LOCALBASE}/jakarta-tomcat4.0.6/webapps)
WEBAPPDIR=	${PREFIX}/jakarta-tomcat4.0.6/webapps
BUILD_DEPENDS+=	${LOCALBASE}/jakarta-tomcat4.0.6:${PORTSDIR}/www/jakarta-tomcat4
RUN_DEPENDS+=	${LOCALBASE}/jakarta-tomcat4.0.6:${PORTSDIR}/www/jakarta-tomcat4
@


1.17
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d9 1
a9 1
PORTREVISION=		3
@


1.16
log
@- Follow moved dependency
- Bump PORTREVISION
- Fix INDEX build

Pointyhat to:	gabor
@
text
@d9 1
a9 1
PORTREVISION=		2
@


1.15
log
@Revert BROKEN commit, which overlapped with the fix from the maintainer.

Pointy hat to:	kris
@
text
@d9 1
a9 1
PORTREVISION=		1
d31 2
a32 2
BUILD_DEPENDS+=	${LOCALBASE}/jakarta-tomcat4.1:${PORTSDIR}/www/jakarta-tomcat41
RUN_DEPENDS+=	${LOCALBASE}/jakarta-tomcat4.1:${PORTSDIR}/www/jakarta-tomcat41
@


1.14
log
@Schedule these broken ports for termination on 2006-12-01
@
text
@a17 4
BROKEN=		Incorrect pkg-plist
DEPRECATED=	${BROKEN}
EXPIRATION_DATE=2006-12-01

@


1.13
log
@BROKEN: Incorrect pkg-plist (despite previous commit)
@
text
@d19 2
@


1.12
log
@- Fix PLIST_SUB entry to fix package building [1]
- Fix packing list
- Bump PORTREVISION to enforce a correct registering of installed files

Reported by:	pointyhat via kris [1]
@
text
@d18 2
@


1.11
log
@While I'm here, improve COMMENT: Apache is not an acronym
@
text
@d9 1
d57 1
a57 1
PLIST_SUB+=	WEBAPPS=${WEBAPPDIR:S|^${PREFIX}||} USER=${USER} GROUP=${GROUP}
@


1.10
log
@Forgoten in last commit: takeover maintainership
@
text
@d15 1
a15 1
COMMENT=	SOAP implementation by APACHE project
@


1.9
log
@- Update to 1.4
- Update to bsd.java.mk 2.0
- Install system JARs in ${JAVAJARDIR}
- Add support for Tomcat 5.0 and 5.5
- Do not install in ${LOCALBASE}/... but rather in ${PREFIX}/...
- Use %%JAVAJARDIR%%, %%DOCSDIR%% and %%EXAMPLESDIR%% in pkg-plist
- Add $FreeBSD$ tag in pkg-plist
- Use ${FIND} | ${INSTALL} to install files
- Reset maitnainership [1]

I'll takeover maintainership for a while to keep things in order.

PR:		101966
Submitted by:	hq
Requested by:	former maintainer [1]
@
text
@d14 1
a14 1
MAINTAINER=	rui@@ruilopes.com
@


1.8
log
@Install jar library files into ${JAVAJARDIR}, instead of into the JDK's
home directory.  This is as directed by PH "Best Practices" for Java
libraries.  It also fixes the build of jboss4 (due to library pollution)
when axis is installed.

PR:		ports/92781
Submitted by:	Alex Kiesel
Approved by:	rui@@ruilopes.com (maintainer, timeout 10 weeks)
@
text
@a4 5
# Most of pkg-plist can be created with:
# # make PREFIX=`pwd`/install install
# # (echo @@cwd %%WEBAPPS%% ; /usr/ports/Tools/scripts/plist -d -m /etc/mtree/BSD.local.dist /usr/local/jakarta-tomcat4.1/webapps/axis/ | sed -E 's,^([^@@]),axis/\1,g ; s,^(@@.+ ),\1axis/,g' ; echo @@dirrm axis) > temp-pkg-plist
# # (echo @@cwd %%PREFIX%% ; /usr/ports/Tools/scripts/plist -d -m /etc/mtree/BSD.local.dist `pwd`/install|sed -E 's,^.+share/nls/.+$,,g'|tr -s '\n') >> temp-pkg-plist
#
d8 1
a8 2
PORTVERSION=		1.1
PORTREVISION=		2
d12 1
a12 1
DISTNAME=		axis-${PORTVERSION:S,.,_,g}
d20 10
a29 2
.if exists(${LOCALBASE}/jakarta-tomcat4.1/webapps)
WEBAPPDIR=	${LOCALBASE}/jakarta-tomcat4.1/webapps
d33 1
a33 1
WEBAPPDIR=	${LOCALBASE}/jakarta-tomcat4.0.6/webapps
d37 3
a39 3
WEBAPPDIR=	${LOCALBASE}/jakarta-tomcat4.1/webapps
BUILD_DEPENDS+=	${LOCALBASE}/jakarta-tomcat4.1:${PORTSDIR}/www/jakarta-tomcat41
RUN_DEPENDS+=	${LOCALBASE}/jakarta-tomcat4.1:${PORTSDIR}/www/jakarta-tomcat41
d43 2
a44 1
USE_JAVA=	1.4+
d48 2
d56 1
a56 7
PLIST_SUB+=	PREFIX=${PREFIX} WEBAPPS=${WEBAPPDIR} USER=${USER} GROUP=${GROUP}

.if !defined(NOPORTDOCS)
SAMPLECLASSES=''
.else
SAMPLECLASSES=classes
.endif
d60 1
a60 2
	${MKDIR} ${JAVAJARDIR}/${PORTNAME}
	${INSTALL_DATA} ${WRKSRC}/lib/${i} ${JAVAJARDIR}/${PORTNAME}
d62 2
a63 2
	(cd ${WRKSRC}/webapps ; tar cf - --exclude "${SAMPLECLASSES}" axis) | (cd ${WEBAPPDIR} ; tar xvf -)
	${CHOWN} -R ${USER}:${GROUP} ${WEBAPPDIR}/axis
d65 4
a68 4
	${MKDIR} ${PREFIX}/share/doc/axis
	(cd ${WRKSRC}/docs ; tar cf - *) | (cd ${PREFIX}/share/doc/axis ; tar xvf -)
	${MKDIR} ${PREFIX}/share/examples/axis
	(cd ${WRKSRC}/samples ; tar cf - --exclude '*.class' *) | (cd ${PREFIX}/share/examples/axis ; tar xvf -)
@


1.7
log
@- Fix MASTER_SITES

PR:		ports/65454
Submitted by:	maintainer
@
text
@a45 9
#
# Change install directory by JDK version
#
.if defined(JAVA_PORT_VERSION) && (${JAVA_PORT_VERSION} == "1.4.1")
LIB_SUBDIR=		endorsed
.else
LIB_SUBDIR=		ext
.endif
JAR_INSTALL_DEST_DIR=	${JAVA_HOME}/jre/lib/${LIB_SUBDIR}
d50 2
a51 3
SYSTEM_JARS=	jaxrpc.jar saaj.jar
PLIST_SUB=	PREFIX=${PREFIX} WEBAPPS=${WEBAPPDIR} JRE_HOME="${JAVA_HOME}/jre" \
		LIB_SUBDIR=${LIB_SUBDIR} USER=${USER} GROUP=${GROUP}
a59 1
	${MKDIR} ${JAR_INSTALL_DEST_DIR}
d61 2
a62 1
	${INSTALL_DATA} ${WRKSRC}/lib/${i} ${JAR_INSTALL_DEST_DIR}
@


1.6
log
@BROKEN: Unfetchable
@
text
@d16 2
a17 1
MASTER_SITES=		http://ws.apache.org/axis/dist/1_1/
a21 2

BROKEN=		"Unfetchable"
@


1.5
log
@. Fix fallout from bsd.java.mk update:
	JAVA_VER -> JAVA_PORT_VERSION
. Quote literal used in conditional.
@
text
@d22 2
@


1.4
log
@Honor NOPORTDOCS, install sample classes.

PR:		57773
Submitted by:	maintainer
@
text
@d48 1
a48 1
.if defined(JAVA_VER) && (${JAVA_VER} == 1.4.1)
@


1.3
log
@* Updated to Axis 1.1;
* Added LIB_SUBDIR pkg-plist variable and moved all variables into
  PLIST_SUB make variable;
* Changed the ownership of axis webapp directories to www;
* Added WWW link into pkg-descr;
* Take ownership;
* Other minor tweaks.

Submitted by:	Rui Lopes <rui@@ruilopes.com>
@
text
@d14 1
a14 1
PORTREVISION=		1
d62 6
d73 1
a73 1
	(cd ${WRKSRC}/webapps ; tar cf - axis) | (cd ${WEBAPPDIR} ; tar xvf -)
d75 1
d78 3
@


1.2
log
@Build the plist during pre-install in preparation for upcoming
bsd.port.mk changes.
@
text
@d5 5
d14 1
d16 2
a17 3
MASTER_SITES=		http://ws.apache.org/axis/dist/1_1rc2/
MASTER_SITE_SUBDIR=	znerd
DISTNAME=		axis-1_1rc2
d19 1
a19 1
MAINTAINER=	ports@@FreeBSD.org
a40 2
PLIST=		${WRKDIR}/pkg-plist
WRKSRC=		${WRKDIR}/axis-1_1RC2
d49 1
a49 1
JAR_INSTALL_DEST_DIR=	${JAVA_HOME}/jre/lib/endorsed
d51 1
a51 1
JAR_INSTALL_DEST_DIR=	${JAVA_HOME}/jre/lib/ext
d53 1
d59 2
a60 3

pre-install:
	@@${SED} -e 's@@PREFIX@@${PREFIX}@@g' -e s'@@WEBAPPS@@${WEBAPPDIR}@@g' -e 's@@JDK_HOME@@${JAVA_HOME}/jre@@g' < pkg-plist > ${PLIST}
a62 1
.if !exists(${JAR_INSTALL_DEST_DIR})
a63 1
.endif
d67 2
a68 4
	(cd ${WRKSRC}/webapps ; tar cf - axis) | (cd ${WEBAPPDIR} ; tar xvf - )
	${CHOWN} -R ${USER} ${WEBAPPDIR}/axis
	${CHGRP} -R ${GROUP} ${WEBAPPDIR}/axis
.if !exists(${PREFIX}/share/doc/axis)
a69 1
.endif
@


1.1
log
@Add axis 1.1, SOAP implementation by APACHE project.

PR:		53365
Submitted by:	Kensaku MASUDA <greg@@greg.rim.or.jp>
@
text
@d56 3
a72 1
	${SED} -e 's@@PREFIX@@${PREFIX}@@g' -e s'@@WEBAPPS@@${WEBAPPDIR}@@g' -e 's@@JDK_HOME@@${JAVA_HOME}/jre@@g' < pkg-plist > ${WRKDIR}/pkg-plist
@

