aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-XML-Sablotron/Makefile
blob: 344b4514c9dc726bdb43cf9725887efa56b0dd43 (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::Sablotron
# Date created:     13 Nov 2000
# Whom:         Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#

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

MAINTAINER= skv@protey.ru

LIB_DEPENDS=    sablot.65:${PORTSDIR}/textproc/sablotron \
        iconv.2:${PORTSDIR}/converters/iconv

PERL_CONFIGURE= yes
CONFIGURE_ARGS= LIBS='-L${LOCALBASE}/lib -lexpat -lsablot -liconv' \
        INC='-I${LOCALBASE}/include' \
        EXPATLIBPATH='${LOCALBASE}/lib' \
        EXPATINCPATH='${LOCALBASE}/include' \
        SABLOTLIBPATH='${LOCALBASE}/lib' \
        SABLOTINCPATH='${LOCALBASE}/include'

post-patch:
        @${PERL} -pi -e 's,%%PREFIX%%,${PREFIX},g' \
            ${WRKSRC}/Sablotron/Makefile.PL

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

.include <bsd.port.mk>