Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Apr 2012 15:39:26 GMT
From:      Olivier Duchateau <duchateau.olivier@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/167426: [PATCH] editors/mousepad
Message-ID:  <201204291539.q3TFdQEM055831@red.freebsd.org>
Resent-Message-ID: <201204291540.q3TFeBkP042375@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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
+@dirrmtry share/locale/ur/LC_MESSAGES
+@dirrmtry share/locale/ur
+@dirrmtry share/locale/si/LC_MESSAGES
+@dirrmtry share/locale/si
+@dirrmtry share/locale/ku/LC_MESSAGES
+@dirrmtry share/locale/ku
 @dirrmtry share/applications
+@exec %%LOCALBASE%%/bin/update-desktop-database >/dev/null || /usr/bin/true
+@unexec %%LOCALBASE%%/bin/update-desktop-database >/dev/null || /usr/bin/true


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204291539.q3TFdQEM055831>