mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-06 01:57:40 +00:00
0a2ec00aa6
PR: ports/143181 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
44 lines
975 B
Makefile
44 lines
975 B
Makefile
# New ports collection makefile for: rotorouter
|
|
# Date created: Sat May 29 01:30:43 EDT 2004
|
|
# Whom: Paul Chvostek <paul@it.ca>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
# This port is self-contained in the src directory.
|
|
#
|
|
|
|
PORTNAME= rotorouter
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= net-mgmt
|
|
MASTER_SITES= # nada
|
|
DISTFILES= # nil
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Traceroute attempt logger and result spoofer
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
USE_RC_SUBR= rotorouter
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
do-extract:
|
|
${MKDIR} ${WRKSRC}/src
|
|
${CP} ${FILESDIR}/rotorouter.c ${WRKSRC}/src
|
|
|
|
do-build:
|
|
${CC} -lpcap -o ${WRKSRC}/src/rotorouter ${WRKSRC}/src/rotorouter.c
|
|
|
|
do-install:
|
|
@${INSTALL_DATA} -m 640 ${FILESDIR}/rotorouter.conf-example ${PREFIX}/etc
|
|
@${INSTALL_DATA} -m 640 ${FILESDIR}/rotorouter.conf-example ${PREFIX}/etc/rotorouter.conf
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/src/rotorouter ${PREFIX}/sbin
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|