summaryrefslogtreecommitdiffstats
path: root/net/ipfw-graph/files/patch-Makefile
blob: 6c2315283ebbb2c1bf13b1cf7baa5e627446e3be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- Makefile.orig	Thu Nov 22 23:12:38 2001
+++ Makefile	Fri Nov 23 00:33:25 2001
@@ -2,7 +2,6 @@
 # $Id: Makefile,v 1.10 2001/11/23 04:09:03 mavetju Exp $
 #
 
-GTK_CONFIG ?= gtk12-config
 
 OPT_C	= -c -Wall -g $(CFLAGS)
 OPT_L	= -g
@@ -39,7 +38,8 @@
 	rm /usr/local/man/man8/ipfw-graph.8
 
 install:
-	install -o root -g wheel -m 4755 ipfw-al /usr/local/bin
-	install -o root -g wheel -m 0755 ipfw-graph /usr/local/bin
-	install -o root -g wheel -m 0644 ipfw-al.8 /usr/local/man/man8
-	install -o root -g wheel -m 0644 ipfw-graph.8 /usr/local/man/man8
+	${BSD_INSTALL_PROGRAM} ipfw-al ${PREFIX}/bin
+	chmod u+s ${PREFIX}/bin/ipfw-al
+	${BSD_INSTALL_PROGRAM} ipfw-graph ${PREFIX}/bin
+	${BSD_INSTALL_MAN} ipfw-al.8 ${MANPREFIX}/man/man8
+	${BSD_INSTALL_MAN} ipfw-graph.8 ${MANPREFIX}/man/man8
OpenPOWER on IntegriCloud