aboutsummaryrefslogtreecommitdiff
path: root/news/newsgrab/Makefile
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2001-10-03 03:23:02 +0000
committerPete Fritchman <petef@FreeBSD.org>2001-10-03 03:23:02 +0000
commit2f8d785118b48e86792a0faf7ce5438fd21a14ad (patch)
treeb6522abf39a069dcc8b75397d8af37db6dd3f00c /news/newsgrab/Makefile
parentbb8bbd199a3604609834d1d297d9d4534c649107 (diff)
downloadports-2f8d785118b48e86792a0faf7ce5438fd21a14ad.tar.gz
ports-2f8d785118b48e86792a0faf7ce5438fd21a14ad.zip
Notes
Diffstat (limited to 'news/newsgrab/Makefile')
-rw-r--r--news/newsgrab/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/news/newsgrab/Makefile b/news/newsgrab/Makefile
index 242fd42b7f7c..245a163d8959 100644
--- a/news/newsgrab/Makefile
+++ b/news/newsgrab/Makefile
@@ -6,17 +6,21 @@
#
PORTNAME= newsgrab
-PORTVERSION= 0.1.1
+PORTVERSION= 0.1.3
CATEGORIES= news
MASTER_SITES= http://phunkbros.dk/newsgrab/
MAINTAINER= petef@FreeBSD.org
-RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/News/NNTPClient.pm:${PORTSDIR}/news/p5-NNTPClient
+RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/News/NNTPClient.pm:${PORTSDIR}/news/p5-NNTPClient \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey
NO_BUILD= yes
USE_PERL5= yes
+post-patch:
+ @${PERL} -pi -e 's,^#!/usr/bin/perl,#!${PERL},' ${WRKSRC}/newsgrab.pl
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/newsgrab.pl ${PREFIX}/bin/newsgrab
.if !defined(NOPORTDOCS)