diff options
author | sada <sada@FreeBSD.org> | 1999-07-11 04:08:06 +0800 |
---|---|---|
committer | sada <sada@FreeBSD.org> | 1999-07-11 04:08:06 +0800 |
commit | 9cd71009724fd4e6438b95d5e70adbfea1e38575 (patch) | |
tree | 9fceed0cffed026161de866684d107a62f2c181c /net | |
parent | 974e525a3c8e5a53f09cd7004d11206f5767d5d1 (diff) | |
download | freebsd-ports-graphics-9cd71009724fd4e6438b95d5e70adbfea1e38575.tar.gz freebsd-ports-graphics-9cd71009724fd4e6438b95d5e70adbfea1e38575.tar.zst freebsd-ports-graphics-9cd71009724fd4e6438b95d5e70adbfea1e38575.zip |
Some portlints.
PR: ports/12201
Submitted by: Nick Hibma <nick.hibma@jrc.it>
Diffstat (limited to 'net')
-rw-r--r-- | net/wide-dhcp/Makefile | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/net/wide-dhcp/Makefile b/net/wide-dhcp/Makefile index f19ff48f9e8..9e3074c1354 100644 --- a/net/wide-dhcp/Makefile +++ b/net/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> |