opnsense-ports/sysutils/cdeploy/files/patch-Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

14 lines
527 B
Text

--- 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
+ $(BSD_INSTALL_SCRIPT) cdeploy.sh $(DESTDIR)$(PREFIX)/sbin/cdeploy
+ $(BSD_INSTALL_MAN) cdeploy.1 $(DESTDIR)$(PREFIX)/man/man1/cdeploy.1
deinstall:
rm -f /usr/local/sbin/cdeploy