freebsd-ports/net-mgmt/spectools/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

61 lines
1.4 KiB
Makefile

# New ports collection makefile for: spectools
# Date created: 09 Oct 2007
# Whom: Henrik Brix Andersen <henrik@brixandersen.dk>
#
# $FreeBSD$
#
PORTNAME= spectools
PORTVERSION= 200710.r2
PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= http://www.kismetwireless.net/code/
DISTNAME= spectools-2007-10-R2
MAINTAINER= brix@FreeBSD.org
COMMENT= Tools for the 2.4GHz Wi-Spy spectrum analyzers from MetaGeek LLC
LIB_DEPENDS= usb-0.1:${PORTSDIR}/devel/libusb
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_GMAKE= yes
PORTDOCS= README
OPTIONS= GTK "Enable graphical client" On
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 602101
IGNORE= is unsupported on systems prior to FreeBSD v602101
.elif ${OSVERSION} > 700000 && ${OSVERSION} < 700027
IGNORE= is unsupported on systems prior to FreeBSD v700027
.endif
ALL_TARGET= spectool_net spectool_raw
.if defined(WITH_GTK)
ALL_TARGET+= spectool_gtk
LIB_DEPENDS+= gtk:${PORTSDIR}/x11-toolkits/gtk20
PLIST_SUB= GTK=""
.else
PLIST_SUB= GTK="@comment "
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/spectool_net ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/spectool_raw ${PREFIX}/bin
.if defined(WITH_GTK)
${INSTALL_PROGRAM} ${WRKSRC}/spectool_gtk ${PREFIX}/bin
.endif
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S@^@${WRKSRC}/@} ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>