# ex:ts=8
# New ports collection makefile for:	p5-Imager
# Date created:			Jul 24, 2001
# Whom:				ijliao
#
# $FreeBSD: ports/graphics/p5-Imager/Makefile,v 1.33 2007/09/08 01:00:09 linimon Exp $
#

PORTNAME=	Imager
PORTVERSION=	0.60
CATEGORIES=	graphics perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	${PORTNAME}
PKGNAMEPREFIX=	p5-

MAINTAINER=	lbr@FreeBSD.org
COMMENT=	A Perl module for manipulating gray, color and rgba format images

LIB_DEPENDS=	\
		jpeg:${PORTSDIR}/graphics/jpeg \
		png:${PORTSDIR}/graphics/png \
		t1:${PORTSDIR}/devel/t1lib \
		tiff:${PORTSDIR}/graphics/tiff \
		ungif:${PORTSDIR}/graphics/libungif

USE_FREETYPE=	yes
PERL_CONFIGURE=	5.8.0+
CONFIGURE_ENV=	IM_LIBPATH="${LOCALBASE}/lib" \
		IM_CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \
		IM_INCPATH="${LOCALBASE}/include/freetype1/freetype"

.include "Makefile.man"

.include <bsd.port.mk>
