1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/net/recvnet/Makefile
2015-01-06 09:39:16 +00:00

32 lines
709 B
Makefile

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= recvnet
PORTVERSION= 0.0.1
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.vanheusden.com/Linux/ \
LOCAL/ehaupt
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Recvnet (inverse telnet) is a utility for debugging tcp connections
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/license.txt
USES= tar:tgz
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>