diff options
author | mharo <mharo@FreeBSD.org> | 1999-11-01 09:07:57 +0800 |
---|---|---|
committer | mharo <mharo@FreeBSD.org> | 1999-11-01 09:07:57 +0800 |
commit | dbf3c191c3547920a7aba36c2cda8abd5aae3e22 (patch) | |
tree | 031a48f8baab56c690ba25f4cd3454cee5e0d319 /net/tdetect | |
parent | b123adf8581a2862f1ba6332214d99e2fbc52009 (diff) | |
download | freebsd-ports-graphics-dbf3c191c3547920a7aba36c2cda8abd5aae3e22.tar.gz freebsd-ports-graphics-dbf3c191c3547920a7aba36c2cda8abd5aae3e22.tar.zst freebsd-ports-graphics-dbf3c191c3547920a7aba36c2cda8abd5aae3e22.zip |
move install message to pkg/MESSAGE and remove extra strip
Diffstat (limited to 'net/tdetect')
-rw-r--r-- | net/tdetect/Makefile | 6 | ||||
-rw-r--r-- | net/tdetect/pkg-message | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/net/tdetect/Makefile b/net/tdetect/Makefile index 72018a1293d..f414b326c96 100644 --- a/net/tdetect/Makefile +++ b/net/tdetect/Makefile @@ -28,17 +28,13 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tdetect ${PREFIX}/sbin/tdetect post-install: - strip ${PREFIX}/sbin/tdetect @if [ ! -f ${PREFIX}/etc/rc.d/tdetect.sh ]; then \ ${ECHO} "Installing ${PREFIX}/etc/rc.d/tdetect.sh startup file."; \ ${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/tdetect.sh; \ ${ECHO} "ETHERNETDEV=ed0" >> ${PREFIX}/etc/rc.d/tdetect.sh; \ ${ECHO} '[ -x ${PREFIX}/sbin/tdetect ] && ${PREFIX}/sbin/tdetect $$ETHERNETDEV && ${ECHO} -n " tdetect"' >> ${PREFIX}/etc/rc.d/tdetect.sh; \ ${CHMOD} 750 ${PREFIX}/etc/rc.d/tdetect.sh; \ - ${ECHO} ''; \ - ${ECHO} 'IMPORTANT edit ${PREFIX}/etc/rc.d/tdetect.sh and set "ETHERNETDEV" to'; \ - ${ECHO} "the name of the ethernetdev you wish to monitor"; \ - ${ECHO} ''; \ + ${SED} -e 's,/usr/local,${PREFIX},g' ${PKGMESSAGE}; \ fi .include <bsd.port.post.mk> diff --git a/net/tdetect/pkg-message b/net/tdetect/pkg-message index 6d0ac14bcc3..813a6b74208 100644 --- a/net/tdetect/pkg-message +++ b/net/tdetect/pkg-message @@ -1,6 +1,6 @@ IMPORTANT! -Dont forget to edit ${PREFIX}/etc/rc.d/tdetect.sh +Dont forget to edit /usr/local/etc/rc.d/tdetect.sh and set ETHERNETDEV to the name of the ethernet device you wish to monitor |