aboutsummaryrefslogblamecommitdiff
path: root/net/recvnet/Makefile
blob: 14ebc2db927a7f86861b42983f22443e6d698859 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                
           


                       
                 
                   
                                                   
                            
 
                                  

                                                                                   


                                     
                               
 
                                            
                         







                                                                             
                                                                         

                      
# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$

PORTNAME=	recvnet
PORTVERSION=	0.0.1
PORTREVISION=	1
CATEGORIES=	net
MASTER_SITES=	https://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>