mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
Use the proper script to install scripts.
This commit is contained in:
parent
3acf65bd2b
commit
79b1a6f758
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=209599
@ -18,7 +18,10 @@ BUILD_DEPENDS= isc-config.sh:${PORTSDIR}/dns/bind9
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
|
||||
PLIST_FILES= bin/dnsperf bin/resperf bin/resperf-report
|
||||
MAKE_ENV= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
|
||||
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
|
||||
INSTALL_DATA="${INSTALL_DATA}"
|
||||
PLIST_FILES= bin/dnsperf bin/resperf bin/resperf-report
|
||||
MAN1= dnsperf.1 resperf.1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
22
dns/dnsperf/files/patch-Makefile.in
Normal file
22
dns/dnsperf/files/patch-Makefile.in
Normal file
@ -0,0 +1,22 @@
|
||||
--- Makefile.in.orig 2006-12-22 08:58:01.000000000 +1100
|
||||
+++ Makefile.in 2008-03-23 08:34:53.000000000 +1100
|
||||
@@ -6,8 +6,8 @@
|
||||
mandir = @prefix@/man
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
-INSTALL_DATA = @INSTALL_DATA@
|
||||
+#INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
+#INSTALL_DATA = @INSTALL_DATA@
|
||||
|
||||
|
||||
CC = @CC@
|
||||
@@ -41,7 +41,7 @@
|
||||
install: all installdirs
|
||||
${INSTALL_PROGRAM} dnsperf ${DESTDIR}${bindir}
|
||||
${INSTALL_PROGRAM} resperf ${DESTDIR}${bindir}
|
||||
- ${INSTALL_PROGRAM} resperf-report ${DESTDIR}${bindir}
|
||||
+ ${INSTALL_SCRIPT} resperf-report ${DESTDIR}${bindir}
|
||||
${INSTALL_DATA} dnsperf.1 ${DESTDIR}${mandir}/man1
|
||||
${INSTALL_DATA} resperf.1 ${DESTDIR}${mandir}/man1
|
||||
|
Loading…
Reference in New Issue
Block a user