diff options
Diffstat (limited to 'japanese/kbanner/files/patch-Makefile')
-rw-r--r-- | japanese/kbanner/files/patch-Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/japanese/kbanner/files/patch-Makefile b/japanese/kbanner/files/patch-Makefile new file mode 100644 index 000000000000..4d816ca8cde9 --- /dev/null +++ b/japanese/kbanner/files/patch-Makefile @@ -0,0 +1,30 @@ +--- Makefile.orig Tue Jul 13 02:06:57 2004 ++++ Makefile Thu Apr 14 18:01:24 2005 +@@ -1,21 +1,20 @@ + SHELL = /bin/sh +-DESTDIR = /usr/local/bin +-MANUAL = /usr/local/man/man1/kbanner.1 +-CFLAGS = -O ++DESTDIR = ++MANUAL = ${PREFIX}/man/man1/kbanner.1 + OBJ = kbanner.o font1.o font2.o font3.o + + .SUFFIXES: .c .o + + .c.o: +- cc -c $(CFLAGS) $< ++ ${CC} -c $(CFLAGS) $< + + kbanner: $(OBJ) +- cc $(OBJ) -o kbanner ++ ${CC} $(OBJ) -o kbanner + strip kbanner + + clean: + rm -f *.o core + + install: kbanner +- cp kbanner $(DESTDIR)/ +- cp kbanner.1 $(MANUAL) ++ ${BSD_INSTALL_PROGRAM} kbanner $(DESTDIR)/$(PREFIX)/bin ++ ${BSD_INSTALL_MAN} kbanner.1 $(DESTDIR)$(MANUAL) |