ports/180255: [patch] deskutils/notecase: add some USES options

Boris Samorodov bsam at FreeBSD.org
Thu Jul 4 11:20:00 UTC 2013


>Number:         180255
>Category:       ports
>Synopsis:       [patch] deskutils/notecase: add some USES options
>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 Jul 04 11:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Boris Samorodov
>Release:        FreeBSD 10.0-CURRENT
>Organization:
BSDprint
>Environment:
FreeBSD bsam.int.wart.ru 10.0-CURRENT FreeBSD 10.0-CURRENT #32 r252679: Thu Jul  4 13:43:00 SAMT 2013     bsam at bsam.int.wart.ru:/usr/obj/usr/src/sys/BB64X  amd64
>Description:

>How-To-Repeat:

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

Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 322269)
+++ Makefile	(working copy)
@@ -9,13 +9,13 @@
 DISTNAME=	${PORTNAME}-${PORTVERSION}_src
 
 MAINTAINER=	martymac at 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 @@
 	@${REINPLACE_CMD} -e 's|^docsdir=.*|docsdir=${DOCSDIR}|' \
 		${WRKSRC}/Makefile
 
-post-install:
-	@-update-mime-database ${PREFIX}/share/mime
-	@-update-desktop-database
-
 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 322269)
+++ pkg-plist	(working copy)
@@ -40,8 +40,4 @@
 share/pixmaps/notecase.xpm
 @dirrmtry share/locale/fr_CA/LC_MESSAGES
 @dirrmtry share/locale/fr_CA
- at exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
- at unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
- at exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
- at unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
 @dirrmtry share/applications


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


More information about the freebsd-ports-bugs mailing list