aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-XML-Parser/Makefile
blob: 096f82b216fbaf6cae72421a21727db8efb2821e (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
# New ports collection makefile for:    XML::Parser
# Date created:     15 Nov 1998
# Whom:         Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   p5-XML-Parser
PORTVERSION=    2.27
CATEGORIES= textproc perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN} \
        http://wwwx.netheaven.com/~coopercc/xmlparser/
MASTER_SITE_SUBDIR= ../by-authors/id/C/CO/COOPERCL
DISTNAME=   XML-Parser-2.27

MAINTAINER= kuriyama@FreeBSD.org

USE_PERL5=  YES

MAN3=       XML::Parser.3 XML::Parser::Expat.3
MANPREFIX=  ${PREFIX}/lib/perl5/${PERL_VERSION}

do-configure:
    @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL

post-build:
    @cd ${WRKSRC}/Expat/expat; ${MAKE}

post-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/Expat/expat/xmlwf/xmlwf ${PREFIX}/bin/

.include <bsd.port.mk>