aboutsummaryrefslogtreecommitdiffstats
path: root/net/gnome-netstatus
diff options
context:
space:
mode:
Diffstat (limited to 'net/gnome-netstatus')
-rw-r--r--net/gnome-netstatus/Makefile4
-rw-r--r--net/gnome-netstatus/files/patch-icons_Makefile.in11
2 files changed, 4 insertions, 11 deletions
diff --git a/net/gnome-netstatus/Makefile b/net/gnome-netstatus/Makefile
index ee735aa98d5d..ac9d3bf93f5d 100644
--- a/net/gnome-netstatus/Makefile
+++ b/net/gnome-netstatus/Makefile
@@ -29,4 +29,8 @@ CONFIGURE_ARGS= CPPFLAGS="-I${LOCALBASE}/include" \
GCONF_SCHEMAS= netstatus.schemas
+post-patch:
+ @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|[(]datadir[)]/icons/hicolor|(prefix)/share/icons/hicolor|g'
+
.include <bsd.port.mk>
diff --git a/net/gnome-netstatus/files/patch-icons_Makefile.in b/net/gnome-netstatus/files/patch-icons_Makefile.in
deleted file mode 100644
index 322be3dd67c5..000000000000
--- a/net/gnome-netstatus/files/patch-icons_Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- icons/Makefile.in.orig Wed Jun 9 14:26:05 2004
-+++ icons/Makefile.in Wed Jun 9 14:26:34 2004
-@@ -137,7 +137,7 @@
-
- iconsize = 48x48
- category = apps
--iconsdir = $(datadir)/icons/hicolor/$(iconsize)/$(category)
-+iconsdir = $(prefix)/share/icons/hicolor/$(iconsize)/$(category)
- icons_DATA = gnome-netstatus-disconn.png gnome-netstatus-idle.png gnome-netstatus-rx.png gnome-netstatus-tx.png gnome-netstatus-txrx.png gnome-netstatus-error.png gnome-netstatus-0-24.png gnome-netstatus-25-49.png gnome-netstatus-50-74.png gnome-netstatus-75-100.png
-
-