aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/driftnet/Makefile
blob: 0c3cdab2736c3a48df6efa7061cd41dd3aa208dd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
PORTNAME=	driftnet
PORTVERSION=	1.4.0
DISTVERSIONPREFIX=	v
CATEGORIES=	net-mgmt

MAINTAINER=	ehaupt@FreeBSD.org
COMMENT=	Tool to grab images out of (your) TCP connections

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	makedepend:devel/makedepend
LIB_DEPENDS=	libgif.so:graphics/giflib \
		libpng.so:graphics/png \
		libwebp.so:graphics/webp \
		libwebsockets.so:net/libwebsockets

USES=		autoreconf gettext-runtime gmake gnome jpeg localbase:ldflags \
		pkgconfig xorg
USE_CSTD=	c99
USE_GITHUB=	yes
GH_ACCOUNT=	deiv
USE_GNOME=	gtk20
USE_XORG=	x11 xext xi

GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--disable-debug

INSTALL_TARGET=	install-strip

PLIST_FILES=	${DATADIR}/static-html/index.html \
		bin/driftnet \
		man/man1/driftnet.1.gz
PORTDOCS=	*

OPTIONS_DEFINE=	DOCS

.include <bsd.port.mk>