1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/net-mgmt/qkismet/Makefile

36 lines
823 B
Makefile

# 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>