freebsd-ports/net/recvnet/Makefile
2013-10-23 13:50:35 +00:00

26 lines
640 B
Makefile

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= recvnet
PORTVERSION= 0.0.1
CATEGORIES= net
MASTER_SITES= http://www.vanheusden.com/Linux/ \
CRITICAL
EXTRACT_SUFX= .tgz
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Recvnet (inverse telnet) is a utility for debugging tcp connections
CFLAGS+= -DVERSION=\"${PORTVERSION}\"
LDFLAGS+= -lcurses
PLIST_FILES= bin/recvnet
do-build:
${CC} ${CFLAGS} -c ${WRKSRC}/${PORTNAME}.c -o ${WRKSRC}/${PORTNAME}.o
${CC} ${LDFLAGS} ${WRKSRC}/${PORTNAME}.o -o ${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>