head	1.14;
access;
symbols
	RELEASE_8_3_0:1.10
	RELEASE_9_0_0:1.10
	RELEASE_7_4_0:1.8
	RELEASE_8_2_0:1.8
	RELEASE_6_EOL:1.8
	RELEASE_8_1_0:1.7
	RELEASE_7_3_0:1.7
	RELEASE_8_0_0:1.5
	RELEASE_7_2_0:1.4
	RELEASE_7_1_0:1.4
	RELEASE_6_4_0:1.4
	RELEASE_5_EOL:1.3
	RELEASE_7_0_0:1.3
	RELEASE_6_3_0:1.3
	PRE_XORG_7:1.2;
locks; strict;
comment	@# @;


1.14
date	2012.12.10.13.48.09;	author svnexp;	state Exp;
branches;
next	1.13;

1.13
date	2012.12.07.19.43.48;	author svnexp;	state Exp;
branches;
next	1.12;

1.12
date	2012.11.17.06.02.32;	author svnexp;	state Exp;
branches;
next	1.11;

1.11
date	2012.10.05.16.30.22;	author bapt;	state Exp;
branches;
next	1.10;

1.10
date	2011.10.24.03.33.16;	author stas;	state Exp;
branches;
next	1.9;

1.9
date	2011.07.21.05.03.00;	author linimon;	state Exp;
branches;
next	1.8;

1.8
date	2010.10.01.20.48.04;	author stas;	state Exp;
branches;
next	1.7;

1.7
date	2009.12.10.11.09.42;	author stas;	state Exp;
branches;
next	1.6;

1.6
date	2009.12.08.09.19.02;	author pav;	state Exp;
branches;
next	1.5;

1.5
date	2009.08.22.00.38.07;	author amdmi3;	state Exp;
branches;
next	1.4;

1.4
date	2008.06.06.14.06.52;	author edwin;	state Exp;
branches;
next	1.3;

1.3
date	2007.05.19.20.24.48;	author flz;	state Exp;
branches;
next	1.2;

1.2
date	2007.04.15.21.58.05;	author stas;	state Exp;
branches;
next	1.1;

1.1
date	2007.04.11.14.54.13;	author stas;	state Exp;
branches;
next	;


desc
@@


1.14
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: Stanislav Sedov <ssedov@@mbsd.msk.ru>
# $FreeBSD: head/www/extsm/Makefile 308605 2012-12-10 13:43:43Z bapt $

PORTNAME=	extsm
PORTVERSION=	1.1
PORTREVISION=	1
CATEGORIES=	www java
MASTER_SITES=	SF/rxsm/rxsm/${PORTVERSION}
DISTNAME=	xsm-${PORTVERSION}

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Extensible Site Manager (XSM)

RUN_DEPENDS=	mvn:${PORTSDIR}/devel/maven2

USE_JAVA=	yes
JAVA_VERSION=	1.6+
NO_BUILD=	yes
WRKSRC=		${WRKDIR}/xsm

OPTIONS_DEFINE=	TOMCAT6 RESIN3 DOCS EXAMPLES
OPTIONS_DEFAULT=	TOMCAT6

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MDOCS}
PORTDOCS=	README INSTALL
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
PORTEXAMPLES=	xsm-demo-config.zip
.endif

WEBAPP_DIRS=	#empty

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

.if ${PORT_OPTIONS:MRESIN3}
WEBAPP_DIRS+=	resin3
RUN_DEPENDS+=	${LOCALBASE}/resin3/lib/resin.jar:${PORTSDIR}/www/resin3
.endif

.include <bsd.port.pre.mk>
do-install:
.if ${PREFIX} != ${LOCALBASE}
	@@${ECHO_CMD} "Warning: you changed prefix to ${PREFIX}"
	@@${ECHO_CMD} "Default installation will not work if you installed"
	@@${ECHO_CMD} "application server in different prefix"
.endif
.for DIR in ${WEBAPP_DIRS}
	@@${ECHO_CMD} "${DIR}/webapps/xsm.war" >> ${TMPPLIST}
.if !exists(${PREFIX}/${DIR}/webapps)
	${MKDIR} ${PREFIX}/${DIR}/webapps
	@@${ECHO_CMD} "@@unexec rmdir %D/${DIR}/webapps 2>/dev/null || true" >> ${TMPPLIST}
.endif
	${INSTALL_DATA} ${WRKSRC}/xsm.war ${PREFIX}/${DIR}/webapps
.endfor
.if ${PORT_OPTIONS:MDOCS}
	@@${MKDIR} ${DOCSDIR}/
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
	@@${MKDIR} ${EXAMPLESDIR}/
	${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/,} ${EXAMPLESDIR}/
.endif

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

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


1.13
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308444
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308444 | jgh | 2012-12-07 19:40:03 +0000 (Fri, 07 Dec 2012) | 4 lines
## SVN ##
## SVN ## - drop www/tomcat55 as optional dependency (end-of-life approaching)
## SVN ##
## SVN ## Feature safe:	yes
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: head/www/extsm/Makefile 308444 2012-12-07 19:40:03Z jgh $
d17 1
a17 1
JAVA_VERSION=	1.5+
@


1.12
log
@Switch exporter over
@
text
@d2 1
a2 1
# $FreeBSD: head/www/extsm/Makefile 305307 2012-10-05 16:30:22Z bapt $
d21 1
a21 1
OPTIONS_DEFINE=	TOMCAT6 TOMCAT5 RESIN3 DOCS EXAMPLES
a39 5
.if ${PORT_OPTIONS:MTOMCAT5}
WEBAPP_DIRS+=	tomcat5.5
RUN_DEPENDS+=	${LOCALBASE}/tomcat5.5/bin/bootstrap.jar:${PORTSDIR}/www/tomcat55
.endif

