1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/net/spoofer/Makefile
Andrew Pantyukhin d293b9db16 - De-4.x-ify most of my ports to save gnats from excessive abuse
- s/CSME/CENKES/ in my ports
2007-04-18 08:01:25 +00:00

39 lines
825 B
Makefile

# New ports collection makefile for: spoofer
# Date created: 6 February 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= spoofer
PORTVERSION= 0.5
CATEGORIES= net
MASTER_SITES= http://spoofer.csail.mit.edu/ CENKES
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= ANA Spoofer Project testing software
PLIST_FILES= bin/spoofer
PORTDOCS= README CHANGES
SRC= spoofer.c util.c trace.c net.c
CFLAGS+= -D_FBSD
do-build:
.for f in ${SRC}
${CC} ${CFLAGS} -c ${WRKSRC}/${f} -o ${WRKSRC}/${f:C/\.c$/.o/}
.endfor
${CC} ${SRC:C/(.*)\.c$/${WRKSRC}\/\1.o/} -o ${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>