# ex:ts=8
# Ports collection makefile for:	ipa
# Date created:			Aug 13, 2002
# Whom:				ijliao
#
# $FreeBSD: ports/graphics/IPA/Makefile,v 1.6 2004/03/15 12:01:18 kris Exp $
#

PORTNAME=	IPA
PORTVERSION=	1.00
CATEGORIES=	graphics
MASTER_SITES=	http://www.prima.eu.org/IPA/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Image Processing Algorithms

BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Prima.pm:${PORTSDIR}/x11-toolkits/p5-Prima
RUN_DEPENDS=	${BUILD_DEPENDS}

PERL_CONFIGURE=	yes

.include <bsd.port.pre.mk>

.if ${ARCH} == "amd64"
BROKEN=		"Does not compile on amd64 (shared libraries need to be compiled with -fPIC)"
.endif

do-configure:
	@(cd ${WRKSRC} ; ${PERL} ./${CONFIGURE_SCRIPT})

.include <bsd.port.post.mk>
