1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/net/wpa_gui/Makefile
Alex Kozlov a2b13dc61a - Update MASTER_SITES
PR:	ports/189020
Submitted by:	Kevin Zheng <kevinz5000@gmail.com>
Approved by:	Ilya Bakulin <webmaster@kibab.com> (maintainer)
2014-05-07 16:11:59 +00:00

35 lines
1.0 KiB
Makefile

# Created by: Ilya Bakulin <webmaster@kibab.com>
# $FreeBSD$
PORTNAME= wpa_gui
PORTVERSION= 0.7.3
CATEGORIES= net
MASTER_SITES= http://hostap.epitest.fi/releases/ \
SF/partmedia.u/freebsd-ports/:icons \
LOCAL/jgh/net/${PORTNAME}/:icons
DISTNAME= wpa_supplicant-${PORTVERSION}
DISTFILES= ${DISTNAME}.tar.gz \
wpa-gui-icons.tar.gz:icons
MAINTAINER= webmaster@kibab.com
COMMENT= Qt-based frontend for wpa_supplicant
PLIST_FILES= sbin/wpa_gui \
share/applications/wpa_gui.desktop \
share/pixmaps/wpa_gui.svg
WRKSRC= ${WRKDIR}/${DISTNAME}/wpa_supplicant/wpa_gui-qt4
USE_QT4= gui moc_build rcc_build uic_build
USES= qmake
post-patch:
@${REINPLACE_CMD} -e "s|Exec=wpa_gui|Exec=${PREFIX}/sbin/wpa_gui|" \
${WRKSRC}/wpa_gui.desktop
${MV} ${WRKDIR}/icons/hicolor ${WRKSRC}/icons
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/wpa_gui.desktop ${STAGEDIR}${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/icons/wpa_gui.svg ${STAGEDIR}${PREFIX}/share/pixmaps
.include <bsd.port.mk>