summaryrefslogtreecommitdiffstats
path: root/net-mgmt/driftnet/files/Makefile
blob: 728c587101c2f4fd6afbf0d17631cbc0f3d723f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $corecode: ports/driftnet/files/Makefile,v 1.1 2002/03/01 02:32:10 corecode Exp $
# $FreeBSD$

VERSION?=	0.1.4

PROG=		driftnet
SRCS=		gif.c img.c jpeg.c png.c driftnet.c image.c display.c
CFLAGS+=	-I${LOCALBASE}/include -DDRIFTNET_VERSION='"${VERSION}"' ${GTK_CFLAGS}
LDFLAGS+=	${GTK_LDFLAGS} -lpcap -ljpeg -lungif

NOMAN=		yes

.if defined(PREFIX)
DESTDIR=	${PREFIX}/bin
.else
DESTDIR?=	/usr/X11R6/bin
.endif

GTK_CONFIG?=	gtk12-config
GTK_CFLAGS!=	${GTK_CONFIG} --cflags
GTK_LDFLAGS!=	${GTK_CONFIG} --libs

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud