Lines 3-8
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= wpa_gui |
4 |
PORTNAME= wpa_gui |
5 |
PORTVERSION= 2.5 |
5 |
PORTVERSION= 2.5 |
|
|
6 |
PORTREVISION= 1 |
6 |
CATEGORIES= net |
7 |
CATEGORIES= net |
7 |
MASTER_SITES= http://w1.fi/releases/ \ |
8 |
MASTER_SITES= http://w1.fi/releases/ \ |
8 |
http://partmedia.users.sourceforge.net/dist/:icons \ |
9 |
http://partmedia.users.sourceforge.net/dist/:icons \ |
Lines 18-36
Link Here
|
18 |
|
19 |
|
19 |
WRKSRC_SUBDIR= wpa_supplicant/wpa_gui-qt4 |
20 |
WRKSRC_SUBDIR= wpa_supplicant/wpa_gui-qt4 |
20 |
|
21 |
|
21 |
PLIST_FILES= sbin/wpa_gui \ |
22 |
PLIST_FILES= "@mode 4555" \ |
|
|
23 |
sbin/wpa_gui \ |
24 |
"@mode" \ |
22 |
share/applications/wpa_gui.desktop \ |
25 |
share/applications/wpa_gui.desktop \ |
23 |
share/icons/hicolor/16x16/apps/wpa_gui.png \ |
26 |
share/icons/hicolor/16x16/apps/wpa_gui.png \ |
24 |
share/icons/hicolor/scalable/apps/wpa_gui.svg |
27 |
share/icons/hicolor/scalable/apps/wpa_gui.svgz \ |
|
|
28 |
man/man8/wpa_gui.8.gz |
25 |
|
29 |
|
26 |
USE_QT4= gui moc_build rcc_build uic_build |
30 |
SUB_FILES= pkg-message |
|
|
31 |
SUB_LIST= LOCALBASE=${LOCALBASE} |
32 |
|
33 |
USE_QT4= corelib gui moc_build rcc_build uic_build |
27 |
USES= qmake |
34 |
USES= qmake |
|
|
35 |
INSTALLS_ICONS= yes |
28 |
|
36 |
|
|
|
37 |
OPTIONS_DEFINE= DEBUG |
38 |
|
29 |
post-patch: |
39 |
post-patch: |
30 |
@${REINPLACE_CMD} -e \ |
40 |
@${REINPLACE_CMD} -e \ |
31 |
'/^Exec/s|=.*|=${PREFIX}/sbin/wpa_gui|' \ |
41 |
'/^Exec/s|=.*|=${PREFIX}/sbin/wpa_gui|' \ |
32 |
${WRKSRC}/wpa_gui.desktop |
42 |
${WRKSRC}/wpa_gui.desktop |
33 |
|
43 |
|
|
|
44 |
post-patch-DEBUG-on: |
45 |
@${REINPLACE_CMD} -e \ |
46 |
's| release| debug|' \ |
47 |
${WRKSRC}/wpa_gui.pro |
48 |
|
34 |
do-install: |
49 |
do-install: |
35 |
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin |
50 |
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin |
36 |
${INSTALL_DATA} ${WRKSRC}/wpa_gui.desktop ${STAGEDIR}${PREFIX}/share/applications |
51 |
${INSTALL_DATA} ${WRKSRC}/wpa_gui.desktop ${STAGEDIR}${PREFIX}/share/applications |
Lines 38-44
Link Here
|
38 |
${INSTALL_DATA} ${WRKDIR}/icons/hicolor/16x16/apps/wpa_gui.png \ |
53 |
${INSTALL_DATA} ${WRKDIR}/icons/hicolor/16x16/apps/wpa_gui.png \ |
39 |
${STAGEDIR}${PREFIX}/share/icons/hicolor/16x16/apps |
54 |
${STAGEDIR}${PREFIX}/share/icons/hicolor/16x16/apps |
40 |
${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps |
55 |
${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps |
41 |
${INSTALL_DATA} ${WRKSRC}/icons/wpa_gui.svg \ |
56 |
@${GZIP_CMD} < ${WRKSRC}/icons/wpa_gui.svg \ |
42 |
${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps |
57 |
> ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/wpa_gui.svgz |
|
|
58 |
@${GZIP_CMD} < ${WRKSRC}/../doc/docbook/wpa_gui.8 \ |
59 |
> ${STAGEDIR}${PREFIX}/man/man8/wpa_gui.8.gz |
43 |
|
60 |
|
44 |
.include <bsd.port.mk> |
61 |
.include <bsd.port.mk> |