openbsd-ports/archivers/arc/patches/patch-Makefile

25 lines
632 B
Plaintext
Raw Normal View History

--- Makefile.orig Tue Apr 14 18:57:58 1992
+++ Makefile Tue Feb 8 22:23:59 2000
@@ -39,7 +39,7 @@
CC = cc
# tmclock is only needed on Unix systems...
-TMCLOCK = tmclock.o
+TMCLOCK = #tmclock.o
# Files needed for System V
#SYSVOBJ = getwd.o rename.o scandir.o utimes.o
@@ -61,6 +61,12 @@
clean:
-rm *.o arc$(PROG) marc$(PROG)
+
+install:
+ $(BSD_INSTALL_DATA_DIR) ${PREFIX}/share/doc/arc
+ $(BSD_INSTALL_PROGRAM) arc marc ${PREFIX}/bin
+ $(BSD_INSTALL_MAN) arc.1 ${PREFIX}/man/man1
+ $(BSD_INSTALL_DATA) Arc521.doc Arcinfo ${PREFIX}/share/doc/arc
arc.o: $(SRCDIR)arc.c $(HEADER)
$(CC) $(CFLAGS) -c $(SRCDIR)arc.c