aboutsummaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
Diffstat (limited to 'news')
-rw-r--r--news/bgrab/Makefile10
-rw-r--r--news/bgrab/distinfo2
-rw-r--r--news/bgrab/files/Makefile.dist4
-rw-r--r--news/bgrab/pkg-descr2
4 files changed, 10 insertions, 8 deletions
diff --git a/news/bgrab/Makefile b/news/bgrab/Makefile
index 85b3f9c2ac07..a1fb4aea2076 100644
--- a/news/bgrab/Makefile
+++ b/news/bgrab/Makefile
@@ -8,15 +8,17 @@
PORTNAME= bgrab
PORTVERSION= 1.3.6
CATEGORIES= news
-MASTER_SITES= http://www.student.dtu.dk/~c960941/bgrab/
-EXTRACT_SUFX= .tgz
+MASTER_SITES= http://bgrab.ifip.net/
MAINTAINER= ports@FreeBSD.org
COMMENT= Binary Grabber - downloads binaries from newsgroups
RUN_DEPENDS= mmencode:${PORTSDIR}/converters/mmencode
-post-extract:
- @${CP} ${FILESDIR}/Makefile.dist ${WRKSRC}/Makefile
+EXTRACT_AFTER_ARGS= | ${TAR} -zxf -
+
+USE_BZIP2= yes
+MAKEFILE= ${FILESDIR}/Makefile.dist
+MAKE_ENV= INSTALL_PROGRAM="${INSTALL_PROGRAM}"
.include <bsd.port.mk>
diff --git a/news/bgrab/distinfo b/news/bgrab/distinfo
index 106320cb4994..506e52de34b3 100644
--- a/news/bgrab/distinfo
+++ b/news/bgrab/distinfo
@@ -1 +1 @@
-MD5 (bgrab-1.3.6.tgz) = e0c8e05ce219803aa9914ae81b08ee5b
+MD5 (bgrab-1.3.6.tar.bz2) = ca95277434553b68e1f854d79414a0ad
diff --git a/news/bgrab/files/Makefile.dist b/news/bgrab/files/Makefile.dist
index d46e79467e65..135e7c83f0b4 100644
--- a/news/bgrab/files/Makefile.dist
+++ b/news/bgrab/files/Makefile.dist
@@ -6,7 +6,7 @@ CXXFLAGS += -DFREEBSD
LIBS = -lncurses
PREFIX ?= /usr/local
DEST = $(PREFIX)/bin
-INSTALL ?= install
+INSTALL_PROGRAM ?= install -c -s -o root -g wheel -m 555
bgrab: $(OBJ) Makefile common.h
$(CXX) $(LIBS) -o bgrab $(OBJ)
@@ -15,6 +15,6 @@ clean:
rm -f $(OBJ) bgrab
install: bgrab
- $(INSTALL) bgrab $(DEST)/bgrab
+ $(INSTALL_PROGRAM) bgrab $(DEST)/bgrab
all: bgrab
diff --git a/news/bgrab/pkg-descr b/news/bgrab/pkg-descr
index ff589ce77862..03ae4e3bfcd4 100644
--- a/news/bgrab/pkg-descr
+++ b/news/bgrab/pkg-descr
@@ -1,7 +1,7 @@
This is an automated binary extraction tool for UseNet newsgroups.
It will log into any newsgroup and download all the binary files.
-WWW: http://www.student.dtu.dk/~c960941/bgrab/
+WWW: http://bgrab.ifip.net/
-Kelly
kbyanc@posi.net