aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/qkismet/Makefile
blob: fd8e90e37699025c3aea5ea4cfbcd7eb972e19df (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
# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
# $FreeBSD$

PORTNAME=   qkismet
PORTVERSION=    0.3.1
PORTREVISION=   2
CATEGORIES= net-mgmt
MASTER_SITES=   SF/${PORTNAME}/qKismet/${PORTVERSION}

MAINTAINER= vg@FreeBSD.org
COMMENT=    This is graphical Kismet client writtent in Qt

RUN_DEPENDS=    kismet:${PORTSDIR}/net-mgmt/kismet

USE_BZIP2=  yes
USE_QT4=    gui xml qmake_build uic_build moc_build rcc_build network

QMAKE_PRO=  ${PORTNAME}.pro

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src

NO_STAGE=   yes
do-patch:
    ${REINPLACE_CMD} -e 's,:/img/,${DATADIR}/img/,g' \
    ${WRKSRC}/*.cpp

do-configure:
    cd ${WRKSRC} && ${QMAKE}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/../build/release/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
    ${MKDIR} ${DATADIR}
    cd ${WRKSRC} && ${COPYTREE_SHARE} img ${DATADIR}

.include <bsd.port.mk>