aboutsummaryrefslogtreecommitdiff
path: root/net/tdetect/Makefile
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>1999-11-01 01:07:57 +0000
committerMichael Haro <mharo@FreeBSD.org>1999-11-01 01:07:57 +0000
commit384d2bda4ea71dec7c41e8a0730dfe7db46b0e89 (patch)
tree9a91b0446ac88c683ad846da1bd67463d9bc607b /net/tdetect/Makefile
parentef98446fdcb71cd73302077d217425b2a520c127 (diff)
downloadports-384d2bda4ea71dec7c41e8a0730dfe7db46b0e89.tar.gz
ports-384d2bda4ea71dec7c41e8a0730dfe7db46b0e89.zip
Notes
Diffstat (limited to 'net/tdetect/Makefile')
-rw-r--r--net/tdetect/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/net/tdetect/Makefile b/net/tdetect/Makefile
index 72018a1293d4..f414b326c967 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>