aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2007-04-04 15:57:13 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2007-04-04 15:57:13 +0000
commit429c394555548022bea77b4375125a5a305d922a (patch)
treea9b0bb32c103e6672b39525b93fa28cafb10acdd /irc
parent041a28e5218b8a640acb2be4c438c3d7b70afb9c (diff)
downloadports-429c394555548022bea77b4375125a5a305d922a.tar.gz
ports-429c394555548022bea77b4375125a5a305d922a.zip
Notes
Diffstat (limited to 'irc')
-rw-r--r--irc/onis/Makefile8
-rw-r--r--irc/p5-IRC/Makefile12
2 files changed, 2 insertions, 18 deletions
diff --git a/irc/onis/Makefile b/irc/onis/Makefile
index 4727a3e45b35..f2548ea2ce5f 100644
--- a/irc/onis/Makefile
+++ b/irc/onis/Makefile
@@ -16,16 +16,10 @@ COMMENT= A script that converts IRC logfiles into an HTML statistics page
NO_BUILD= YES
USE_PERL5= YES
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500601
-IGNORE=This port requires perl 5.6.x or later. Install lang/perl5 and try again.
-.endif
-
do-install:
@if [ ! -d ${DATADIR} ]; then \
${MKDIR} ${DATADIR}; \
fi
${CP} -R ${WRKSRC}/* ${DATADIR}/
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/irc/p5-IRC/Makefile b/irc/p5-IRC/Makefile
index 903690fd3b80..ef0f89daefbb 100644
--- a/irc/p5-IRC/Makefile
+++ b/irc/p5-IRC/Makefile
@@ -22,14 +22,4 @@ MAN3= Net::Connection.3 \
Net::Event.3 \
Net::IRC.3
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500600
-BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/IO/Socket/INET.pm:${PORTSDIR}/devel/p5-IO
-RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/IO/Socket/INET.pm:${PORTSDIR}/devel/p5-IO
-post-patch:
- @${PERL} -pi -e '$$_ = "" if /(use|no) warnings/' ${WRKSRC}/EventQueue.pm
- @${PERL} -pi -e 's/^our (\S+);/use vars qw($$1);/' ${WRKSRC}/Event.pm
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>