# Created by: Dom Mitchell <dom@happygiraffe.net>
# $FreeBSD: head/textproc/p5-XML-LibXSLT/Makefile 462515 2018-02-21 13:40:00Z sunpoet $

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=	p5-XML-LibXML>=1.70:textproc/p5-XML-LibXML
LIB_DEPENDS=	libgcrypt.so:security/libgcrypt \
		libgpg-error.so:security/libgpg-error
RUN_DEPENDS:=	${BUILD_DEPENDS}

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>
