diff --git a/sysutils/monitord/Makefile b/sysutils/monitord/Makefile index da789bc3c28c..4d939b9787f1 100644 --- a/sysutils/monitord/Makefile +++ b/sysutils/monitord/Makefile @@ -1,19 +1,19 @@ PORTNAME= monitord PORTVERSION= 0.4.1 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= sysutils MASTER_SITES= http://lissyara.su/distfiles/ MAINTAINER= ports@FreeBSD.org COMMENT= Service that restarts other standalone services LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/COPYRIGHT USE_RC_SUBR= monitord post-install: ${INSTALL_DATA} ${WRKSRC}/monitord.conf.sample \ ${STAGEDIR}${PREFIX}/etc/monitord.conf.sample .include diff --git a/sysutils/monitord/files/patch-Makefile b/sysutils/monitord/files/patch-Makefile index 0c4b13965749..b6f5876be9f5 100644 --- a/sysutils/monitord/files/patch-Makefile +++ b/sysutils/monitord/files/patch-Makefile @@ -1,33 +1,33 @@ --- Makefile.orig 2003-08-21 22:36:42 UTC +++ Makefile @@ -6,14 +6,14 @@ OBJECTS = monitord.o mail.o TARGET = monitord -MANDIR = /usr/local/man -+MANDIR = $(PREFIX)/man ++MANDIR = $(PREFIX)/share/man .SUFFIXES: .SUFFIXES: .c .o .c.o: - $(CC) $(CFLAGS) -c -pipe -Wall $< + $(CC) $(CFLAGS) -c -Wall $< $(TARGET): $(OBJECTS) $(CC) $(OBJECTS) -o $(TARGET) @@ -24,10 +24,8 @@ clean: all: $(TARGET) -$(TARGET): $(OBJECTS) - $(CC) $(OBJECTS) -o $(TARGET) install: - $(INSTALL) -cs $(TARGET) /usr/local/sbin - $(INSTALL) -c $(TARGET).conf.sample /usr/local/etc - $(INSTALL) -c $(TARGET).8 $(MANDIR)/man8 + $(INSTALL) -cs $(TARGET) $(DESTDIR)$(PREFIX)/sbin + $(INSTALL) -c $(TARGET).conf.sample $(DESTDIR)$(PREFIX)/etc + $(INSTALL) -c $(TARGET).8 $(DESTDIR)$(MANDIR)/man8 diff --git a/sysutils/monitord/pkg-plist b/sysutils/monitord/pkg-plist index 54d212d8018f..300bc68cba7d 100644 --- a/sysutils/monitord/pkg-plist +++ b/sysutils/monitord/pkg-plist @@ -1,3 +1,3 @@ @sample etc/monitord.conf.sample -man/man8/monitord.8.gz +share/man/man8/monitord.8.gz sbin/monitord