1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-06 22:51:41 +00:00
freebsd-ports/news/newsfetch/files/patch-aa

25 lines
492 B
Plaintext
Raw Normal View History

--- Makefile.orig Mon Mar 9 14:20:31 1998
+++ Makefile Sat Apr 4 21:36:42 1998
@@ -1,11 +1,11 @@
CC = gcc
-CFLAGS =
1997-09-12 18:33:08 +00:00
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 +14,5 @@
1997-09-12 18:33:08 +00:00
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