# New ports collection makefile for:	eclipse-checkstyle
# Date created:				July 30, 2004
# Whom:					gldisater@gldis.ca
#
# $FreeBSD: ports/java/eclipse-checkstyle/Makefile,v 1.7 2009/08/22 00:24:23 amdmi3 Exp $
#

PORTNAME=	checkstyle
PORTVERSION=	3.4.1.0
PORTREVISION=	4
CATEGORIES=	java devel
MASTER_SITES=	SF/eclipse-cs/Eclipse%20Checkstyle%20Plug-in/v3.4.1
PKGNAMEPREFIX=	eclipse-
DISTNAME=	com.atlassw.tools.eclipse.checkstyle_${PORTVERSION}
DIST_SUBDIR=	eclipse

MAINTAINER=	freebsd-eclipse@FreeBSD.org
COMMENT=	Integrates the Checkstyle Java code auditor into Eclipse

RUN_DEPENDS=	eclipse:${PORTSDIR}/java/eclipse

NO_WRKSUBDIR=	yes
NO_BUILD=	yes
USE_JAVA=	yes
JAVA_VERSION=	1.4+
USE_ZIP=	yes

do-install:
	@${MKDIR} ${PREFIX}/eclipse
	@${MKDIR} ${PREFIX}/eclipse/plugins
	@${CP} -r ${WRKSRC}/com.atlassw.tools.eclipse.checkstyle_${PORTVERSION} ${PREFIX}/eclipse/plugins

.include <bsd.port.mk>
