summaryrefslogtreecommitdiff
path: root/news
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
parent- update to 1.3.2 (diff)
- 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')
-rw-r--r--news/newsgrab/Makefile9
-rw-r--r--news/newsgrab/distinfo2
-rw-r--r--news/newsgrab/pkg-plist1
3 files changed, 8 insertions, 4 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>
diff --git a/news/newsgrab/distinfo b/news/newsgrab/distinfo
index 256655964f55..07120f7a3539 100644
--- a/news/newsgrab/distinfo
+++ b/news/newsgrab/distinfo
@@ -1 +1 @@
-MD5 (newsgrab-0.2.2.tar.gz) = 783ee6795eff72a3bebdd8b725c93873
+MD5 (newsgrab-0.3.1.tar.gz) = d0bb3d84cc7faf580876ea79b160fa2a
diff --git a/news/newsgrab/pkg-plist b/news/newsgrab/pkg-plist
index ba97a275ca13..45a4b6f84bc1 100644
--- a/news/newsgrab/pkg-plist
+++ b/news/newsgrab/pkg-plist
@@ -1,3 +1,4 @@
bin/newsgrab
%%PORTDOCS%%share/doc/newsgrab/README
+%%PORTDOCS%%share/doc/newsgrab/newsgrabrc
%%PORTDOCS%%@dirrm share/doc/newsgrab