newsfetch port cleanup
- delete extra comments at the top of Makefile - respect DEBUG, pass CC/CFLAGS/LDFLAGS using MAKE_FLAGS - pass INSTALL_* via FAKE_FLAGS - drop USE_GROFF; no visible difference - use ALL_TARGET instead of patching - add @bin annotation - clean up DESCR (urkh...) - regen distinfo
This commit is contained in:
parent
f9b5a03525
commit
bbcbc6ab13
@ -1,25 +1,23 @@
|
||||
# OpenBSD makefile for: newsfetch
|
||||
# Version required: 1.0
|
||||
# Date created: 28 April 1998
|
||||
# Whom: Ejovi Nuwere <ejovi@ejovi.net>
|
||||
#
|
||||
# $OpenBSD: Makefile,v 1.23 2013/03/11 11:35:58 espie Exp $
|
||||
#
|
||||
# $OpenBSD: Makefile,v 1.24 2014/10/29 00:07:17 jca Exp $
|
||||
|
||||
COMMENT= download news articles from NNTP server
|
||||
|
||||
DISTNAME= newsfetch-1.21
|
||||
REVISION= 0
|
||||
CATEGORIES= news
|
||||
MASTER_SITES= ${MASTER_SITE_SUNSITE:=system/news/readers/}
|
||||
|
||||
# License: BSD
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
|
||||
WANTLIB= c
|
||||
WANTLIB= c
|
||||
|
||||
MAKE_ENV+= INSTALL_PROGRAM="${INSTALL_PROGRAM}" INSTALL_MAN="${INSTALL_MAN}"
|
||||
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
FAKE_FLAGS= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
|
||||
INSTALL_MAN="${INSTALL_MAN}"
|
||||
|
||||
USE_GROFF = Yes
|
||||
NO_TEST= Yes
|
||||
|
||||
ALL_TARGET= newsfetch
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,2 @@
|
||||
MD5 (newsfetch-1.21.tar.gz) = 40OjTVDQwwT5OZOKjubLrw==
|
||||
RMD160 (newsfetch-1.21.tar.gz) = XeAhFxQbGSx33tSsa8rmi97NnvI=
|
||||
SHA1 (newsfetch-1.21.tar.gz) = SY7sl0HujcxZUMV8I86P6oP6Sjw=
|
||||
SHA256 (newsfetch-1.21.tar.gz) = TPitNyrfvf32+FMRrezr5FqPVKL4wh3gSjz2BBhYctI=
|
||||
SIZE (newsfetch-1.21.tar.gz) = 10758
|
||||
|
@ -1,24 +1,17 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1 2002/07/23 17:58:56 pvalchev Exp $
|
||||
--- Makefile.orig Mon Apr 13 03:09:54 1998
|
||||
+++ Makefile Tue Jul 23 11:26:52 2002
|
||||
@@ -1,14 +1,12 @@
|
||||
-CC = gcc
|
||||
-CFLAGS =
|
||||
-
|
||||
#Uncomment this if you do not want status meter
|
||||
#CFLAGS = -DNO_STATUS_METER
|
||||
|
||||
$OpenBSD: patch-Makefile,v 1.2 2014/10/29 00:07:17 jca Exp $
|
||||
--- Makefile.orig Mon Apr 13 11:09:54 1998
|
||||
+++ Makefile Wed Oct 29 00:41:24 2014
|
||||
@@ -7,8 +7,7 @@ CFLAGS =
|
||||
objs = newsfetch.o nntp.o net.o opt.o util.o getopt.o
|
||||
|
||||
+all: newsfetch
|
||||
+
|
||||
newsfetch: $(objs)
|
||||
$(CC) -o newsfetch $(objs)
|
||||
- $(CC) -o newsfetch $(objs)
|
||||
- strip newsfetch
|
||||
+ $(CC) $(LDFLAGS) -o newsfetch $(objs)
|
||||
|
||||
.c.o:
|
||||
$(CC) -c $(CFLAGS) $<
|
||||
@@ -17,5 +15,5 @@ clean:
|
||||
@@ -17,5 +16,5 @@ clean:
|
||||
rm -f *.o newsfetch
|
||||
|
||||
install:
|
||||
|
@ -1,15 +1,3 @@
|
||||
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.
|
||||
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.
|
||||
|
@ -1,3 +1,3 @@
|
||||
@comment $OpenBSD: PLIST,v 1.3 2004/09/15 18:21:21 espie Exp $
|
||||
bin/newsfetch
|
||||
@comment $OpenBSD: PLIST,v 1.4 2014/10/29 00:07:17 jca Exp $
|
||||
@bin bin/newsfetch
|
||||
@man man/man1/newsfetch.1
|
||||
|
Loading…
Reference in New Issue
Block a user