diff options
author | mezz <mezz@FreeBSD.org> | 2004-11-26 07:29:05 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2004-11-26 07:29:05 +0800 |
commit | 750f1b8383ec5dfaca24cc4a61b73bf164d0a0cc (patch) | |
tree | 1b3401f61319d30f9d91960eeb4c54bde92ebbb5 | |
parent | ddc9682dbe77fe93ee053649d2eb2db00204073c (diff) | |
download | freebsd-ports-gnome-750f1b8383ec5dfaca24cc4a61b73bf164d0a0cc.tar.gz freebsd-ports-gnome-750f1b8383ec5dfaca24cc4a61b73bf164d0a0cc.tar.zst freebsd-ports-gnome-750f1b8383ec5dfaca24cc4a61b73bf164d0a0cc.zip |
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
-rw-r--r-- | net/gnome-netstatus/Makefile | 4 | ||||
-rw-r--r-- | net/gnome-netstatus/files/patch-icons_Makefile.in | 11 | ||||
-rw-r--r-- | net/gnomenetstatus/Makefile | 4 | ||||
-rw-r--r-- | net/gnomenetstatus/files/patch-icons_Makefile.in | 11 |
4 files changed, 8 insertions, 22 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 - - diff --git a/net/gnomenetstatus/Makefile b/net/gnomenetstatus/Makefile index ee735aa98d5d..ac9d3bf93f5d 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 322be3dd67c5..000000000000 --- 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 - - |