mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
42 lines
1.2 KiB
Makefile
42 lines
1.2 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/ \
|
|
http://quasarp.dyndns.org/dist/freebsd/: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
|
|
PLIST_DIRSTRY= share/applications
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/wpa_supplicant/wpa_gui-qt4
|
|
USE_QT4= gui moc_build qmake_build rcc_build uic_build
|
|
HAS_CONFIGURE= yes
|
|
|
|
NO_STAGE= yes
|
|
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-configure:
|
|
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
|
|
${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
|
|
@${MKDIR} ${PREFIX}/share/applications
|
|
${INSTALL_DATA} ${WRKSRC}/wpa_gui.desktop ${PREFIX}/share/applications
|
|
${INSTALL_DATA} ${WRKSRC}/icons/wpa_gui.svg ${PREFIX}/share/pixmaps
|
|
|
|
.include <bsd.port.mk>
|