1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/dns/dnshijacker/Makefile
Sergey Matveychuk e1c4707bab libnet update:
- move 1.0 obsoleted version to net/libnet10
  net/libnet is latest Stable Version
  net/libnet is latest Beta Version

- Fix all depended ports with a new DEPENDS scheme

- While I'm here fix security/yersinia build on 4.x
  (getopt_long and ncurses issues)

PR:		ports/85519 (based on)
Submitted by:	Stas Yakovlev <stas.yakovlev_at_gmail.com>
2005-11-14 17:07:08 +00:00

41 lines
884 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= 3
CATEGORIES= dns security
MASTER_SITES= http://pedram.redhive.com/downloads/
MAINTAINER= lx@redundancy.redundancy.org
COMMENT= A tool to hijack DNS requests
BUILD_DEPENDS= libnet*<=1.1.0,1:${PORTSDIR}/net/libnet10
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>