summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--editors/leafpad/Makefile8
-rw-r--r--editors/leafpad/pkg-plist8
2 files changed, 7 insertions, 9 deletions
diff --git a/editors/leafpad/Makefile b/editors/leafpad/Makefile
index 8a334fd45..043179cb3 100644
--- a/editors/leafpad/Makefile
+++ b/editors/leafpad/Makefile
@@ -7,6 +7,7 @@
PORTNAME= leafpad
PORTVERSION= 0.8.9
+PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -14,7 +15,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= radek@raadradd.com
COMMENT= GTK+ based simple text editor
-USE_GNOME= gtk20 gnomeprefix desktopfileutils intlhack
+USE_GNOME= gtk20 desktopfileutils intlhack
USE_GCC= 3.4
USE_GETOPT_LONG= yes
USE_GETTEXT= YES
@@ -29,11 +30,6 @@ LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL README
-post-patch:
- @${REINPLACE_CMD} -e 's|/pixmaps|/gnome/pixmaps|; \
- s|/applications|/gnome/applications|' \
- ${WRKSRC}/Makefile.in ${WRKSRC}/src/Makefile.in
-
post-install:
.if !defined(NOPORTDOCS)
@${INSTALL} -d ${DOCSDIR}
diff --git a/editors/leafpad/pkg-plist b/editors/leafpad/pkg-plist
index 26592edab..c754f99ec 100644
--- a/editors/leafpad/pkg-plist
+++ b/editors/leafpad/pkg-plist
@@ -1,7 +1,5 @@
bin/leafpad
-share/gnome/applications/leafpad.desktop
-share/gnome/pixmaps/leafpad.png
-share/gnome/pixmaps/leafpad.xpm
+share/applications/leafpad.desktop
share/locale/bg/LC_MESSAGES/leafpad.mo
share/locale/ca/LC_MESSAGES/leafpad.mo
share/locale/cs/LC_MESSAGES/leafpad.mo
@@ -24,5 +22,9 @@ share/locale/tr/LC_MESSAGES/leafpad.mo
share/locale/vi/LC_MESSAGES/leafpad.mo
share/locale/zh_CN/LC_MESSAGES/leafpad.mo
share/locale/zh_TW/LC_MESSAGES/leafpad.mo
+share/pixmaps/leafpad.png
+share/pixmaps/leafpad.xpm
+@dirrmtry share/pixmaps
+@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