summaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorsada <sada@FreeBSD.org>1999-07-10 20:08:06 +0000
committersada <sada@FreeBSD.org>1999-07-10 20:08:06 +0000
commit9cd71009724fd4e6438b95d5e70adbfea1e38575 (patch)
tree9fceed0cffed026161de866684d107a62f2c181c /net-mgmt
parent974e525a3c8e5a53f09cd7004d11206f5767d5d1 (diff)
downloadFreeBSD-ports-9cd71009724fd4e6438b95d5e70adbfea1e38575.zip
FreeBSD-ports-9cd71009724fd4e6438b95d5e70adbfea1e38575.tar.gz
Some portlints.
PR: ports/12201 Submitted by: Nick Hibma <nick.hibma@jrc.it>
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/wide-dhcp/Makefile42
1 files changed, 21 insertions, 21 deletions
diff --git a/net-mgmt/wide-dhcp/Makefile b/net-mgmt/wide-dhcp/Makefile
index f19ff48..9e3074c 100644
--- a/net-mgmt/wide-dhcp/Makefile
+++ b/net-mgmt/wide-dhcp/Makefile
@@ -3,7 +3,7 @@
# Date created: 21 November 1995
# Whom: Yoshiro MIHIRA <sanpei@yy.cs.keio.ac.jp>
#
-# $Id: Makefile,v 1.14 1998/12/05 11:24:05 obrien Exp $
+# $Id: Makefile,v 1.15 1999/02/07 19:46:12 obrien Exp $
#
DISTNAME= dhcp-1.4.0p5
@@ -40,35 +40,35 @@ post-install:
@${CP} ${WRKSRC}/db_sample/intro.dhcp.jis ${PREFIX}/share/doc/dhcp/
.endif
@if [ ! -f ${STARTUP_SCRIPT} ]; then \
- echo "Installing ${STARTUP_SCRIPT} startup file."; \
- echo '#!/bin/sh' > ${STARTUP_SCRIPT}; \
- echo 'DB_POOL=/etc/dhcpdb.pool' >> ${STARTUP_SCRIPT}; \
- echo 'DB_RELAY=/etc/dhcpdb.relay' >> ${STARTUP_SCRIPT}; \
- echo 'DB_BIND=/var/db/dhcpdb.bind' >> ${STARTUP_SCRIPT};\
- echo 'if [ -f $${DB_POOL} -a -f $${DB_RELAY} \'\
+ ${ECHO} "Installing ${STARTUP_SCRIPT} startup file."; \
+ ${ECHO} '#!/bin/sh' > ${STARTUP_SCRIPT}; \
+ ${ECHO} 'DB_POOL=/etc/dhcpdb.pool' >> ${STARTUP_SCRIPT}; \
+ ${ECHO} 'DB_RELAY=/etc/dhcpdb.relay' >> ${STARTUP_SCRIPT}; \
+ ${ECHO} 'DB_BIND=/var/db/dhcpdb.bind' >> ${STARTUP_SCRIPT};\
+ ${ECHO} 'if [ -f $${DB_POOL} -a -f $${DB_RELAY} \'\
>> ${STARTUP_SCRIPT}; \
- echo ' -a -x /usr/local/sbin/dhcps ]; then' \
+ ${ECHO} ' -a -x ${PREFIX}/sbin/dhcps ]; then' \
>> ${STARTUP_SCRIPT}; \
- echo ' if [ -f $${DB_BIND} ]; then' >> ${STARTUP_SCRIPT};\
- echo ' find $${DB_POOL} -newer $${DB_BIND} -exec rm $${DB_BIND} \;'\
+ ${ECHO} ' if [ -f $${DB_BIND} ]; then' >> ${STARTUP_SCRIPT};\
+ ${ECHO} ' find $${DB_POOL} -newer $${DB_BIND} -exec ${RM} $${DB_BIND} \;'\
>> ${STARTUP_SCRIPT}; \
- echo ' fi' >> ${STARTUP_SCRIPT}; \
- echo " ${PREFIX}/sbin/dhcps [Interface Name]" \
+ ${ECHO} ' fi' >> ${STARTUP_SCRIPT}; \
+ ${ECHO} " ${PREFIX}/sbin/dhcps [Interface Name]" \
>> ${STARTUP_SCRIPT}; \
- echo " echo -n ' dhcps'" \
+ ${ECHO} " ${ECHO} -n ' dhcps'" \
>> ${STARTUP_SCRIPT}; \
- echo 'fi' >> ${STARTUP_SCRIPT}; \
+ ${ECHO} 'fi' >> ${STARTUP_SCRIPT}; \
chmod 755 ${STARTUP_SCRIPT}; \
chown bin.bin ${STARTUP_SCRIPT}; \
fi
@if [ ! -c /dev/bpf1 ]; then \
- echo "**********************************************************";\
- echo "* W a r n i n g *";\
- echo "* This DHCP program needs Berkeley packet filter (bpf). *";\
- echo "* To use DHCP, your kernel must be rebuilt with bpf, and *";\
- echo "* make bpf devices on /dev directory. *";\
- echo "* Please read some info file with \`pkg_info ${PKGNAME}'. *";\
- echo "**********************************************************";\
+ ${ECHO} "**********************************************************";\
+ ${ECHO} "* W a r n i n g *";\
+ ${ECHO} "* This DHCP program needs Berkeley packet filter (bpf). *";\
+ ${ECHO} "* To use DHCP, your kernel must be rebuilt with bpf, and *";\
+ ${ECHO} "* make bpf devices on /dev directory. *";\
+ ${ECHO} "* Please read some info file with \`pkg_info ${PKGNAME}'. *";\
+ ${ECHO} "**********************************************************";\
fi
.include <bsd.port.mk>
OpenPOWER on IntegriCloud