openbsd-ports/security/sentinel/Makefile

40 lines
1.1 KiB
Makefile
Raw Normal View History

2010-11-11 13:43:10 -05:00
# $OpenBSD: Makefile,v 1.17 2010/11/11 18:43:10 espie Exp $
COMMENT= remote promiscous mode detection tool
DISTNAME= sentinel-1.0
2010-11-11 13:43:10 -05:00
REVISION = 0
CATEGORIES= security net
HOMEPAGE= http://www.packetfactory.net/projects/sentinel/
MAINTAINER= Jason Peel <jsyn@openbsd.org>
PERMIT_PACKAGE_CDROM= no license
PERMIT_PACKAGE_FTP= no license
PERMIT_DISTFILES_CDROM= no license
PERMIT_DISTFILES_FTP= no license
2010-11-11 13:43:10 -05:00
WANTLIB= c pcap pthread lib/libnet-1.0/net.=0
MASTER_SITES= http://www.packetfactory.net/projects/sentinel/ \
2002-05-13 03:54:09 -04:00
${MASTER_SITE_PACKETSTORM:=UNIX/IDS/sentinel/}
2010-11-11 13:43:10 -05:00
LIB_DEPENDS= :libnet->=1.0,<1.1:net/libnet/1.0
WRKDIST= ${WRKDIR}/sentinel
ALL_TARGET= sentinel
MAKE_FLAGS= CC="${CC}" CFLAGS='${CFLAGS} -Wall -I. \
-I${LOCALBASE}/include/libnet-1.0 `libnet-config-1.0 --defines`' \
LIBS="-lnet -L${LOCALBASE}/lib/libnet-1.0 -lpcap -pthread"
NO_REGRESS= Yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sentinel ${PREFIX}/bin/sentinel
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sentinel
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/sentinel
.include <bsd.port.mk>