freebsd-ports/dns/dnshijacker/Makefile
Edwin Groothuis 082d147558 Install README as stated in the PLISTDOCS variable
Noticed by: krion / test of ports/75379
2005-02-05 22:55:44 +00:00

35 lines
826 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= 1
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
PORTDOCS= README
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
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.include <bsd.port.mk>