blob: dba847814d07cf3c5958dd00369645e2e8bf0c74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# 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= ncurses tar:tgz
CFLAGS+= -DVERSION=\"${PORTVERSION}\"
LDFLAGS+= -lncurses
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>
|