aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-XML-XSH/Makefile
blob: e54c1438605da67c699102d69748b6aa05110dd7 (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
# New ports collection makefile for:    XML::XSH
# Date created:     15 July 2002
# Whom:         Lev Serebryakov <lev@serebryakov.spb.ru>
#
# $FreeBSD$
#

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

MAINTAINER= lev@serebryakov.spb.ru
COMMENT=    This is xsh - an XML Editing Shell

BUILD_DEPENDS=  ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML \
        ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Text/Iconv.pm:${PORTSDIR}/converters/p5-Text-Iconv \
        ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Parse/RecDescent.pm:${PORTSDIR}/devel/p5-Parse-RecDescent \
        ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/XML/XUpdate/LibXML.pm:${PORTSDIR}/textproc/p5-XML-XUpdate-LibXML
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

post-patch:
    @${PERL} -pi -e 's/^(?=no warnings;)/#/ if $$.==6' \
        ${WRKSRC}/lib/XML/XSH/Functions.pm

.include <bsd.port.mk>