summaryrefslogtreecommitdiffstats
path: root/net/gnomenetstatus
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2004-11-25 23:29:05 +0000
committermezz <mezz@FreeBSD.org>2004-11-25 23:29:05 +0000
commit750f1b8383ec5dfaca24cc4a61b73bf164d0a0cc (patch)
tree1b3401f61319d30f9d91960eeb4c54bde92ebbb5 /net/gnomenetstatus
parentddc9682dbe77fe93ee053649d2eb2db00204073c (diff)
downloadFreeBSD-ports-750f1b8383ec5dfaca24cc4a61b73bf164d0a0cc.zip
FreeBSD-ports-750f1b8383ec5dfaca24cc4a61b73bf164d0a0cc.tar.gz
Do with REINPLACE what used to be done with a patch. This is a temporary
measure until the new bsd.gnome.mk is introduced that does this replace in gnomehack. Reported by: GNOME Tinderbox
Diffstat (limited to 'net/gnomenetstatus')
-rw-r--r--net/gnomenetstatus/Makefile4
-rw-r--r--net/gnomenetstatus/files/patch-icons_Makefile.in11
2 files changed, 4 insertions, 11 deletions
diff --git a/net/gnomenetstatus/Makefile b/net/gnomenetstatus/Makefile
index ee735aa..ac9d3bf 100644
--- a/net/gnomenetstatus/Makefile
+++ b/net/gnomenetstatus/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/gnomenetstatus/files/patch-icons_Makefile.in b/net/gnomenetstatus/files/patch-icons_Makefile.in
deleted file mode 100644
index 322be3d..0000000
--- a/net/gnomenetstatus/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
-
-
OpenPOWER on IntegriCloud