blob: ab8da59566d36e2642652a46cafb92799dc44cfe (
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
36
37
38
39
|
# New ports collection makefile for: XML::Sablotron
# Date created: 13 Nov 2000
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= XML-Sablotron
PORTVERSION= 1.0
CATEGORIES= textproc perl5
MASTER_SITES= http://download-2.gingerall.cz/download/sablot/
PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= A Perl interface to the Sablotron XSLT processor
LIB_DEPENDS= sablot.70:${PORTSDIR}/textproc/sablotron
USE_ICONV= yes
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'
MAN3= XML::Sablotron.3 XML::Sablotron::DOM.3 \
XML::Sablotron::DOM::DOMHandler.3 XML::Sablotron::SAXBuilder.3 \
XML::Sablotron::Situation::DOMHandlerDispatcher.3
.include <bsd.port.pre.mk>
post-patch:
.if ${PERL_LEVEL} < 500600
@${PERL} -pi -e 's/^our //; $$_="use vars qw(\$$libs \@extras);\n" if $$.==47' ${WRKSRC}/Makefile.PL
.endif
.include <bsd.port.post.mk>
|