File:  [DragonFly] / dfports / net / bsd-airtools / Attic / Makefile
Revision 1.1: download - view: text, annotated - select for diffs
Sat Dec 13 14:31:57 2003 UTC (10 years, 4 months ago) by drhodus
Branches: MAIN
CVS tags: HEAD

*       Add dfports override for bsd-airtools

Submitted-by: Craig Dooley<cd5697@albany.edu>

# DFPorts override for bsd-airtools
#
# Craig Dooley <craig@xlnx-x.net>
# $DragonFly: dfports/net/bsd-airtools/Makefile,v 1.1 2003/12/13 14:31:57 drhodus Exp $

PORTNAME=	bsd-airtools
PORTVERSION=	0.3
CATEGORIES=	net
MASTER_SITES=	http://people.FreeBSD.org/~seanc/ports/bsd-airtools/
DISTNAME=	${PORTNAME}-v${PORTVERSION}
EXTRACT_SUFX=	.tgz

MAINTAINER=	craig@xlnx-x.net
COMMENT=	BSD Wireless Scanning Tools

CONF_AIRTOOLS=	dstumbler
MAKE_AIRTOOLS=	dweputils/dwepcrack dweputils/dwepdump \
		dweputils/dwepkeygen prism2ctl prism2dump
INST_AIRTOOLS=	${CONF_AIRTOOLS} ${MAKE_AIRTOOLS}

WRKSRC=		${WRKDIR}/${PORTNAME}

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>