blob: bd849ed1082b8d348ad406b49d395ec05e3f7eb7 (
plain)
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
|
# New ports collection makefile for: XML::XUpdate::LibXML
# Date created: 15 July 2002
# Whom: Lev Serebryakov <lev@serebryakov.spb.ru>
#
# $FreeBSD$
#
PORTNAME= XML-XUpdate-LibXML
PORTVERSION= 0.2.3
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= XML
PKGNAMEPREFIX= p5-
MAINTAINER= lev@serebryakov.spb.ru
COMMENT= Simple implementation of XUpdate format based on and XML::LibXML
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN1= xupdate.1
MAN3= XML::Normalize::LibXML.3 XML::XUpdate::LibXML.3
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
post-patch:
@${PERL} -pi -e 's/xupdate/NAME/ if $$.==56' ${WRKSRC}/xupdate
@${PERL} -pi -e 's/my // if $$.==237' ${WRKSRC}/lib/XML/XUpdate/LibXML.pm
.include <bsd.port.mk>
|