opnsense-ports/dns/checkdns/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

25 lines
607 B
Text

--- Makefile.orig Fri Nov 10 00:41:08 2006
+++ Makefile Fri Nov 10 00:41:25 2006
@@ -9,7 +9,15 @@
$(CC) -o checkdns $(OBJS)
install:
- cp checkdns /usr/local/bin/checkdns
+ cp checkdns ${PREFIX}/bin/checkdns
+ chown root ${PREFIX}/bin/checkdns
+ chmod 700 ${PREFIX}/bin/checkdns
+ cp -pf checkdns.conf-dist ${PREFIX}/etc/
+ mkdir -p ${PREFIX}/share/checkdns/lang
+ cp -f checkdns.css ${PREFIX}/share/checkdns
+ cp -f lang/* ${PREFIX}/share/checkdns/lang
+
+
clean:
rm -f $(OBJS) checkdns
@@ -17,4 +25,4 @@
uninstall: clean
rm /usr/local/bin/checkdns
-all: compile install clean
+all: compile