This commit is contained in:
joey 1997-12-20 02:13:15 +00:00
parent 5219695068
commit 1c62f876f2
6 changed files with 60 additions and 0 deletions

19
news/newsfetch/Makefile Normal file
View File

@ -0,0 +1,19 @@
# OpenBSD makefile for: newsfetch
# Version required: 1.0
# Date created: 19 Dec 1997
# Whom: joey
#
# $OpenBSD: Makefile,v 1.1.1.1 1997/12/20 02:13:15 joey Exp $
#
DISTNAME= newsfetch-1.0
CATEGORIES= news
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= system/news/readers
MAINTAINER= joey@OpenBSD.ORG
MAN1= newsfetch.1
MAKE_ENV+= INSTALL_PROGRAM="${INSTALL_PROGRAM}" INSTALL_MAN="${INSTALL_MAN}"
.include <bsd.port.mk>

1
news/newsfetch/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (newsfetch-1.0.tar.gz) = 5d9d5a9658c27a434114d8610228430a

View File

@ -0,0 +1,22 @@
--- Makefile.orig Sat Sep 13 03:33:46 1997
+++ Makefile Sat Sep 13 03:34:12 1997
@@ -3,9 +3,10 @@
objs = main.o nntp.o net.o opt.o util.o
+all: newsfetch
+
newsfetch: $(objs)
$(CC) -o newsfetch $(objs)
- strip newsfetch
.c.o:
$(CC) -c $(CFLAGS) $<
@@ -14,5 +15,5 @@
rm -f *.o newsfetch
install:
- cp newsfetch /usr/local/bin
- cp newsfetch.1 /usr/man/man1
+ $(INSTALL_PROGRAM) newsfetch $(PREFIX)/bin
+ $(INSTALL_MAN) newsfetch.1 $(PREFIX)/man/man1

View File

@ -0,0 +1 @@
download news articles from NNTP server.

15
news/newsfetch/pkg/DESCR Normal file
View File

@ -0,0 +1,15 @@
This is version 1.0 of the newsfetch distribution. This is an utility
to download news in the mail format. Feedbacks are welcome.
If you find a bug in the newsfetcht distribution, please report it.
Yusuf Motiwala
yusuf@scientist.com
DESCRIPTION
% newsfetch news.yourisp.com
% newsfetch $NNTPSERVER
newsfetch pulls news from an NNTP server and writes the
articles to a file named same as newsgroup name. The file
created by newsfetch can be used with any mail reader.

2
news/newsfetch/pkg/PLIST Normal file
View File

@ -0,0 +1,2 @@
bin/newsfetch
man/man1/newsfetch.1