aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-HTML-FromText
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2004-02-11 23:46:20 +0800
committermat <mat@FreeBSD.org>2004-02-11 23:46:20 +0800
commit3fcdceaa1cdb24f3dd490a1acdfd5f6f86d045dc (patch)
tree95492700f9f74ee6ba548b25fd5d849ff3b5e314 /www/p5-HTML-FromText
parent90550022e605becf73f2d30e6d00e17e79707ccb (diff)
downloadfreebsd-ports-graphics-3fcdceaa1cdb24f3dd490a1acdfd5f6f86d045dc.tar.gz
freebsd-ports-graphics-3fcdceaa1cdb24f3dd490a1acdfd5f6f86d045dc.tar.zst
freebsd-ports-graphics-3fcdceaa1cdb24f3dd490a1acdfd5f6f86d045dc.zip
Update to 2.05
PR: 57988 Submitted by: Cheng-Lung Sung <clsung@dragon2.net>
Diffstat (limited to 'www/p5-HTML-FromText')
-rw-r--r--www/p5-HTML-FromText/Makefile18
-rw-r--r--www/p5-HTML-FromText/distinfo3
-rw-r--r--www/p5-HTML-FromText/pkg-plist5
3 files changed, 21 insertions, 5 deletions
diff --git a/www/p5-HTML-FromText/Makefile b/www/p5-HTML-FromText/Makefile
index 770fd9f20d9..f618c5b0ca9 100644
--- a/www/p5-HTML-FromText/Makefile
+++ b/www/p5-HTML-FromText/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= HTML-FromText
-PORTVERSION= 1.005
+PORTVERSION= 2.05
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= HTML
@@ -15,8 +15,22 @@ PKGNAMEPREFIX= p5-
MAINTAINER= svenasse@polaris.ca
COMMENT= Mark up text as HTML
+BUILD_DEPENDS= ${SITE_PERL}/Email/Find.pm:${PORTSDIR}/mail/p5-Email-Find \
+ ${SITE_PERL}/Exporter/Lite.pm:${PORTSDIR}/devel/p5-Exporter-Lite \
+ ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils \
+ ${SITE_PERL}/${PERL_ARCH}/HTML/Entities.pm:${PORTSDIR}/www/p5-HTML-Parser
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
PERL_CONFIGURE= yes
+MAN1= text2html.1
MAN3= HTML::FromText.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+post-patch:
+ @${PERL} -pi -e 's/_ foreach/_() foreach/' ${WRKSRC}/lib/HTML/FromText.pm
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/p5-HTML-FromText/distinfo b/www/p5-HTML-FromText/distinfo
index 0c2907f4bd3..91598906886 100644
--- a/www/p5-HTML-FromText/distinfo
+++ b/www/p5-HTML-FromText/distinfo
@@ -1 +1,2 @@
-MD5 (HTML-FromText-1.005.tar.gz) = 983342bb72acc94ce58b6c7d3a14f62b
+MD5 (HTML-FromText-2.05.tar.gz) = fb8ae4ab0cae0b57101f78b046b3927b
+SIZE (HTML-FromText-2.05.tar.gz) = 13875
diff --git a/www/p5-HTML-FromText/pkg-plist b/www/p5-HTML-FromText/pkg-plist
index 320aed25748..280cd860dc7 100644
--- a/www/p5-HTML-FromText/pkg-plist
+++ b/www/p5-HTML-FromText/pkg-plist
@@ -1,6 +1,7 @@
@comment $FreeBSD$
+bin/text2html
%%SITE_PERL%%/HTML/FromText.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/FromText/.packlist
-@unexec rmdir %D/%%SITE_PERL%%/HTML 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/FromText 2>/dev/null || true
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/FromText
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/HTML 2>/dev/null || true