# New ports collection makefile for:	p5-AcePerl
# Date created:		26 July 2000
# Whom:	      		Johann Visagie <johann@egenetics.com>
#
# $FreeBSD: ports/biology/p5-AcePerl/Makefile,v 1.9 2003/02/21 11:01:35 knu Exp $
#

PORTNAME=	AcePerl
PORTVERSION=	1.82
CATEGORIES=	biology databases perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	Ace
PKGNAMEPREFIX=	p5-

MAINTAINER=	bio@freebsd.net
COMMENT=	Perl5 interface to the ACEDB genome database system

BUILD_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
RUN_DEPENDS=	${BUILD_DEPENDS}

PERL_CONFIGURE=	yes

MAN3=		Ace.3 Ace::Browser::AceSubs.3 Ace::Browser::SearchSubs.3 \
		Ace::Browser::SiteDefs.3 Ace::Graphics::Fk.3 \
		Ace::Graphics::Glyph.3 Ace::Graphics::Glyph::anchored_arrow.3 \
		Ace::Graphics::Glyph::arrow.3 Ace::Graphics::Glyph::box.3 \
		Ace::Graphics::Glyph::dot.3 Ace::Graphics::Glyph::ex.3 \
		Ace::Graphics::Glyph::graded_segments.3 \
		Ace::Graphics::Glyph::group.3 Ace::Graphics::Glyph::line.3 \
		Ace::Graphics::Glyph::primers.3 \
		Ace::Graphics::Glyph::segments.3 Ace::Graphics::Glyph::span.3 \
		Ace::Graphics::Glyph::toomany.3 \
		Ace::Graphics::Glyph::transcript.3 \
		Ace::Graphics::Glyph::triangle.3 \
		Ace::Graphics::GlyphFactory.3 Ace::Graphics::Panel.3 \
		Ace::Graphics::Track.3 Ace::Iterator.3 Ace::Local.3 \
		Ace::Model.3 Ace::Object.3 Ace::Sequence.3 \
		Ace::Sequence::Feature.3 Ace::Sequence::FeatureList.3 \
		Ace::Sequence::GappedAlignment.3 Ace::Sequence::Gene.3 \
		Ace::Sequence::Homol.3 Ace::Sequence::Multi.3 \
		Ace::Sequence::Transcript.3
MANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}

post-patch:
	@ ${SED} -e 's|XX__CC__XX|${CC}|' < ${FILESDIR}/FREEBSD_DEF \
	  > ${WRKSRC}/ace/wmake/FREEBSD_DEF

.include <bsd.port.mk>
