summaryrefslogtreecommitdiff
path: root/sysutils/geomWatch/files/patch-Makefile
blob: be85e79d4093dd2743e2bac0556d5b7ac9453a3b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- Makefile.orig	2014-06-27 09:35:09.376925204 +0800
+++ Makefile	2014-06-27 09:35:32.058892336 +0800
@@ -51,8 +51,8 @@ geomWatch: ${FILES}
 	${CXX} ${OPTIONS} -o geomWatch geomWatch.cpp
 
 install:
-	install -s -o root -g wheel -m 755 geomWatch ${PREFIX}/sbin
-	install -o root -g wheel -m 400 geomWatch.conf.sample ${PREFIX}/etc
+	$(BSD_INSTALL_PROGRAM) geomWatch $(DESTDIR)${PREFIX}/sbin
+	$(BSD_INSTALL_DATA) -m 400 geomWatch.conf.sample $(DESTDIR)${PREFIX}/etc
 
 clean:
 	rm -f geomWatch