summaryrefslogtreecommitdiffstats
path: root/news/newsgrab
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2002-08-04 23:02:19 +0000
committerpetef <petef@FreeBSD.org>2002-08-04 23:02:19 +0000
commit8379ed906a1891ddb86b5b7488f1c82aeca0627f (patch)
treec7cdc22562be3fd7074f57bd3d1168bd1506a175 /news/newsgrab
parent82725245b6b448b63b74b40a32ec51a30ac9ce05 (diff)
downloadFreeBSD-ports-8379ed906a1891ddb86b5b7488f1c82aeca0627f.zip
FreeBSD-ports-8379ed906a1891ddb86b5b7488f1c82aeca0627f.tar.gz
- update to 0.3.1
- use USE_REINPLACE PR: 41165 Submitted by: Michael L. Hostbaek <mich@freebsdcluster.org>
Diffstat (limited to 'news/newsgrab')
-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 0fc7b60..8951e7c 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 2566559..07120f7 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 ba97a27..45a4b6f 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
OpenPOWER on IntegriCloud