blob: a993dd7972152faaa13f727b28e03de6d61864a3 (
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
42
43
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>
|