# Created by: markhobden@gmail.com
# $FreeBSD: branches/RELEASE_8_4_0/java/eclipse-webtools/Makefile 314335 2013-03-16 04:59:32Z jgh $

PORTNAME=	webtools
PORTVERSION=	3.3.2
CATEGORIES=	java devel www
MASTER_SITES=	${MASTER_SITE_ECLIPSE:S,/eclipse/downloads/drops/,/webtools/downloads/drops/,}
MASTER_SITE_SUBDIR=	R${PORTVERSION}/R-${PORTVERSION}-20120210195245
PKGNAMEPREFIX=	eclipse-
DISTNAME=	wtp-R-${PORTVERSION}-20120210195245
DIST_SUBDIR=	eclipse

MAINTAINER=	ale@FreeBSD.org
COMMENT=	Webtools for eclipse

RUN_DEPENDS=	eclipse:${PORTSDIR}/java/eclipse \
		${LOCALBASE}/share/eclipse/dropins/emf:${PORTSDIR}/java/eclipse-emf \
		${LOCALBASE}/share/eclipse/dropins/gef:${PORTSDIR}/java/eclipse-gef

WRKSRC=		${WRKDIR}/eclipse
USE_ZIP=	yes

OPTIONS_DEFINE=	DTP
DTP_DEFINE=	Support for EJB and JPT development
OPTIONS_DEFAULT=	DTP

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MDTP}
RUN_DEPENDS+=	${LOCALBASE}/share/eclipse/dropins/datatools:${PORTSDIR}/java/eclipse-datatools
.endif

.include "${.CURDIR}/../eclipse/Makefile.plugins"

.include <bsd.port.mk>
