# New ports collection makefile for:	artemis
# Date created:				10 Nov 2001
# Whom:					camson@bilateral.com.au
#
# $FreeBSD: ports/biology/artemis/Makefile,v 1.7 2005/12/05 16:57:26 tdb Exp $
#

PORTNAME=	artemis
PORTVERSION=	7
PORTREVISION=	1
CATEGORIES=	biology java
MASTER_SITES=	http://www.sanger.ac.uk/Software/Artemis/v${PORTVERSION}/
DISTNAME=	artemis_compiled_v${PORTVERSION}_${PORTREVISION}

MAINTAINER=	fernan@iib.unsam.edu.ar
COMMENT=	A DNA sequence viewer and annotation tool

WRKSRC=		${WRKDIR}/${PORTNAME}

USE_JAVA=	yes
JAVA_VERSION=	1.4+

NO_BUILD=	yes
PLIST_SUB=	PORTVERSION="${PORTVERSION}"

do-install:
	@${MKDIR} ${PREFIX}/${PORTNAME}-${PORTVERSION}
	@${TAR} -C ${WRKSRC} -cf- . | ${TAR} -C ${PREFIX}/${PORTNAME}-${PORTVERSION} -xpf-
	@${LN} -s ${PREFIX}/${PORTNAME}-${PORTVERSION}/art ${PREFIX}/bin/art
	@${LN} -s ${PREFIX}/${PORTNAME}-${PORTVERSION}/act ${PREFIX}/bin/act

.include <bsd.port.mk>
