aboutsummaryrefslogtreecommitdiffstats
path: root/editors/gmanedit
diff options
context:
space:
mode:
Diffstat (limited to 'editors/gmanedit')
-rw-r--r--editors/gmanedit/Makefile7
-rw-r--r--editors/gmanedit/pkg-plist20
2 files changed, 15 insertions, 12 deletions
diff --git a/editors/gmanedit/Makefile b/editors/gmanedit/Makefile
index 4c2f73ac4427..5db734dde6e4 100644
--- a/editors/gmanedit/Makefile
+++ b/editors/gmanedit/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gmanedit
PORTVERSION= 0.3.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= editors gnome
MASTER_SITES= http://gmanedit.sourceforge.net/files/ \
${MASTER_SITE_SOURCEFORGE}
@@ -28,9 +28,12 @@ ALL_TARGET= clean all
post-extract:
@${RM} -rf ${WRKSRC}/config.cache
+ @${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${RM} -f
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
- s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
+ s|PACKAGE_PIXMAPS_DIR=".*/pixmaps|PACKAGE_PIXMAPS_DIR="${PREFIX}/share/pixmaps|g' \
+ ${WRKSRC}/configure
.include <bsd.port.mk>
diff --git a/editors/gmanedit/pkg-plist b/editors/gmanedit/pkg-plist
index 3e63d10b7b6c..1b81f32ab519 100644
--- a/editors/gmanedit/pkg-plist
+++ b/editors/gmanedit/pkg-plist
@@ -1,15 +1,15 @@
bin/gmanedit
-share/gnome/pixmaps/gmanedit/arrow.xpm
-share/gnome/pixmaps/gmanedit/button.xpm
-share/gnome/pixmaps/gmanedit/exit.xpm
-share/gnome/pixmaps/gmanedit/gmanedit.png
-share/gnome/pixmaps/gmanedit/new.xpm
-share/gnome/pixmaps/gmanedit/no.xpm
-share/gnome/pixmaps/gmanedit/open.xpm
-share/gnome/pixmaps/gmanedit/save.xpm
-share/gnome/pixmaps/gmanedit/spinbutton.xpm
share/locale/es/LC_MESSAGES/gmanedit.mo
share/locale/gl/LC_MESSAGES/gmanedit.mo
share/locale/ja/LC_MESSAGES/gmanedit.mo
share/locale/ko/LC_MESSAGES/gmanedit.mo
-@dirrm share/gnome/pixmaps/gmanedit
+share/pixmaps/gmanedit/arrow.xpm
+share/pixmaps/gmanedit/button.xpm
+share/pixmaps/gmanedit/exit.xpm
+share/pixmaps/gmanedit/gmanedit.png
+share/pixmaps/gmanedit/new.xpm
+share/pixmaps/gmanedit/no.xpm
+share/pixmaps/gmanedit/open.xpm
+share/pixmaps/gmanedit/save.xpm
+share/pixmaps/gmanedit/spinbutton.xpm
+@dirrm share/pixmaps/gmanedit