Bug 176329 - net/wpa_gui: add desktop entry
Summary: net/wpa_gui: add desktop entry
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-21 17:50 UTC by Max Brazhnikov
Modified: 2013-02-22 11:00 UTC (History)
0 users

See Also:


Attachments
file.diff (1.29 KB, patch)
2013-02-21 17:50 UTC, Max Brazhnikov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Max Brazhnikov freebsd_committer freebsd_triage 2013-02-21 17:50:00 UTC
Clean up
Add desktop entry

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-02-21 17:50:07 UTC
Maintainer of net/wpa_gui,

Please note that PR ports/176329 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/176329

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-02-21 17:50:08 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Bakulin Ilya 2013-02-22 08:40:25 UTC
On 2013-02-21 17:50, Edwin Groothuis wrote:
> Maintainer of net/wpa_gui,
>
> Please note that PR ports/176329 has just been submitted.
>
> If it contains a patch for an upgrade, an enhancement or a bug fix
> you agree on, reply to this email stating that you approve the patch
> and a committer will take care of it.
>
> The full text of the PR can be found at:
>     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/176329

Please commit this patch.
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-02-22 10:58:24 UTC
Author: makc
Date: Fri Feb 22 10:58:15 2013
New Revision: 312761
URL: http://svnweb.freebsd.org/changeset/ports/312761

Log:
  - Add desktop entry
  - Clean up
  
  PR:		ports/176329
  Approved by:	maintainer

Modified:
  head/net/wpa_gui/Makefile   (contents, props changed)

Modified: head/net/wpa_gui/Makefile
==============================================================================
--- head/net/wpa_gui/Makefile	Fri Feb 22 10:57:24 2013	(r312760)
+++ head/net/wpa_gui/Makefile	Fri Feb 22 10:58:15 2013	(r312761)
@@ -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>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 Max Brazhnikov freebsd_committer freebsd_triage 2013-02-22 10:58:47 UTC
State Changed
From-To: feedback->closed

Committed.