openbsd-ports/security/despoof/Makefile
2010-11-26 14:56:14 +00:00

38 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.15 2010/11/26 14:56:15 espie Exp $
COMMENT= command-line anti-spoofing detection utility
DISTNAME= despoof-0.9
REVISION = 2
CATEGORIES= security
MASTER_SITES= http://www.bindview.com/Resources/RAZOR/Files/ \
${MASTER_SITE_PACKETSTORM:=UNIX/misc/}
EXTRACT_SUFX= .tgz
HOMEPAGE= http://www.bindview.com/Services/RAZOR/Utilities/Unix_Linux/despoof_readme.cfm
MAINTAINER= Brian Caswell <bmc@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c pcap lib/libnet-1.0/net=0
LIB_DEPENDS= net/libnet/1.0
MAKE_FLAGS+= CC='${CC}' CFLAGS='${CFLAGS}' \
DEFS='-I${LOCALBASE}/include/libnet-1.0 `libnet-config-1.0 --defines`' \
LIBS='-L${LOCALBASE}/lib/libnet-1.0 -lnet -lpcap'
NO_REGRESS= Yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/despoof ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/despoof
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/despoof
${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/despoof
.include <bsd.port.mk>