Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2013 17:48:40 GMT
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/176329: net/wpa_gui: add desktop entry
Message-ID:  <201302211748.r1LHme1t061697@red.freebsd.org>
Resent-Message-ID: <201302211750.r1LHo0Ze093962@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         176329
>Category:       ports
>Synopsis:       net/wpa_gui: add desktop entry
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 21 17:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Max Brazhnikov
>Release:        FreeBSD 9.1-STABLE amd64
>Organization:
>Environment:
>Description:
Clean up
Add desktop entry
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 312715)
+++ Makefile	(working copy)
@@ -1,30 +1,30 @@
-# New ports collection makefile for:	wpa_gui
-# Date created:		2009-01-10
-# Whom:			Ilya Bakulin <webmaster@kibab.com>
-#
+# Created by: Ilya Bakulin <webmaster@kibab.com>
 # $FreeBSD$
-#
 
 PORTNAME=	wpa_gui
 PORTVERSION=	0.5.11
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net
 MASTER_SITES=	http://hostap.epitest.fi/releases/
 DISTNAME=	wpa_supplicant-${PORTVERSION}
 
 MAINTAINER=	webmaster@kibab.com
-COMMENT=	QT GUI for wpa_supplicant
+COMMENT=	Qt-based frontend for wpa_supplicant
 
 PLIST_FILES=	sbin/${PORTNAME}
 WRKSRC=		${WRKDIR}/${DISTNAME}/wpa_gui-qt4
 USE_QT4=	gui qt3support qmake_build moc_build uic_build
-
+QMAKE_ARGS+=	PREFIX=${PREFIX}
 HAS_CONFIGURE=	yes
+MAKE_JOBS_SAFE=	yes
 
+DESKTOP_ENTRIES=	"${PORTNAME}" "Frontend for WPA Supplicant" "" \
+			"${PORTNAME}" "System;Qt;" "true"
+
 do-configure:
-	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} -unix PREFIX=${PREFIX} ${PORTNAME}.pro
+	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS}
 
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
 
 .include <bsd.port.mk>


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302211748.r1LHme1t061697>