diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-02-01 19:13:12 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-02-01 19:13:12 +0000 |
commit | ea9a60dab2b7bd3055c23f55f49d03a199f46bee (patch) | |
tree | 35583e4022d0fff7baf40074ba328847cfcdae06 /news | |
parent | a1f78b15f79bf505f258f87b1066b66e2ffe7c26 (diff) |
Notes
Diffstat (limited to 'news')
-rw-r--r-- | news/newsfetch/Makefile | 12 | ||||
-rw-r--r-- | news/newsfetch/files/patch-aa | 30 |
2 files changed, 11 insertions, 31 deletions
diff --git a/news/newsfetch/Makefile b/news/newsfetch/Makefile index bce2f0cbe5f7..5171279c821d 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 227d245f1510..000000000000 --- 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 |