summaryrefslogtreecommitdiffstats
path: root/news/newsfetch
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-02-01 19:13:12 +0000
committerknu <knu@FreeBSD.org>2001-02-01 19:13:12 +0000
commitdaf3e2303a6ec1335e06e8094afa622673f1d484 (patch)
treeb94a19f8a6b34f3824944c60bc485d387161ba56 /news/newsfetch
parent3ea510acf68a8cc3608f881392657ba8e1272af6 (diff)
downloadFreeBSD-ports-daf3e2303a6ec1335e06e8094afa622673f1d484.zip
FreeBSD-ports-daf3e2303a6ec1335e06e8094afa622673f1d484.tar.gz
Take over the maintainership. I've once touched this port.
Create a clean BSD Makefile instead of modifying the original.
Diffstat (limited to 'news/newsfetch')
-rw-r--r--news/newsfetch/Makefile12
-rw-r--r--news/newsfetch/files/patch-aa30
2 files changed, 11 insertions, 31 deletions
diff --git a/news/newsfetch/Makefile b/news/newsfetch/Makefile
index bce2f0c..5171279 100644
--- a/news/newsfetch/Makefile
+++ b/news/newsfetch/Makefile
@@ -11,8 +11,18 @@ CATEGORIES= news
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= system/news/readers
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= knu@FreeBSD.org
+
+MAKE_ENV= BINDIR="${PREFIX}/bin" MANDIR="${PREFIX}/man/man"
MAN1= newsfetch.1
+MANCOMPRESSED= maybe
+
+do-configure:
+ cd ${WRKSRC} && ( \
+ ${ECHO} "PROG= newsfetch"; \
+ ${ECHO} "SRCS=" *.c; \
+ ${ECHO} ".include <bsd.prog.mk>"; \
+ ) > Makefile
.include <bsd.port.mk>
diff --git a/news/newsfetch/files/patch-aa b/news/newsfetch/files/patch-aa
deleted file mode 100644
index 227d245..0000000
--- a/news/newsfetch/files/patch-aa
+++ /dev/null
@@ -1,30 +0,0 @@
---- Makefile.orig Mon Apr 13 18:09:54 1998
-+++ Makefile Fri Jan 26 23:44:25 2001
-@@ -1,14 +1,16 @@
--CC = gcc
--CFLAGS =
-+#CC = gcc
-+#CFLAGS =
-
- #Uncomment this if you do not want status meter
- #CFLAGS = -DNO_STATUS_METER
-
- objs = newsfetch.o nntp.o net.o opt.o util.o getopt.o
-
-+all: newsfetch
-+
- newsfetch: $(objs)
- $(CC) -o newsfetch $(objs)
-- strip newsfetch
-+# strip newsfetch
-
- .c.o:
- $(CC) -c $(CFLAGS) $<
-@@ -17,5 +19,5 @@
- rm -f *.o newsfetch
-
- install:
-- cp newsfetch /usr/local/bin
-- cp newsfetch.1 /usr/man/man1
-+ ${BSD_INSTALL_PROGRAM} newsfetch ${PREFIX}/bin
-+ ${BSD_INSTALL_MAN} newsfetch.1 ${PREFIX}/man/man1
OpenPOWER on IntegriCloud