aboutsummaryrefslogtreecommitdiff
path: root/net/wistumbler2/Makefile
blob: 862afdc56b9f691812f19ec056eae73596a6cee1 (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
39
40
41
# New ports collection makefile for:	wistumbler2
# Date created:		2003/11/15
# Whom:			Sebastian Yepes F. <esn@x123.info>
#
# $FreeBSD$
#

PORTNAME=	wistumbler2
PORTVERSION=	2.00
PORTREVISION=	1
CATEGORIES=	net
MASTER_SITES=	ftp://ftp.nopcode.org/prj/wistumbler2/
DISTNAME=	wistumbler${PORTVERSION}-pre3

MAINTAINER=	esn@x123.info
COMMENT=	Network Stumbler for WaveLAN/IEEE Wireless

MAKE_ENV=	PREFIX=${LOCALBASE} USE_GTK=1
WRKSRC=		${WRKDIR}/${DISTNAME}

USE_GNOME=	gtk20

MANCOMPRESSED=	yes
MAN1=		wistumbler2.1
PLIST_FILES=	bin/wistumbler2

.if !exists(/sys/dev/owi/if_ieee80211.h)
BROKEN=	You need to upgrade you system
.endif

.if defined(NO_X)
MAKE_ENV=	PREFIX=${LOCALBASE} USE_GTK=0
.endif

pre-everything::
	@${ECHO} "You may specify the following on the command line:"
	@${ECHO} ""
	@${ECHO} " NO_X=yes  Disable The X(GTK2) Support."
	@${ECHO} ""

.include <bsd.port.mk>