mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Fix several hardcoded paths. This should improve port's behaviour, so bump
PORTREVISION.
This commit is contained in:
parent
975ccd4f0b
commit
ed0efa313b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=37125
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= wmakerconf
|
||||
PORTVERSION= 2.7
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11-wm
|
||||
MASTER_SITES= http://ulli.linuxave.net/wmakerconf/
|
||||
|
||||
@ -41,4 +42,8 @@ PLIST_SUB+= GNOME:=""
|
||||
PLIST_SUB+= GNOME:="@comment "
|
||||
.endif
|
||||
|
||||
post-configure:
|
||||
@${PERL} -pi -e 's|%%X11BASE%%|${X11BASE}| ; s|%%LOCALBASE%%|${LOCALBASE}|' \
|
||||
${WRKSRC}/data/WMWmakerconf.gettext ${WRKSRC}/data/WMWmakerconf
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
58
x11-wm/wmakerconf/files/patch-data_WMWmakerconf
Normal file
58
x11-wm/wmakerconf/files/patch-data_WMWmakerconf
Normal file
@ -0,0 +1,58 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- data/WMWmakerconf 2001/01/12 13:53:53 1.1
|
||||
+++ data/WMWmakerconf 2001/01/12 13:56:24
|
||||
@@ -537,13 +537,13 @@
|
||||
Default = (
|
||||
"~/GNUstep/Library/WindowMaker/Pixmaps",
|
||||
"~/GNUstep/Library/WindowMaker/Backgrounds",
|
||||
- "/usr/share/WindowMaker/Pixmaps",
|
||||
- "/usr/share/WindowMaker/Backgrounds",
|
||||
- "/usr/local/share/WindowMaker/Pixmaps",
|
||||
- "/usr/local/share/WindowMaker/Backgrounds",
|
||||
- "/usr/X11R6/include/X11/pixmaps",
|
||||
- "/usr/local/share/pixmaps",
|
||||
- "/usr/share/pixmaps"
|
||||
+ "%%X11BASE%%/share/WindowMaker/Pixmaps",
|
||||
+ "%%X11BASE%%/share/WindowMaker/Backgrounds",
|
||||
+ "%%LOCALBASE%%/share/WindowMaker/Pixmaps",
|
||||
+ "%%LOCALBASE%%/share/WindowMaker/Backgrounds",
|
||||
+ "%%X11BASE%%/include/X11/pixmaps",
|
||||
+ "%%LOCALBASE%%/share/pixmaps",
|
||||
+ "%%X11BASE%%/share/pixmaps"
|
||||
);
|
||||
Range = ();
|
||||
};
|
||||
@@ -555,13 +555,13 @@
|
||||
Default = (
|
||||
"~/GNUstep/Library/Icons",
|
||||
"~/GNUstep/Library/WindowMaker/Pixmaps",
|
||||
- "/usr/share/WindowMaker/Icons",
|
||||
- "/usr/share/WindowMaker/Pixmaps",
|
||||
- "/usr/local/share/WindowMaker/Icons",
|
||||
- "/usr/local/share/WindowMaker/Pixmaps",
|
||||
- "/usr/X11R6/include/X11/pixmaps",
|
||||
- "/usr/local/share/pixmaps",
|
||||
- "/usr/share/pixmaps"
|
||||
+ "%%X11BASE%%/share/WindowMaker/Icons",
|
||||
+ "%%X11BASE%%/share/WindowMaker/Pixmaps",
|
||||
+ "%%LOCALBASE%%/share/WindowMaker/Icons",
|
||||
+ "%%LOCALBASE%%/share/WindowMaker/Pixmaps",
|
||||
+ "%%X11BASE%%/include/X11/pixmaps",
|
||||
+ "%%LOCALBASE%%/share/pixmaps",
|
||||
+ "%%X11BASE%%/share/pixmaps"
|
||||
);
|
||||
Range = ();
|
||||
};
|
||||
@@ -571,8 +571,8 @@
|
||||
Info = "Wmakerconf searches each of these paths in order for the list of available themes.";
|
||||
Title = "Theme search paths";
|
||||
Default = (
|
||||
- "/usr/share/WindowMaker/Themes",
|
||||
- "/usr/local/share/WindowMaker/Themes",
|
||||
+ "%%X11BASE%%/share/WindowMaker/Themes",
|
||||
+ "%%LOCALBASE%%/share/WindowMaker/Themes",
|
||||
"~/GNUstep/Library/WindowMaker/Themes"
|
||||
);
|
||||
Range = ();
|
58
x11-wm/wmakerconf/files/patch-data_WMWmakerconf.gettext
Normal file
58
x11-wm/wmakerconf/files/patch-data_WMWmakerconf.gettext
Normal file
@ -0,0 +1,58 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- data/WMWmakerconf.gettext 2001/01/12 13:54:02 1.1
|
||||
+++ data/WMWmakerconf.gettext 2001/01/12 13:56:24
|
||||
@@ -619,13 +619,13 @@
|
||||
Default = (
|
||||
"~/GNUstep/Library/WindowMaker/Pixmaps",
|
||||
"~/GNUstep/Library/WindowMaker/Backgrounds",
|
||||
- "/usr/share/WindowMaker/Pixmaps",
|
||||
- "/usr/share/WindowMaker/Backgrounds",
|
||||
- "/usr/local/share/WindowMaker/Pixmaps",
|
||||
- "/usr/local/share/WindowMaker/Backgrounds",
|
||||
- "/usr/X11R6/include/X11/pixmaps",
|
||||
- "/usr/local/share/pixmaps",
|
||||
- "/usr/share/pixmaps"
|
||||
+ "%%X11BASE%%/share/WindowMaker/Pixmaps",
|
||||
+ "%%X11BASE%%/share/WindowMaker/Backgrounds",
|
||||
+ "%%LOCALBASE%%/share/WindowMaker/Pixmaps",
|
||||
+ "%%LOCALBASE%%/share/WindowMaker/Backgrounds",
|
||||
+ "%%X11BASE%%/include/X11/pixmaps",
|
||||
+ "%%LOCALBASE%%/share/pixmaps",
|
||||
+ "%%X11BASE%%/share/pixmaps"
|
||||
);
|
||||
Range = ();
|
||||
};
|
||||
@@ -639,13 +639,13 @@
|
||||
Default = (
|
||||
"~/GNUstep/Library/Icons",
|
||||
"~/GNUstep/Library/WindowMaker/Pixmaps",
|
||||
- "/usr/share/WindowMaker/Icons",
|
||||
- "/usr/share/WindowMaker/Pixmaps",
|
||||
- "/usr/local/share/WindowMaker/Icons",
|
||||
- "/usr/local/share/WindowMaker/Pixmaps",
|
||||
- "/usr/X11R6/include/X11/pixmaps",
|
||||
- "/usr/local/share/pixmaps",
|
||||
- "/usr/share/pixmaps"
|
||||
+ "%%X11BASE%%/share/WindowMaker/Icons",
|
||||
+ "%%X11BASE%%/share/WindowMaker/Pixmaps",
|
||||
+ "%%LOCALBASE%%/share/WindowMaker/Icons",
|
||||
+ "%%LOCALBASE%%/share/WindowMaker/Pixmaps",
|
||||
+ "%%X11BASE%%/include/X11/pixmaps",
|
||||
+ "%%LOCALBASE%%/share/pixmaps",
|
||||
+ "%%X11BASE%%/share/pixmaps"
|
||||
);
|
||||
Range = ();
|
||||
};
|
||||
@@ -657,8 +657,8 @@
|
||||
/* Title: ThemePath */
|
||||
Title = _("Theme search paths");
|
||||
Default = (
|
||||
- "/usr/share/WindowMaker/Themes",
|
||||
- "/usr/local/share/WindowMaker/Themes",
|
||||
+ "%%X11BASE%%/share/WindowMaker/Themes",
|
||||
+ "%%LOCALBASE%%/share/WindowMaker/Themes",
|
||||
"~/GNUstep/Library/WindowMaker/Themes"
|
||||
);
|
||||
Range = ();
|
Loading…
Reference in New Issue
Block a user