aboutsummaryrefslogtreecommitdiffstats
path: root/net/wlan2eth/Makefile
blob: b2a1d454d569991d10f4bd1f70125d5b912fe460 (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
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$

PORTNAME=   wlan2eth
PORTVERSION=    1.3
PORTREVISION=   1
CATEGORIES= net security
MASTER_SITES=   http://www.willhackforsushi.com/code/${PORTNAME}/
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Convert packet captures in 802.11 format to Ethernet format

LICENSE=    GPLv2

PORTDOCS=   THANKS
OPTIONS_DEFINE= DOCS

SUB_FILES=  pkg-message

PLIST_FILES=    bin/${PORTNAME}

post-patch:
    @${REINPLACE_CMD} -e 's|CFLAGS      =|CFLAGS    ?=|' \
        ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/

    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>