freebsd-ports/net/ipgrab/Makefile
Emanuel Haupt 5005b67362 According to the Porter's Handbook (5.12.2.3.) default options must be added to
OPTIONS_DEFINE. This policy has been implemented only recently that's why we
have many ports violating this policy.

This patch adds the default options specified in the Porter's Handbook to
OPTIONS_DEFINE where they are being used. Ports maintained by
gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded.

Approved by:    portmgr (bapt)
2014-02-10 13:54:26 +00:00

41 lines
946 B
Makefile

# Created by: Aaron Zauner <az_mail@gmx.at>
# $FreeBSD$
PORTNAME= ipgrab
PORTVERSION= 0.9.10
CATEGORIES= net security
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= IPgrab is a verbose packet sniffer for UNIX hosts
BUILD_DEPENDS= ${LOCALBASE}/include/pcap.h:${PORTSDIR}/net/libpcap
GNU_CONFIGURE= yes
USE_CSTD= gnu89
INFO= ipgrab
MAN8= ipgrab.8
DOCS= README AUTHORS COPYING ChangeLog \
DEVELOPER-HOWTO INSTALL NEWS TODO
PLIST_FILES= bin/ipgrab
PORTDOCS= README AUTHORS COPYING ChangeLog DEVELOPER-HOWTO \
INSTALL NEWS TODO
NO_STAGE= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
do-install:
${INSTALL_MAN} ${MAN8:S,^,${WRKSRC}/doc/,} ${MANPREFIX}/man/man8/
${INSTALL_DATA} ${WRKSRC}/doc/ipgrab.info ${PREFIX}/info/
${INSTALL_PROGRAM} ${WRKSRC}/src/ipgrab ${PREFIX}/bin/
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
.endif
.include <bsd.port.mk>