aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-XML-XSH/Makefile
blob: c81d89a429c61e00372c6379ffe7c1f4fa6a03f3 (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
40
41
42
43
# 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.8.2
CATEGORIES= textproc perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN:S/$/:cpan/} \
        ${MASTER_SITE_SOURCEFORGE:S/$/:sourceforge/}
MASTER_SITE_SUBDIR= XML/:cpan xsh/:sourceforge
PKGNAMEPREFIX=  p5-
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX}:cpan,sourceforge

MAINTAINER= mat@FreeBSD.org
COMMENT=    This is xsh - an XML Editing Shell

BUILD_DEPENDS=  ${SITE_PERL}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML \
        ${SITE_PERL}/${PERL_ARCH}/XML/LibXSLT.pm:${PORTSDIR}/textproc/p5-XML-LibXSLT \
        ${SITE_PERL}/XML/LibXML/Iterator.pm:${PORTSDIR}/textproc/p5-XML-LibXML-Iterator \
        ${SITE_PERL}/Parse/RecDescent.pm:${PORTSDIR}/devel/p5-Parse-RecDescent \
        ${SITE_PERL}/XML/XUpdate/LibXML.pm:${PORTSDIR}/textproc/p5-XML-XUpdate-LibXML \
        ${SITE_PERL}/${PERL_ARCH}/XML/LibXML/XPathContext.pm:${PORTSDIR}/textproc/p5-XML-LibXML-XPathContext
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN1=       xsh.1
MAN3=       XSH.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
IGNORE=     "requires perl 5.6.x or later. Install lang/perl5 and try again"
.endif

test: build
    @cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} \
        ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test

.include <bsd.port.post.mk>