# New ports collection makefile for:	XML::LibRSVG
# Date created:		20 Nov 2001
# Whom:			Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD: ports/textproc/p5-XML-LibRSVG/Makefile,v 1.6 2003/02/21 13:42:43 knu Exp $
#

PORTNAME=	XML-LibRSVG
PORTVERSION=	0.01
PORTREVISION=	1
CATEGORIES=	textproc graphics perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	XML
PKGNAMEPREFIX=	p5-

MAINTAINER=	skv@protey.ru
COMMENT=	Interface to GNOME's librsvg

LIB_DEPENDS=	rsvg.1:${PORTSDIR}/graphics/librsvg \
		freetype.9:${PORTSDIR}/print/freetype2 \
		xml2.5:${PORTSDIR}/textproc/libxml2 \
		png.5:${PORTSDIR}/graphics/png \
		art_lgpl.5:${PORTSDIR}/graphics/libart

PERL_CONFIGURE=	yes
CONFIGURE_ENV=	INC='-I${LOCALBASE}/include' LIBS='-L${LOCALBASE}/lib'
USE_GNOMENG=	yes
USE_GNOME=	gdkpixbuf

MAN3=		XML::LibRSVG.3
MANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}

.include <bsd.port.mk>
