e1c4707bab
- move 1.0 obsoleted version to net/libnet10 net/libnet is latest Stable Version net/libnet is latest Beta Version - Fix all depended ports with a new DEPENDS scheme - While I'm here fix security/yersinia build on 4.x (getopt_long and ncurses issues) PR: ports/85519 (based on) Submitted by: Stas Yakovlev <stas.yakovlev_at_gmail.com>
36 lines
863 B
Makefile
36 lines
863 B
Makefile
# New ports collection makefile for: vida
|
|
# Date created: Thu Apr 17 11:22:35 GMT 2003
|
|
# Whom: mich@freebsdcluster.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= vida
|
|
PORTVERSION= 0.7.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://vidatapipe.sourceforge.net/
|
|
|
|
MAINTAINER= mich@FreeBSD.org
|
|
COMMENT= Vida is a multi-datapipe handler
|
|
|
|
BUILD_DEPENDS= libnet*<=1.1.0,1:${PORTSDIR}/net/libnet10
|
|
|
|
LDFLAGS+= -pthread -lncurses -lpcap -lnet
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && \
|
|
${CC} -I${LOCALBASE}/include -L${LOCALBASE}/lib ${CFLAGS} vida.c funz.c dnshijacking.c \
|
|
${LDFLAGS} `libnet-config --defines` -o ${PORTNAME}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/vida.1.gz ${PREFIX}/man/man1/
|
|
|
|
MAN1= vida.1
|
|
MANCOMPRESSED= yes
|
|
PLIST_FILES= bin/vida
|
|
|
|
.include <bsd.port.mk>
|