ports/167426: [PATCH] editors/mousepad

Olivier Duchateau duchateau.olivier at gmail.com
Sun Apr 29 15:40:11 UTC 2012


>Number:         167426
>Category:       ports
>Synopsis:       [PATCH] editors/mousepad
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 29 15:40:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Duchateau
>Release:        FreeBSD 8.2-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
Correct Makefile and pkg-plist.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -u /usr/ports/editors/mousepad/Makefile mousepad/Makefile
--- /usr/ports/editors/mousepad/Makefile	2011-10-26 22:27:24.000000000 +0200
+++ mousepad/Makefile	2012-04-29 16:03:08.000000000 +0200
@@ -7,10 +7,10 @@
 
 PORTNAME=	mousepad
 PORTVERSION=	0.2.16
-PORTREVISION=	8
+PORTREVISION=	9
 CATEGORIES=	editors xfce
 MASTER_SITES=	${MASTER_SITE_XFCE}
-MASTER_SITE_SUBDIR=/src/apps/${PORTNAME}/${PORTVERSION:R}
+MASTER_SITE_SUBDIR=src/apps/${PORTNAME}/${PORTVERSION:R}
 DIST_SUBDIR=	xfce4
 
 MAINTAINER=	xfce at FreeBSD.org
@@ -20,7 +20,10 @@
 USE_BZIP2=	yes
 USE_GETTEXT=	yes
 USE_GMAKE=	yes
-USE_GNOME=	gtk20 intltool intlhack pkgconfig
+USE_GNOME=	gtk20 intltool intlhack pkgconfig desktopfileutils
 USE_XFCE=	configenv libgui
 
+post-install:
+	@-update-desktop-database
+
 .include <bsd.port.mk>
diff -u /usr/ports/editors/mousepad/pkg-plist mousepad/pkg-plist
--- /usr/ports/editors/mousepad/pkg-plist	2009-03-02 17:51:53.000000000 +0100
+++ mousepad/pkg-plist	2012-04-29 16:03:08.000000000 +0200
@@ -49,4 +49,12 @@
 share/locale/zh_CN/LC_MESSAGES/mousepad.mo
 share/locale/zh_TW/LC_MESSAGES/mousepad.mo
 share/pixmaps/mousepad.png
+ at dirrmtry share/locale/ur/LC_MESSAGES
+ at dirrmtry share/locale/ur
+ at dirrmtry share/locale/si/LC_MESSAGES
+ at dirrmtry share/locale/si
+ at dirrmtry share/locale/ku/LC_MESSAGES
+ at dirrmtry share/locale/ku
 @dirrmtry share/applications
+ at exec %%LOCALBASE%%/bin/update-desktop-database >/dev/null || /usr/bin/true
+ at unexec %%LOCALBASE%%/bin/update-desktop-database >/dev/null || /usr/bin/true


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



More information about the freebsd-ports-bugs mailing list