1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/security/vida/Makefile
Pav Lucistnik eb81a88093 - 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
2007-01-31 14:09:55 +00:00

39 lines
910 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= 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>