Bug 180255 - [patch] deskutils/notecase: add some USES options
Summary: [patch] deskutils/notecase: add some USES options
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: Ganael LAPLANCHE
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-04 12:20 UTC by Boris Samorodov
Modified: 2013-07-05 15:00 UTC (History)
0 users

See Also:


Attachments
file.diff (1.36 KB, patch)
2013-07-04 12:20 UTC, Boris Samorodov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Samorodov freebsd_committer 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 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 freebsd_committer 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 2013-07-05 14:54:33 UTC
State Changed
From-To: open->closed

Committed, thanks!