# ex:ts=8
# Ports collection makefile for:  doctorj
# Date created:                   Wed Apr 16, 2003
# Whom:                           Michael L. Hostbaek (mich@freebsdcluster.org)
#
# $FreeBSD: ports/devel/doctorj/Makefile,v 1.9 2007/05/19 20:02:22 flz Exp $
#

PORTNAME=	doctorj
PORTVERSION=	5.1.2
PORTREVISION=	1
CATEGORIES=	devel java
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	nemoliu@FreeBSD.org
COMMENT=	A tool for analyzing Java code and documentation

USE_JAVA=	yes
JAVA_VERSION=	1.3+
USE_ANT=	yes

ALL_TARGET=	jarfile

MAN1=		doctorj.1
PLIST_FILES=	%%JAVAJARDIR%%/doctorj.jar

do-install:
	@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/doctorj.jar..."
	@${MKDIR} ${JAVAJARDIR}
	@${INSTALL_DATA} ${WRKSRC}/share/doctorj/doctorj.jar ${JAVAJARDIR}/
	@${ECHO_MSG} -n ">> Installing MANPAGE ..."
	@${INSTALL_MAN} ${WRKSRC}/doc/doctorj.1 ${MAN1PREFIX}/man/man1
	@${ECHO_MSG} " [ DONE ]"

.include <bsd.port.mk>


syntax highlighted by Code2HTML, v. 0.9.1