# Created by: Dom Mitchell <dom@happygiraffe.net>
# $FreeBSD: tags/RELEASE_12_1_0/textproc/p5-XML-LibXSLT/Makefile 481365 2018-10-06 13:06:42Z des $

PORTNAME=	XML-LibXSLT
PORTVERSION=	1.96
CATEGORIES=	textproc perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Perl interface to the GNOME XSLT library

LICENSE=	ART10 GPLv1+
LICENSE_COMB=	dual

BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	p5-XML-LibXML>=1.70:textproc/p5-XML-LibXML
LIB_DEPENDS=	libgcrypt.so:security/libgcrypt \
		libgpg-error.so:security/libgpg-error

USES=		gnome perl5 pkgconfig
USE_GNOME=	libxml2 libxslt
USE_PERL5=	configure

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/XML/LibXSLT/LibXSLT.so

.include <bsd.port.mk>
