# New ports collection makefile for: despoof # Date created: 02 September 2000 # Whom: Kris Kennaway # # $FreeBSD$ # PORTNAME= despoof PORTVERSION= 0.9 PORTREVISION= 3 CATEGORIES= net security MASTER_SITES= ${MASTER_SITE_PACKETSTORM} MASTER_SITE_SUBDIR= UNIX/misc EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= Command-line anti-spoofing detection utility BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10 LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config post-patch: @${REINPLACE_CMD} -e \ 's|-I$${LOCALBASE}/include ||; \ s|-L$${LOCALBASE}/lib ||; \ s|--defines|& --cflags|; \ s|libnet-config|${LIBNET_CONFIG}|; \ s|-lnet |`${LIBNET_CONFIG} --libs` |' \ ${WRKSRC}/${MAKEFILE} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/despoof ${PREFIX}/bin .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif .include