aboutsummaryrefslogtreecommitdiff
path: root/textproc/info_to_html
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2010-09-21 07:56:43 +0000
committerMartin Matuska <mm@FreeBSD.org>2010-09-21 07:56:43 +0000
commitddcc0de9218039c78eb34c7bc64fadb4dfe7a707 (patch)
treebee4ba075b3a0b4d3276fe1e92c704118abdbfe3 /textproc/info_to_html
parentfc366adb105b7bb2dc40e2a7e3e8c2022e37efe2 (diff)
downloadports-ddcc0de9218039c78eb34c7bc64fadb4dfe7a707.tar.gz
ports-ddcc0de9218039c78eb34c7bc64fadb4dfe7a707.zip
Change dependency on old p5-Compress-Zlib, p5-IO-Compress-Base,
p5-IO-Compress-Zlib and p5-IO-Compress-Bzip2 modules to p5-IO-Compress. Explicitly depend on p5-IO-Compress only if PERL_LEVEL < 500903 Bump PORTREVISION
Notes
Notes: svn path=/head/; revision=261530
Diffstat (limited to 'textproc/info_to_html')
-rw-r--r--textproc/info_to_html/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/textproc/info_to_html/Makefile b/textproc/info_to_html/Makefile
index 536a91236c81..1f7738210af7 100644
--- a/textproc/info_to_html/Makefile
+++ b/textproc/info_to_html/Makefile
@@ -8,19 +8,24 @@
PORTNAME= info_to_html
PORTVERSION= 0.9.6
+PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= http://www.mons.net/software/
MAINTAINER= ports@FreeBSD.org
COMMENT= Translate GNU info files into HTML pages
-RUN_DEPENDS= ${SITE_PERL}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib
-
PLIST_FILES= bin/info_to_html
USE_PERL5= yes
NO_BUILD= yes
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
+.endif
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/info_to_html ${PREFIX}/bin
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>