freebsd-ports/textproc/p5-XML-XSH/Makefile
Sergey Skvortsov 182408e7f4 Add p5-XML-XSH 1.4, this is xsh - an XML Editing Shell.
PR:		40604
Submitted by:	Lev Serebryakov <lev@serebryakov.spb.ru>
2002-07-17 10:15:47 +00:00

29 lines
960 B
Makefile

# 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
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>