Bug 180255

Summary: [patch] deskutils/notecase: add some USES options
Product: Ports & Packages Reporter: Boris Samorodov <bsam>
Component: Individual Port(s)Assignee: Ganael LAPLANCHE <martymac>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Boris Samorodov freebsd_committer freebsd_triage 2013-07-04 12:20:00 UTC

Fix: . USES+= desktop-file-utils shared-mime-info;
. remove article from COMMENT.

Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-07-04 12:20:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->martymac

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-07-05 14:53:42 UTC
Author: martymac
Date: Fri Jul  5 13:53:33 2013
New Revision: 322327
URL: http://svnweb.freebsd.org/changeset/ports/322327

Log:
  - Fix COMMENT
  - Rework USE_GNOME and USES
  
  PR:		ports/180255
  Submitted by:	bsam

Modified:
  head/deskutils/notecase/Makefile
  head/deskutils/notecase/pkg-plist   (contents, props changed)

Modified: head/deskutils/notecase/Makefile
==============================================================================
--- head/deskutils/notecase/Makefile	Fri Jul  5 13:51:13 2013	(r322326)
+++ head/deskutils/notecase/Makefile	Fri Jul  5 13:53:33 2013	(r322327)
@@ -9,13 +9,13 @@ MASTER_SITES=	SF
 DISTNAME=	${PORTNAME}-${PORTVERSION}_src
 
 MAINTAINER=	martymac@FreeBSD.org
-COMMENT=	A hierarchical text notes manager
+COMMENT=	Hierarchical text notes manager
 
 LICENSE=	BSD
 
 USE_GMAKE=	yes
-USE_GNOME=	gtk20 gtksourceview2 gnomevfs2 desktopfileutils
-USES=		gettext pkgconfig
+USE_GNOME=	gtk20 gtksourceview2 gnomevfs2
+USES=		desktop-file-utils gettext pkgconfig shared-mime-info
 
 USE_DOS2UNIX=	yes
 DOS2UNIX_REGEX=	.*\.(c|h|cpp)
@@ -35,8 +35,4 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|^docsdir=.*|docsdir=${DOCSDIR}|' \
 		${WRKSRC}/Makefile
 
-post-install:
-	@-update-mime-database ${PREFIX}/share/mime
-	@-update-desktop-database
-
 .include <bsd.port.mk>

Modified: head/deskutils/notecase/pkg-plist
==============================================================================
--- head/deskutils/notecase/pkg-plist	Fri Jul  5 13:51:13 2013	(r322326)
+++ head/deskutils/notecase/pkg-plist	Fri Jul  5 13:53:33 2013	(r322327)
@@ -40,8 +40,4 @@ share/mime/packages/notecase.xml
 share/pixmaps/notecase.xpm
 @dirrmtry share/locale/fr_CA/LC_MESSAGES
 @dirrmtry share/locale/fr_CA
-@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
-@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
-@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
-@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
 @dirrmtry share/applications
_______________________________________________
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 3 Ganael LAPLANCHE freebsd_committer freebsd_triage 2013-07-05 14:54:33 UTC
State Changed
From-To: open->closed

Committed, thanks!