aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--textproc/p5-Marpa-HTML/Makefile23
1 files changed, 6 insertions, 17 deletions
diff --git a/textproc/p5-Marpa-HTML/Makefile b/textproc/p5-Marpa-HTML/Makefile
index 27c4d30ca304..a30a86299476 100644
--- a/textproc/p5-Marpa-HTML/Makefile
+++ b/textproc/p5-Marpa-HTML/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: p5-Marpa-HTML
-# Date created: 2011-10-25
-# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
-#
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= Marpa-HTML
PORTVERSION= 0.112
@@ -16,12 +12,13 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}000
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= High-level HTML Parser
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
BUILD_DEPENDS= p5-HTML-Parser>=3.64:${PORTSDIR}/www/p5-HTML-Parser \
p5-Marpa-PP>=0.012:${PORTSDIR}/lang/p5-Marpa-PP \
p5-Marpa-XS>=0.026:${PORTSDIR}/lang/p5-Marpa-XS
-RUN_DEPENDS= p5-HTML-Parser>=3.64:${PORTSDIR}/www/p5-HTML-Parser \
- p5-Marpa-PP>=0.012:${PORTSDIR}/lang/p5-Marpa-PP \
- p5-Marpa-XS>=0.026:${PORTSDIR}/lang/p5-Marpa-XS
+RUN_DEPENDS:= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
@@ -30,15 +27,7 @@ MAN1= html_fmt.1 \
MAN3= Marpa::HTML.3 \
Marpa::HTML::Support.3
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 501200
-BUILD_DEPENDS+= p5-Data-Dumper>=2.125:${PORTSDIR}/devel/p5-Data-Dumper
-RUN_DEPENDS+= p5-Data-Dumper>=2.125:${PORTSDIR}/devel/p5-Data-Dumper
-TEST_DEPENDS+= p5-Test-Simple>=0.94:${PORTSDIR}/devel/p5-Test-Simple
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|lib/Marpa/Support.pod|lib/Marpa/HTML/Support.pod|' ${WRKSRC}/Build.PL
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>