1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/dns/checkdns/files/patch-Makefile
Martin Wilke 445b9dc0e5 - Save user's checkdns.conf and install checkdns.conf-dist.
- Respect NOPORTDOCS and install docs to DOCSDIR.

- Install missing checkdns.css.
- Don't install uninstall.sh.

PR:		ports/105364
Submitted by:	TAOKA Fumiyoshi <fmysh@iijmio-mail.jp>
Approved by:	maintainer timeout
                xride (is holder of this pr)
2006-12-09 11:40:51 +00:00

26 lines
607 B
Plaintext

--- 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