aboutsummaryrefslogtreecommitdiff
path: root/news/newsgrab/Makefile
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-08-04 23:02:19 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-08-04 23:02:19 +0000
commitfcae02d1089a3ba4a601734e36f98e55cca06567 (patch)
treef2e9ee298527452872b394a8c4fadc0668ca8318 /news/newsgrab/Makefile
parent916955fbf151abfd987134f0551efcd1d56f22ef (diff)
downloadports-fcae02d1089a3ba4a601734e36f98e55cca06567.tar.gz
ports-fcae02d1089a3ba4a601734e36f98e55cca06567.zip
- update to 0.3.1
- use USE_REINPLACE PR: 41165 Submitted by: Michael L. Hostbaek <mich@freebsdcluster.org>
Notes
Notes: svn path=/head/; revision=64008
Diffstat (limited to 'news/newsgrab/Makefile')
-rw-r--r--news/newsgrab/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/news/newsgrab/Makefile b/news/newsgrab/Makefile
index 0fc7b60137d1..8951e7c1f51f 100644
--- a/news/newsgrab/Makefile
+++ b/news/newsgrab/Makefile
@@ -6,9 +6,10 @@
#
PORTNAME= newsgrab
-PORTVERSION= 0.2.2
+PORTVERSION= 0.3.1
CATEGORIES= news
-MASTER_SITES= http://phunkbros.dk/newsgrab/
+MASTER_SITES= http://telia.dl.sourceforge.net/sourceforge/newsgrab/ \
+ ${MASTER_SITE_SOURCEFORGE}
MAINTAINER= petef@FreeBSD.org
@@ -19,15 +20,17 @@ RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/News/NNTPClient.pm:${P
NO_BUILD= yes
USE_PERL5= yes
+USE_REINPLACE= yes
post-patch:
- @${PERL} -pi -e 's,^#!/usr/bin/perl,#!${PERL},' ${WRKSRC}/newsgrab.pl
+ @${REINPLACE_CMD} -e 's|^#!/usr/bin/perl|#!${PERL}|' ${WRKSRC}/newsgrab.pl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/newsgrab.pl ${PREFIX}/bin/newsgrab
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/newsgrab
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/newsgrab
+ ${INSTALL_DATA} ${WRKSRC}/newsgrabrc ${PREFIX}/share/doc/newsgrab
.endif
.include <bsd.port.mk>