aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-XML-LibXSLT/Makefile
blob: 28f5694ff32f3c75064c1bbbd05a35a1aa3cc890 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:    XML::LibXSLT
# Date created:     6 June 2001
# Whom:         Dom Mitchell <dom@happygiraffe.net>
#
# $FreeBSD$
#

PORTNAME=   XML-LibXSLT
PORTVERSION=    1.58
CATEGORIES= textproc perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= XML
PKGNAMEPREFIX=  p5-

MAINTAINER= dom@happygiraffe.net
COMMENT=    Perl interface to the GNOME XSLT library

BUILD_DEPENDS=  ${PERL_ABASE}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML
RUN_DEPENDS=    ${PERL_ABASE}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML
LIB_DEPENDS=    xml2.5:${PORTSDIR}/textproc/libxml2 \
        xslt.2:${PORTSDIR}/textproc/libxslt

PERL_CONFIGURE= yes
CONFIGURE_ARGS= INC='-I${LOCALBASE}/include -I${LOCALBASE}/include/libxml2'
PERL_ABASE= ${SITE_PERL}/${PERL_ARCH}

MAN3=       XML::LibXSLT.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
EXTRA_PATCHES=  ${FILESDIR}/500503-*
.endif

.include <bsd.port.post.mk>