mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
b97da74ba1
- Add state support - Convert LIB_DEPENDS to new style, adjust USE_QT4 components, etc. Approved by: portmgr (blanket approval)
31 lines
754 B
Makefile
31 lines
754 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= Qt 4 GUI client for Kismet
|
|
|
|
RUN_DEPENDS= kismet:${PORTSDIR}/net-mgmt/kismet
|
|
|
|
USES= qmake
|
|
USE_BZIP2= yes
|
|
USE_QT4= gui xml uic_build moc_build rcc_build network
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
|
|
|
|
do-patch:
|
|
${REINPLACE_CMD} -e 's,:/img/,${DATADIR}/img/,g' \
|
|
${WRKSRC}/*.cpp
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/../build/release/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} img ${STAGEDIR}${DATADIR}
|
|
|
|
.include <bsd.port.mk>
|