2000-12-19 14:21:20 +01:00
|
|
|
# New ports collection makefile for: XML::Sablotron
|
|
|
|
# Date created: 13 Nov 2000
|
|
|
|
# Whom: Sergey Skvortsov <skv@protey.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= XML-Sablotron
|
2001-12-02 19:43:15 +01:00
|
|
|
PORTVERSION= 0.71
|
2001-11-06 13:48:28 +01:00
|
|
|
PORTREVISION= 1
|
2000-12-19 14:21:20 +01:00
|
|
|
CATEGORIES= textproc perl5
|
2001-12-02 19:43:15 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
|
|
|
|
http://download-2.gingerall.cz/download/sablot/
|
2001-06-20 23:52:35 +02:00
|
|
|
MASTER_SITE_SUBDIR= XML
|
2000-12-19 14:21:20 +01:00
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
|
|
|
MAINTAINER= skv@protey.ru
|
|
|
|
|
2001-12-02 19:43:15 +01:00
|
|
|
LIB_DEPENDS= sablot.66:${PORTSDIR}/textproc/sablotron \
|
2001-04-29 20:59:47 +02:00
|
|
|
iconv.2:${PORTSDIR}/converters/iconv
|
2000-12-19 14:21:20 +01:00
|
|
|
|
2001-02-23 04:10:34 +01:00
|
|
|
PERL_CONFIGURE= yes
|
2001-04-29 20:59:47 +02:00
|
|
|
CONFIGURE_ARGS= LIBS='-L${LOCALBASE}/lib -lexpat -lsablot -liconv' \
|
2001-08-26 08:37:36 +02:00
|
|
|
INC='-I${LOCALBASE}/include' \
|
|
|
|
EXPATLIBPATH='${LOCALBASE}/lib' \
|
|
|
|
EXPATINCPATH='${LOCALBASE}/include' \
|
|
|
|
SABLOTLIBPATH='${LOCALBASE}/lib' \
|
|
|
|
SABLOTINCPATH='${LOCALBASE}/include'
|
|
|
|
|
2001-06-19 20:40:01 +02:00
|
|
|
post-patch:
|
|
|
|
@${PERL} -pi -e 's,%%PREFIX%%,${PREFIX},g' \
|
|
|
|
${WRKSRC}/Sablotron/Makefile.PL
|
2000-12-19 14:21:20 +01:00
|
|
|
|
2001-06-19 20:40:01 +02:00
|
|
|
MAN3= XML::Sablotron.3 XML::Sablotron::DOM.3
|
2000-12-19 14:21:20 +01:00
|
|
|
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|