aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-11-26 04:58:04 +0800
committermarcus <marcus@FreeBSD.org>2004-11-26 04:58:04 +0800
commitc01bbcd9cdb64776c419650a84a58415a7ac6329 (patch)
tree7ed07024926ec310f66a164c09a6025e83893067 /print
parent07aa809345445a6ed32f8feb0f061134ee098ded (diff)
downloadfreebsd-ports-gnome-c01bbcd9cdb64776c419650a84a58415a7ac6329.tar.gz
freebsd-ports-gnome-c01bbcd9cdb64776c419650a84a58415a7ac6329.tar.zst
freebsd-ports-gnome-c01bbcd9cdb64776c419650a84a58415a7ac6329.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.
Diffstat (limited to 'print')
-rw-r--r--print/gnome-cups-manager/Makefile3
-rw-r--r--print/gnome-cups-manager/files/patch-icons_Makefile.in15
2 files changed, 2 insertions, 16 deletions
diff --git a/print/gnome-cups-manager/Makefile b/print/gnome-cups-manager/Makefile
index cc04f8bfb031..7e96e21d3714 100644
--- a/print/gnome-cups-manager/Makefile
+++ b/print/gnome-cups-manager/Makefile
@@ -36,7 +36,8 @@ post-patch:
< ${FILESDIR}/gnome-cups-manager.desktop \
> ${WRKSRC}/gnome-cups-manager.desktop
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
- "s|-D.*_DISABLE_DEPRECATED||g"
+ 's|-D.*_DISABLE_DEPRECATED||g ; \
+ s|[(]datadir[)]/icons/hicolor|(prefix)/share/icons/hicolor|g'
post-install:
${MKDIR} ${PREFIX}/share/gnome/applications
diff --git a/print/gnome-cups-manager/files/patch-icons_Makefile.in b/print/gnome-cups-manager/files/patch-icons_Makefile.in
deleted file mode 100644
index dcbf0e2b30cf..000000000000
--- a/print/gnome-cups-manager/files/patch-icons_Makefile.in
+++ /dev/null
@@ -1,15 +0,0 @@
---- icons/Makefile.in.orig Tue Oct 5 14:58:36 2004
-+++ icons/Makefile.in Tue Oct 5 15:00:21 2004
-@@ -179,10 +179,10 @@
- sharedstatedir = @sharedstatedir@
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
--devicedir = $(datadir)/icons/hicolor/48x48/devices
-+devicedir = $(prefix)/share/icons/hicolor/48x48/devices
- device_DATA = gnome-dev-printer.png gnome-dev-printer-network.png gnome-dev-printer-new.png
-
--emblemdir = $(datadir)/icons/hicolor/48x48/stock/data
-+emblemdir = $(prefix)/share/icons/hicolor/48x48/stock/data
- emblem_DATA = emblem-default.png emblem-paused.png
-
- pixmapdir = $(datadir)/pixmaps/gnome-cups-manager