43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# New ports collection makefile for: p5-HTML-Parser
|
|
# Date Created: 28 April 1998
|
|
# Whom: Vanilla I. Shu <vanilla@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= HTML-Parser
|
|
PORTVERSION= 3.48
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= HTML
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Perl5 module for parsing HTML documents
|
|
|
|
RUN_DEPENDS= ${SITE_PERL}/HTML/Tagset.pm:${PORTSDIR}/www/p5-HTML-Tagset
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
|
|
${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= HTML::Entities.3 \
|
|
HTML::Filter.3 \
|
|
HTML::HeadParser.3 \
|
|
HTML::LinkExtor.3 \
|
|
HTML::Parser.3 \
|
|
HTML::PullParser.3 \
|
|
HTML::TokeParser.3
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 500600
|
|
RUN_DEPENDS+= ${SITE_PERL}/XSLoader.pm:${PORTSDIR}/devel/p5-XSLoader
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e '/require 5.006/d' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
|
${REINPLACE_CMD} -e '/open/s/", $$file/ $$file"/g' ${WRKSRC}/t/unicode.t
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|