aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/cdeploy/files/patch-Makefile
blob: 8eb7240b7321264f8ec7a626d85aaf64b92e2838 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- Makefile.orig   2014-06-06 22:45:04.941118895 +0800
+++ Makefile    2014-06-06 22:45:42.650118186 +0800
@@ -5,9 +5,8 @@ all:
    chmod 0555 cdeploy
 
 install:
-   install -o root -g wheel -m 0555 cdeploy.sh /usr/local/sbin/cdeploy
-   install -o root -g wheel -m 0444 cdeploy.1 /usr/local/man/man1/cdeploy.1
-   gzip -f9 /usr/local/man/man1/cdeploy.1
+   install -o root -g wheel -m 0555 cdeploy.sh $(DESTDIR)$(PREFIX)/sbin/cdeploy
+   install -o root -g wheel -m 0444 cdeploy.1 $(DESTDIR)$(PREFIX)/man/man1/cdeploy.1
 
 deinstall:
    rm -f /usr/local/sbin/cdeploy