summaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-05 14:30:53 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-05 14:30:53 +0800
commit8c492bbca225c1233c07e2e77ffa87a531a5d7c1 (patch)
treedc81c1821ae2e1be002c0ce964fb44764e740be5 /editors
parent644b310a27e5436a4969e95d035e4828522d3586 (diff)
downloadmarcuscom-ports-8c492bbca225c1233c07e2e77ffa87a531a5d7c1.tar
marcuscom-ports-8c492bbca225c1233c07e2e77ffa87a531a5d7c1.tar.gz
marcuscom-ports-8c492bbca225c1233c07e2e77ffa87a531a5d7c1.tar.bz2
marcuscom-ports-8c492bbca225c1233c07e2e77ffa87a531a5d7c1.tar.lz
marcuscom-ports-8c492bbca225c1233c07e2e77ffa87a531a5d7c1.tar.xz
marcuscom-ports-8c492bbca225c1233c07e2e77ffa87a531a5d7c1.tar.zst
marcuscom-ports-8c492bbca225c1233c07e2e77ffa87a531a5d7c1.zip
Fix the installation and plist by remove gnomeprefix and get stuff install
in the share/applications and share/pixmaps instead in share/gnome/*. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7580 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'editors')
-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