eb81a88093
coexist PR: ports/103861 Submitted by: alepulver Tested by: pointyhat With hat: portmgr
40 lines
981 B
Makefile
40 lines
981 B
Makefile
# New ports collection makefile for: despoof
|
|
# Date created: 02 September 2000
|
|
# Whom: Kris Kennaway <kris@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= despoof
|
|
PORTVERSION= 0.9
|
|
PORTREVISION= 3
|
|
CATEGORIES= net security
|
|
MASTER_SITES= http://www.bindview.com/Resources/RAZOR/Files/ \
|
|
${MASTER_SITE_PACKETSTORM}
|
|
MASTER_SITE_SUBDIR= UNIX/misc
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= roam@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 <bsd.port.mk>
|