forked from Lainports/freebsd-ports
automatically determining its encoding. It uses the HTML5 encoding sniffing algorithm specified in section 8.2.2.1 of the draft standard. WWW: http://search.cpan.org/dist/IO-HTML/ This new port is needed to update textproc/p5-HTML-HTML5-Parser.
30 lines
573 B
Makefile
30 lines
573 B
Makefile
# New ports collection makefile for: p5-IO-HTML
|
|
# Date created: 2012-06-14
|
|
# Whom: Frederic Culot <culot@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= IO-HTML
|
|
PORTVERSION= 0.04
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= culot@FreeBSD.org
|
|
COMMENT= Open an HTML file with automatic charset detection
|
|
|
|
LICENSE= ART10 GPLv1
|
|
LICENSE_COMB= dual
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= IO::HTML.3
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 501001
|
|
TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|