head	1.5;
access;
symbols
	RELEASE_8_3_0:1.4
	RELEASE_9_0_0:1.4
	RELEASE_7_4_0:1.4
	RELEASE_8_2_0:1.4
	RELEASE_6_EOL:1.4
	RELEASE_8_1_0:1.4
	RELEASE_7_3_0:1.4
	RELEASE_8_0_0:1.4
	RELEASE_7_2_0:1.4
	RELEASE_7_1_0:1.4
	RELEASE_6_4_0:1.4
	RELEASE_5_EOL:1.4
	RELEASE_7_0_0:1.4
	RELEASE_6_3_0:1.4
	PRE_XORG_7:1.4
	RELEASE_4_EOL:1.3
	RELEASE_6_2_0:1.3
	RELEASE_6_1_0:1.3
	RELEASE_5_5_0:1.3
	RELEASE_6_0_0:1.2
	RELEASE_5_4_0:1.2
	RELEASE_4_11_0:1.2
	RELEASE_5_3_0:1.2
	RELEASE_4_10_0:1.2
	RELEASE_5_2_1:1.1
	RELEASE_5_2_0:1.1
	RELEASE_4_9_0:1.1
	RELEASE_5_1_0:1.1;
locks; strict;
comment	@# @;


1.5
date	2012.11.17.06.01.22;	author svnexp;	state Exp;
branches;
next	1.4;

1.4
date	2007.01.31.14.09.54;	author pav;	state Exp;
branches;
next	1.3;

1.3
date	2005.11.14.17.07.05;	author sem;	state Exp;
branches;
next	1.2;

1.2
date	2004.02.06.13.12.20;	author trevor;	state Exp;
branches;
next	1.1;

1.1
date	2003.05.15.13.59.37;	author mich;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Switch exporter over
@
text
@# New ports collection makefile for:   vida
# Date created:        Thu Apr 17 11:22:35 GMT 2003
# Whom:                mich@@freebsdcluster.org
#
# $FreeBSD: head/security/vida/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	vida
PORTVERSION=	0.7.1
PORTREVISION=	2
CATEGORIES=	security
MASTER_SITES=	http://vidatapipe.sourceforge.net/

MAINTAINER=	mich@@FreeBSD.org
COMMENT=	Vida is a multi-datapipe handler

BUILD_DEPENDS=	${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10

LDFLAGS+=	${PTHREAD_LIBS} -lncurses -lpcap `${LIBNET_CONFIG} --libs`

WRKSRC=		${WRKDIR}/${PORTNAME}

LIBNET_CONFIG?=	${LOCALBASE}/bin/libnet10-config

do-build:
	cd ${WRKSRC} && \
	${CC} `${LIBNET_CONFIG} --defines --cflags` ${CFLAGS} \
	vida.c funz.c dnshijacking.c ${LDFLAGS} -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>
@


1.4
log
@- Patch net/libnet* to versioned libraries and header files, so they can
  coexist

PR:		ports/103861
Submitted by:	alepulver
Tested by:	pointyhat
With hat:	portmgr
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.3
log
@libnet update:
- 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>
@
text
@d10 1
a10 1
PORTREVISION=	1
d17 1
a17 1
BUILD_DEPENDS=	libnet*<=1.1.0,1:${PORTSDIR}/net/libnet10
d19 1
a19 1
LDFLAGS+=	-pthread -lncurses -lpcap -lnet
d23 2
d27 2
a28 2
	${CC} -I${LOCALBASE}/include -L${LOCALBASE}/lib ${CFLAGS} vida.c funz.c dnshijacking.c \
	${LDFLAGS} `libnet-config --defines` -o ${PORTNAME}
@


1.2
log
@Use PLIST_FILES (bento-tested, marcus-reviewed).
@
text
@d10 1
d17 1
a17 1
BUILD_DEPENDS=	${LOCALBASE}/include/libnet.h:${PORTSDIR}/net/libnet
@


1.1
log
@New port.
Vida is a multi-datapipe handler, written in C with ncurses library,
for unix and unix-like OS.

PR:		51086
Approved by:	roberto(mentor)
@
text
@d33 2
@

