1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/net/tdetect/Makefile
Pawel Pekala 5745335656 - Add MASTER_SITES
- Use ECHO_MSG, SUB_FILES
- Switch to PLIST_FILES

PR:             ports/172043
Submitted by:   KATO Tsuguru <tkato432@yahoo.com>
Feature safe:   yes
2012-11-10 14:52:33 +00:00

30 lines
812 B
Makefile

# Created by: shipley@dis.org
# $FreeBSD$
PORTNAME= tdetect
PORTVERSION= 0.2
CATEGORIES= net
MASTER_SITES= PACKETSTORM/UNIX/loggers
MAINTAINER= ports@FreeBSD.org
COMMENT= Utility for detecting traceroutes and reporting them via syslog
PLIST_FILES= sbin/tdetect etc/rc.d/tdetect.sh
SUB_FILES= pkg-message
pre-configure:
@${REINPLACE_CMD} -e 's/trdetect/tdetect/g' ${WRKSRC}/config.h
@${REINPLACE_CMD} -e 's/LOG_AUTHPRIV/LOG_SECURITY/g' ${WRKSRC}/config.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tdetect ${PREFIX}/sbin/tdetect
post-install:
@if [ ! -f ${PREFIX}/etc/rc.d/tdetect.sh ]; then \
${ECHO_MSG} "Installing ${PREFIX}/etc/rc.d/tdetect.sh startup file."; \
${INSTALL_SCRIPT} -m 750 ${FILESDIR}/tdetect.sh ${PREFIX}/etc/rc.d/tdetect.sh; \
${CAT} ${PKGMESSAGE}; \
fi
.include <bsd.port.mk>