2000-01-29 04:26:27 +01:00
|
|
|
# New ports collection makefile for: p5-HTML-Tree
|
|
|
|
# Date created: 3 January 2000
|
|
|
|
# Whom: Dmitry Sivachenko <dima@Chg.RU>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-06-17 04:37:15 +02:00
|
|
|
PORTNAME= HTML-Tree
|
2005-12-29 23:31:05 +01:00
|
|
|
PORTVERSION= 3.19.01
|
2001-01-16 18:33:20 +01:00
|
|
|
CATEGORIES= www perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
2000-01-29 04:26:27 +01:00
|
|
|
MASTER_SITE_SUBDIR= HTML
|
2000-06-17 04:37:15 +02:00
|
|
|
PKGNAMEPREFIX= p5-
|
2005-12-29 23:31:05 +01:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.(..)$/\1/}
|
2000-01-29 04:26:27 +01:00
|
|
|
|
2006-01-03 10:12:28 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A collection of modules to manupulate HTML syntax trees
|
2000-01-29 04:26:27 +01:00
|
|
|
|
2003-10-24 14:05:09 +02:00
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/HTML/HeadParser.pm:${PORTSDIR}/www/p5-HTML-Parser
|
2003-02-23 20:24:16 +01:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
2000-01-29 04:26:27 +01:00
|
|
|
|
2001-03-01 07:39:18 +01:00
|
|
|
PERL_CONFIGURE= yes
|
2000-01-29 04:26:27 +01:00
|
|
|
|
2000-11-22 22:04:54 +01:00
|
|
|
MAN3= HTML::Parse.3 HTML::TreeBuilder.3 HTML::AsSubs.3 \
|
2001-03-16 10:55:12 +01:00
|
|
|
HTML::Element.3 HTML::Element::traverse.3 HTML::Tree.3 \
|
|
|
|
HTML::Tree::Scanning.3 HTML::Tree::AboutObjects.3 \
|
|
|
|
HTML::Tree::AboutTrees.3
|
2000-01-29 04:26:27 +01:00
|
|
|
|
2005-12-29 23:31:05 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PERL_LEVEL} < 500600
|
2005-12-30 02:13:54 +01:00
|
|
|
post-patch:
|
|
|
|
${PERL} -pi -e 's/our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' ${WRKSRC}/t/*.t
|
|
|
|
${PERL} -pi -e 's,-Tw,-,; s/(use|no) warnings;.*//' ${WRKSRC}/t/*.t
|
2005-12-29 23:31:05 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|