@


1.11
log
@SVN rev 305307 on 2012-10-05 16:30:22Z by bapt

Convert to new options framework
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.10
log
@- Return my ports back to the pool.  I was unable to make any fixes to
  my ports in the past 3 weeks while ports were broken on any 10.x
  machines, which means I'm unable to maintain them.  So let people know
  that there's no available support for them until things are back to
  normal (which also means that anyone with spare time will be able
  to fix them without getting approval).
@
text
@d1 1
a1 4
# New ports collection makefile for:	xsm
# Date created:		2006-07-30
# Whom:			Stanislav Sedov <ssedov@@mbsd.msk.ru>
#
a2 1
#
d21 2
a22 3
OPTIONS=	TOMCAT6		"Use Tomcat 6"			on	\
		TOMCAT55	"Use Tomcat 5.5"		off	\
		RESIN3		"Use Resin 3"			off
d24 3
a26 1
.if !defined(NOPORTDOCS)
d29 1
a29 1
.if !defined(NOPORTEXAMPLES)
a32 2
.include <bsd.port.pre.mk>

d35 1
a35 1
.if defined(WITH_TOMCAT6)
d40 1
a40 1
.if defined(WITH_TOMCAT55)
d45 1
a45 1
.if defined(WITH_RESIN3)
d50 1
d65 1
a65 1
.if !defined(NOPORTDOCS)
d69 1
a69 1
.if !defined(NOPORTEXAMPLES)
@


1.9
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
@d15 1
a15 1
MAINTAINER=	stas@@FreeBSD.org
@


1.8
log
@- Depend on maven2 instead of maven as maven got deprecated. [1]
- Do not try to force removal of webapps directory.

Reported by:	garga [1]
@
text
@d21 1
a21 1
JAVA_VERSION=	1.4+
@


1.7
log
@- Update to 1.1.
- Drop dependencies on old unsupported tomcat versions [1].

Requested by:	pav [1]
@
text
@d10 1
d18 1
a18 1
RUN_DEPENDS=	maven:${PORTSDIR}/devel/maven
d65 1
a65 1
	@@${ECHO_CMD} "@@dirrm ${DIR}/webapps" >> ${TMPPLIST}
@


1.6
log
@- Remove support for expired port jakarta-tomcat4
@
text
@d9 1
a9 2
PORTVERSION=	1.0
PORTREVISION=	2
d11 2
a12 2
MASTER_SITES=	SF/rxsm/rxsm/xsm%20${PORTVERSION}
DISTNAME=	xsm_${PORTVERSION}
d17 1
a17 1
RUN_DEPENDS=	${LOCALBASE}/bin/ant:${PORTSDIR}/devel/apache-ant
d22 1
d24 2
a25 4
OPTIONS=	TOMCAT41	"Use Jakarta Tomcat 4.1"	off	\
		TOMCAT5		"Use Jakarta Tomcat 5"		on	\
		TOMCAT55	"Use Jakarta Tomcat 5.55"	off	\
		RESIN2		"Use Resin 2"			off	\
d28 7
a37 4
.if defined(WITH_TOMCAT41)
WEBAPP_DIRS+=	tomcat4.1
RUN_DEPENDS+=	${PREFIX}/tomcat4.1/bin/bootstrap.jar:${PORTSDIR}/www/tomcat41
.endif
d39 3
a41 3
.if defined(WITH_TOMCAT5)
WEBAPP_DIRS+=	jakarta-tomcat5.0
RUN_DEPENDS+=	${PREFIX}/jakarta-tomcat5.0/bin/bootstrap.jar:${PORTSDIR}/www/jakarta-tomcat5
d46 1
a46 6
RUN_DEPENDS+=	${PREFIX}/tomcat5.5/bin/bootstrap.jar:${PORTSDIR}/www/tomcat55
.endif

.if defined(WITH_RESIN2)
WEBAPP_DIRS+=	resin2
RUN_DEPENDS+=	${PREFIX}/resin2/lib/resin.jar:${PORTSDIR}/www/resin2
d51 1
a51 1
RUN_DEPENDS+=	${PREFIX}/resin3/lib/resin.jar:${PORTSDIR}/www/resin3
d55 1
a55 1
.if ${PREFIX}!=${LOCALBASE}
d68 8
@


1.5
log
@- Switch SourceForge ports to the new File Release System: categories starting with W
@
text
@d24 1
a24 2
OPTIONS=	TOMCAT4		"Use Jakarta Tomcat 4"		off	\
		TOMCAT41	"Use Jakarta Tomcat 4.1"	off	\
a32 5
.if defined(WITH_TOMCAT4)
WEBAPP_DIRS+=	jakarta-tomcat4.0
RUN_DEPENDS+=	${PREFIX}/jakarta-tomcat4.0/bin/bootstrap.jar:${PORTSDIR}/www/jakarta-tomcat4
.endif

@


1.4
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
@d12 1
a12 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=rxsm
@


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


1.2
log
@- www/xsm was repocopied to www/extsm to resolve a possible conflict with
 future x11/xsm import.
@
text
@d10 1
@


1.1
log
@Add xsm 1.0, an eXtensible Site Manager.

PR:		ports/101064
Submitted by:	me
@
text
@d8 1
a8 1
PORTNAME=	xsm
d13 1
a13 1
DISTNAME=	${PORTNAME}_${PORTVERSION}
d16 1
a16 1
COMMENT=	Extensible Site Manager
@

