aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2012-05-08 14:13:57 +0800
committerrene <rene@FreeBSD.org>2012-05-08 14:13:57 +0800
commita8db8872596b4dac857f4d81d5e88b46ffba335c (patch)
treec147dcc1a1b3c0cf621fb8ac512833baf2cdfcc6 /editors
parent743c0f5bf090124ac8c26084b4f3c44b648500d9 (diff)
downloadfreebsd-ports-gnome-a8db8872596b4dac857f4d81d5e88b46ffba335c.tar.gz
freebsd-ports-gnome-a8db8872596b4dac857f4d81d5e88b46ffba335c.tar.zst
freebsd-ports-gnome-a8db8872596b4dac857f4d81d5e88b46ffba335c.zip
- Fix Makefile and pkg-plist
- Run update-desktop-database at post-install - Bump PORTREVISION PR: ports/167426 Submitted by: Olivier Duchateau
Diffstat (limited to 'editors')
-rw-r--r--editors/mousepad/Makefile9
-rw-r--r--editors/mousepad/pkg-plist8
2 files changed, 14 insertions, 3 deletions
diff --git a/editors/mousepad/Makefile b/editors/mousepad/Makefile
index 0bce676e905a..d8e62aa03547 100644
--- a/editors/mousepad/Makefile
+++ b/editors/mousepad/Makefile
@@ -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 @@ GNU_CONFIGURE= yes
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 --git a/editors/mousepad/pkg-plist b/editors/mousepad/pkg-plist
index 0aebfaa5ea45..b60f501312b8 100644
--- a/editors/mousepad/pkg-plist
+++ b/editors/mousepad/pkg-plist
@@ -49,4 +49,12 @@ share/locale/uk/LC_MESSAGES/mousepad.mo
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