1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00
freebsd-ports/sysutils/monitord/files/patch-aa
Maxim Sobolev 13ac389a02 Update to the 0.2.0 version. Also make it use BSD_INSTALL_* macros and make
it PREFIX clean while I'm here.

PR:		19294
Submitted by:	W. M. Shandruk <walt@erudition.net>
2000-06-20 09:30:29 +00:00

22 lines
547 B
Plaintext

--- Makefile.orig Thu Jun 15 12:17:14 2000
+++ Makefile Tue Jun 20 12:28:02 2000
@@ -6,7 +6,7 @@
TARGET = monitord
-MANDIR = /usr/local/man
+MANDIR = $(PREFIX)/man
.SUFFIXES:
.SUFFIXES: .c .o
@@ -28,6 +28,6 @@
$(CC) $(OBJECTS) -o $(TARGET)
install:
- $(INSTALL) -cs $(TARGET) /usr/local/bin
- $(INSTALL) -c $(TARGET).conf /usr/local/etc
- $(INSTALL) -c $(TARGET).8 $(MANDIR)/man8
+ $(BSD_INSTALL_PROGRAM) $(TARGET) $(PREFIX)/bin
+ $(BSD_INSTALL_DATA) $(TARGET).conf $(PREFIX)/etc
+ $(BSD_INSTALL_MAN) -c $(TARGET).8 $(MANDIR)/man8