aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/bsd-airtools/Makefile
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2002-07-10 04:57:35 +0800
committerdwcjr <dwcjr@FreeBSD.org>2002-07-10 04:57:35 +0800
commit4103648807992f5e3e07e77e45dee26aa4469a94 (patch)
treed073692647a76ef12eb9488ffd5a72a33d85bbeb /net-mgmt/bsd-airtools/Makefile
parent8a38c5a591b5458fe59e443ecad989b20e24ea17 (diff)
downloadfreebsd-ports-gnome-4103648807992f5e3e07e77e45dee26aa4469a94.tar.gz
freebsd-ports-gnome-4103648807992f5e3e07e77e45dee26aa4469a94.tar.zst
freebsd-ports-gnome-4103648807992f5e3e07e77e45dee26aa4469a94.zip
Add bsd-airtools 0.2, BSD Wireless Scanning Tools.
PR: 40722 Submitted by: Sean Chittenden <sean@chittenden.org>
Diffstat (limited to 'net-mgmt/bsd-airtools/Makefile')
-rw-r--r--net-mgmt/bsd-airtools/Makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/net-mgmt/bsd-airtools/Makefile b/net-mgmt/bsd-airtools/Makefile
new file mode 100644
index 000000000000..a993dd797215
--- /dev/null
+++ b/net-mgmt/bsd-airtools/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: bsd-airtools
+# Date created: 2002/07/06
+# Whom: Sean Chittenden <sean@chittenden.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= bsd-airtools
+PORTVERSION= 0.2
+CATEGORIES= net
+MASTER_SITES= http://www.dachb0den.com/projects/bsd-airtools/
+DISTNAME= ${PORTNAME}-v${PORTVERSION}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= sean@chittenden.org
+
+CONF_AIRTOOLS= dstumbler
+MAKE_AIRTOOLS= dweputils/dwepcrack dweputils/dwepdump \
+ dweputils/dwepkeygen prism2ctl prism2dump
+INST_AIRTOOLS= ${CONF_AIRTOOLS} ${MAKE_AIRTOOLS}
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+.if !exists(/usr/include/dev/wi/if_wavelan_ieee.h)
+FORBIDDEN=You need to upgrade
+.endif
+
+do-build:
+.for TOOL in ${CONF_AIRTOOLS}
+ @cd ${WRKSRC}/${TOOL}; ${SH} ${CONFIGURE_SCRIPT}; ${MAKE}
+.endfor
+.for TOOL in ${MAKE_AIRTOOLS}
+ @cd ${WRKSRC}/${TOOL}; ${MAKE}
+.endfor
+
+do-install:
+ ${MKDIR} ${DOCSDIR}
+.for TOOL in ${INST_AIRTOOLS}
+ @cd ${WRKSRC}/${TOOL}; ${MAKE} ${INSTALL_TARGET}
+ ${INSTALL_DATA} ${WRKSRC}/${TOOL}/README \
+ ${DOCSDIR}/README.`${BASENAME} ${TOOL}`
+.endfor
+
+.include <bsd.port.mk>