1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

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.
This commit is contained in:
Joe Marcus Clarke 2004-11-25 20:58:04 +00:00
parent 61c89d37e0
commit 6a66a17275
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=122431
2 changed files with 2 additions and 16 deletions

View File

@ -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

View File

@ -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