openbsd-ports/security/despoof/Makefile
mjc 5e5f75b247 cope with new libnet port
ok pvalchev@ msf@
2005-05-24 00:13:31 +00:00

38 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.9 2005/05/24 00:14:28 mjc Exp $
COMMENT= "command-line anti-spoofing detection utility"
DISTNAME= despoof-0.9
PKGNAME= ${DISTNAME}p0
CATEGORIES= security
MASTER_SITES= http://razor.bindview.com/tools/files/ \
${MASTER_SITE_PACKETSTORM:=UNIX/misc/}
EXTRACT_SUFX= .tgz
HOMEPAGE= http://razor.bindview.com/tools/desc/despoof_readme.html
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_DEPENDS= lib/libnet-1.0/net.=0:libnet-1.0*: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>