1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00
freebsd-ports/dns/dnshijacker/Makefile
Jean-Yves Lefort 693ba532be - Fix the checksum of spoofed packets
- Honor NOPORTDOCS

PR:		ports/80161
Submitted by:	David Thiel <lx@redundancy.redundancy.org> (maintainer)
Approved by:	adamw (mentor)
2005-04-21 13:29:42 +00:00

41 lines
891 B
Makefile

# New ports collection makefile for: dnshijacker
# Date created: 2004-10-19
# Whom: lx@redundancy.redundancy.org
#
# $FreeBSD$
#
PORTNAME= dnshijacker
PORTVERSION= 1.3
PORTREVISION= 2
CATEGORIES= dns security
MASTER_SITES= http://pedram.redhive.com/downloads/
MAINTAINER= lx@redundancy.redundancy.org
COMMENT= A tool to hijack DNS requests
BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
LDFLAGS+= -lpcap -lnet
PLIST_FILES= bin/dnshijacker
.if !defined(NOPORTDOCS)
PORTDOCS= README
.endif
do-build:
cd ${WRKSRC} && \
${CC} ${PORTNAME}.c ${CFLAGS} -I${LOCALBASE}/include \
-L${LOCALBASE}/lib ${LDFLAGS} `libnet-config --defines` \
`libnet-config --cflags` -o ${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dnshijacker ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>