--- relayctl/Makefile.orig	Tue Jan  9 09:45:32 2007
+++ relayctl/Makefile	Wed Jun  6 18:58:57 2007
@@ -8,9 +8,16 @@
 MAN=		relayctl.8
 
 CFLAGS+=	-Wall -Werror -I${.CURDIR} -I${.CURDIR}/../relayd
+CFLAGS+=	-I${PREFIX}/include -D__dead=''
 CFLAGS+=	-Wstrict-prototypes -Wmissing-prototypes
 CFLAGS+=	-Wmissing-declarations
 CFLAGS+=	-Wshadow -Wpointer-arith -Wcast-qual
-CFLAGS+=	-Wsign-compare -Wbounded
+CFLAGS+=	-Wsign-compare
+
+install:
+	$(INSTALL) -m 555 -g wheel -o root relayctl $(PREFIX)/sbin
+
+install-man:
+	$(INSTALL) -o root -g wheel -m 444 relayctl.8 $(PREFIX)/man/man8
 
 .include <bsd.prog.mk>
