aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-XML-LibXML/Makefile
blob: 334a8880abcacf27e89845e3fcd156dcf29581c4 (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
# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$

PORTNAME=   XML-LibXML
PORTVERSION=    2.0129
PORTEPOCH=  1
CATEGORIES= textproc perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Interface to Gnome libxml2 library

LICENSE=    ART10 GPLv1
LICENSE_COMB=   dual

BUILD_DEPENDS=  p5-XML-NamespaceSupport>=1.07:textproc/p5-XML-NamespaceSupport \
        p5-XML-SAX>=0.11:textproc/p5-XML-SAX
RUN_DEPENDS:=   ${BUILD_DEPENDS}
TEST_DEPENDS=   p5-Test-LeakTrace>=0:devel/p5-Test-LeakTrace \
        p5-URI>=0:net/p5-URI

USES=       perl5
USE_GNOME=  libxml2
USE_PERL5=  configure
CONFIGURE_ENV=  XMLPREFIX=${LOCALBASE}

PKGDEINSTALL=   ${PKGINSTALL}

CONFLICTS=  p5-XML-LibXML-XPathContext-[0-9]* p5-XML-LibXML-Common-[0-9]*

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

.include <bsd.port.mk>