svn commit: r317142 - in head/x11-wm: libwraster windowmaker windowmaker/files

Hiroki Sato hrs at FreeBSD.org
Thu May 2 19:37:33 UTC 2013


Author: hrs
Date: Thu May  2 19:37:23 2013
New Revision: 317142
URL: http://svnweb.freebsd.org/changeset/ports/317142

Log:
  - Fix build issue when devel/libinotify is installed[*].
  - Fix build with clang.  Remove USE_GCC=any.
  - Convert replacement commands in the post-patch target to patches.
  - Separate x11-wm/windowmaker and x11-wm/libwraster from each other.
  
  PR:		ports/176772 [*]
  Reported by:	O. Hartmann [*]

Added:
  head/x11-wm/libwraster/distinfo   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WINGs__proplist.c   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WINGs__wapplication.c   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WPrefs.app__Menu.c   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WPrefs.app__Paths.c   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-Defaults-Makefile.in   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-Defaults-WindowMaker.in   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-menu   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-menu.bg   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-menu.ca   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-menu.cz   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-menu.da   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-menu.de   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-menu.el   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-menu.es   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-menu.fi   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-menu.fr   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-menu.gl   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-menu.he   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-menu.hr   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-menu.hu   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-menu.it   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-menu.ja   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-menu.ko   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-menu.nl   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-menu.no   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-menu.pl   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-menu.pt   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-menu.ro   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-menu.ru   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-menu.se   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-menu.sk   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-menu.sl   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-menu.tr   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-menu.zh_CN   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-menu.zh_TW   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-plmenu   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-plmenu.bg   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-plmenu.da   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-plmenu.de   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-plmenu.es   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-plmenu.fi   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-plmenu.fr   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-plmenu.hr   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-plmenu.it   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-plmenu.ja   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-plmenu.ko   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-plmenu.pl   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-plmenu.ro   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-plmenu.sk   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-plmenu.zh_CN   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-WindowMaker-plmenu.zh_TW   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-configure   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-src__startup.c   (contents, props changed)
  head/x11-wm/windowmaker/files/patch-util__wmgenmenu.c   (contents, props changed)
Modified:
  head/x11-wm/libwraster/Makefile
  head/x11-wm/libwraster/pkg-plist
  head/x11-wm/windowmaker/Makefile

Modified: head/x11-wm/libwraster/Makefile
==============================================================================
--- head/x11-wm/libwraster/Makefile	Thu May  2 19:34:48 2013	(r317141)
+++ head/x11-wm/libwraster/Makefile	Thu May  2 19:37:23 2013	(r317142)
@@ -1,30 +1,48 @@
 # $FreeBSD$
 
 PORTNAME=	libwraster
-PORTREVISION=	0
+PORTVERSION=	0.95.4
+PORTREVISION=	1
+CATEGORIES=	x11-wm windowmaker
+MASTER_SITES=	http://windowmaker.org/pub/%SUBDIR%/
+MASTER_SITE_SUBDIR=	source/release
+DISTNAME=	WindowMaker-${PORTVERSION}
 
+MAINTAINER=	hrs at FreeBSD.org
 COMMENT=	Window Maker raster graphics library
 
 LICENSE=	LGPL21
 
-MASTERDIR=	${.CURDIR}/../windowmaker
-
+LIB_DEPENDS=	gif:${PORTSDIR}/graphics/giflib \
+		png15:${PORTSDIR}/graphics/png \
+		jbig:${PORTSDIR}/graphics/jbigkit \
+		tiff:${PORTSDIR}/graphics/tiff
+
+USES=		pathfix pkgconfig
+USE_AUTOTOOLS=	libtool
+USE_LDCONFIG=	yes
+USE_XORG=	xft xinerama xmu xpm
 BUILD_WRKSRC=	${WRKSRC}/wrlib
 INSTALL_WRKSRC=	${WRKSRC}/wrlib
-
-PATCHDIR=	# To void equivalent in master port
-DESCR=		${.CURDIR}/pkg-descr
-PLIST=		${.CURDIR}/pkg-plist
+CONFIGURE_ARGS=	--with-pixmapdir=${PREFIX}/include/X11/pixmaps \
+		--with-nlsdir=${PREFIX}/share/locale \
+		--with-libs-from="-L${LOCALBASE}/lib" \
+		--with-incs-from="-I${LOCALBASE}/include" \
+		--with-gnustepdir="${PREFIX}/GNUstep" \
+		--enable-modelock \
+		--enable-xinerama --enable-usermenu \
+		--with-x
+MAKE_JOBS_SAFE=	yes
+CPPFLAGS+=	-DPREFIX=\\\"${PREFIX}\\\" -I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
 
 MAN1=		get-wraster-flags.1
 
-LWR_SLAVE=	yes
-
 pre-build:
 	cd ${WRKSRC} && ${MAKE} config-paths.h
 
 post-install:
-	(cd ${WRKSRC}/doc \
-		&& ${INSTALL_MAN} get-wraster-flags.1 ${MANPREFIX}/man/man1)
+	cd ${WRKSRC}/doc \
+		&& ${INSTALL_MAN} get-wraster-flags.1 ${MANPREFIX}/man/man1
 
-.include "${MASTERDIR}/Makefile"
+.include <bsd.port.mk>

Added: head/x11-wm/libwraster/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/libwraster/distinfo	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,2 @@
+SHA256 (WindowMaker-0.95.4.tar.gz) = 2bea97f00570f05ff115d147457c16abefe496a4fc882a027152ce592d768e45
+SIZE (WindowMaker-0.95.4.tar.gz) = 2789390

Modified: head/x11-wm/libwraster/pkg-plist
==============================================================================
--- head/x11-wm/libwraster/pkg-plist	Thu May  2 19:34:48 2013	(r317141)
+++ head/x11-wm/libwraster/pkg-plist	Thu May  2 19:37:23 2013	(r317142)
@@ -1,3 +1,4 @@
+ at comment $FreeBSD$
 bin/get-wraster-flags
 include/wraster.h
 lib/libwraster.a

Modified: head/x11-wm/windowmaker/Makefile
==============================================================================
--- head/x11-wm/windowmaker/Makefile	Thu May  2 19:34:48 2013	(r317141)
+++ head/x11-wm/windowmaker/Makefile	Thu May  2 19:37:23 2013	(r317142)
@@ -1,34 +1,31 @@
 # Created by: Brian Handy <handy at physics.montana.edu>
 # $FreeBSD$
 
-PORTNAME?=	windowmaker
+PORTNAME=	windowmaker
 PORTVERSION=	0.95.4
+PORTREVISION=	1
 CATEGORIES=	x11-wm windowmaker
 MASTER_SITES=	http://windowmaker.org/pub/%SUBDIR%/
 MASTER_SITE_SUBDIR=	source/release
 DISTNAME=	WindowMaker-${PORTVERSION}
 
 MAINTAINER=	hrs at FreeBSD.org
-COMMENT?=	GNUstep-compliant NeXTstep window manager clone
+COMMENT=	GNUstep-compliant NeXTstep window manager clone
 
-LICENSE?=	GPLv2
+LICENSE=	GPLv2
 
 LIB_DEPENDS=	gif:${PORTSDIR}/graphics/giflib \
 		png15:${PORTSDIR}/graphics/png \
 		jbig:${PORTSDIR}/graphics/jbigkit \
-		tiff:${PORTSDIR}/graphics/tiff
+		tiff:${PORTSDIR}/graphics/tiff \
+		wraster:${PORTSDIR}/x11-wm/libwraster
+RUN_DEPENDS=	${LOCALBASE}/share/WindowMaker/Themes/LeetWM.themed/style:${PORTSDIR}/graphics/wmicons
 
-.if !defined(LWR_SLAVE)
-LIB_DEPENDS+=	wraster:${PORTSDIR}/x11-wm/libwraster
-RUN_DEPENDS+=	${LOCALBASE}/share/WindowMaker/Themes/LeetWM.themed/style:${PORTSDIR}/graphics/wmicons
+USES=		pathfix pkgconfig
+USE_AUTOTOOLS=	libtool
+USE_LDCONFIG=	yes
 USE_PERL5=	yes
-OPTIONS_DEFINE=	NLS XRANDR
-.endif
-
-USE_GCC=	any
 USE_XORG=	xft xinerama xmu xpm
-USES=	pathfix pkgconfig
-USE_AUTOTOOLS=	libtool
 CONFIGURE_ARGS=	--with-pixmapdir=${PREFIX}/include/X11/pixmaps \
 		--with-nlsdir=${PREFIX}/share/locale \
 		--with-libs-from="-L${LOCALBASE}/lib" \
@@ -37,15 +34,15 @@ CONFIGURE_ARGS=	--with-pixmapdir=${PREFI
 		--enable-modelock \
 		--enable-xinerama --enable-usermenu \
 		--with-x
-USE_LDCONFIG=	yes
 MAKE_JOBS_SAFE=	yes
-
-CPPFLAGS+=	-I${LOCALBASE}/include
+CPPFLAGS+=	-DPREFIX=\\\"${PREFIX}\\\" -I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
+PORTDOCS=	AUTHORS BUGFORM BUGS ChangeLog FAQ FAQ.I18N INSTALL \
+		INSTALL-WMAKER NEWS README README.definable-cursor TODO
 
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE=	DOCS NLS XRANDR
 
-.if !defined(LWR_SLAVE)
+.include <bsd.port.pre.mk>
 
 .if ${ARCH} == amd64 && ${OSVERSION} < 800000
 CONFIGURE_ENV+=	ac_cv_c_inline_asm=no
@@ -56,18 +53,19 @@ CPPFLAGS+=	-DHAVE_SYS_SELECT_H
 .endif
 
 .if ${PORT_OPTIONS:MNLS}
-USE_GETTEXT=   yes
-LINGUAS=	be bg bs ca cs da de el es et fi fr gl hr hu hy it ja ko ms nl no pl pt ro ru sk sv tr zh_CN zh_TW
+USE_GETTEXT=	yes
+LINGUAS=	be bg bs ca cs da de el es et fi fr gl hr hu hy it \
+		ja ko ms nl no pl pt ro ru sk sv tr zh_CN zh_TW
 CONFIGURE_ENV+=	LINGUAS="${LINGUAS}"
-PLIST_SUB=     NLS=""
+PLIST_SUB=	NLS=""
 .else
-CONFIGURE_ARGS+=       --disable-locale
-PLIST_SUB=     NLS="@comment "
+CONFIGURE_ARGS+=--disable-locale
+PLIST_SUB=	NLS="@comment "
 .endif
 
 .if ${PORT_OPTIONS:MXRANDR}
 USE_XORG+=	xrandr
-CONFIGURE_ARGS+=	--enable-xrandr
+CONFIGURE_ARGS+=--enable-xrandr
 .endif
 
 MANLANG=	"" cs sk ru
@@ -75,49 +73,21 @@ MAN1_EN=	geticonset.1x getstyle.1x setic
 		wmaker.1x wmsetbg.1x wxcopy.1x wxpaste.1x get-wings-flags.1 \
 		get-wutil-flags.1 wdread.1 WindowMaker.1x wmagnify.1x \
 		wmgenmenu.1 wmmenugen.1 WPrefs.1x
-
 MAN8_EN=	upgrade-windowmaker-defaults.8
-
 MAN1_CS=	geticonset.1x setstyle.1x wxpaste.1x getstyle.1x wdwrite.1x \
 		wmsetbg.1x seticons.1x wmaker.1x wxcopy.1x
-
 MAN1_SK=	geticonset.1x setstyle.1x wxpaste.1x getstyle.1x wdwrite.1x \
 		wmsetbg.1x seticons.1x wmaker.1x wxcopy.1x
-
 MAN1_RU=	geticonset.1x setstyle.1x wxpaste.1x getstyle.1x wdwrite.1x \
 		wmsetbg.1x seticons.1x wmaker.1x wxcopy.1x
 
-PORTDOCS=	AUTHORS BUGFORM BUGS ChangeLog FAQ FAQ.I18N INSTALL \
-		INSTALL-WMAKER NEWS README README.definable-cursor TODO
-
-post-patch:
-.for f in WINGs/wapplication.c WPrefs.app/Menu.c WPrefs.app/Paths.c \
-    WindowMaker/*menu*
-	@${REINPLACE_CMD} -e "s#/usr/local#${PREFIX}#g" ${WRKSRC}/${f}
-.endfor
-	@${REINPLACE_CMD} -e '/\/usr\/X11R6\/include\/X11\/pixmaps/d' \
-	    -e '/\/usr\/share\/pixmaps/d' \
-	    -e "s#\"/usr/local/share/pixmaps\",#\"${PREFIX}/share/pixmaps\"#" \
-	    -e "s#/usr/share/icons#${PREFIX}/share/icons#" \
-	    ${WRKSRC}/WindowMaker/Defaults/WindowMaker.in
-	@${REINPLACE_CMD} -e "s#/usr/include/X11#${PREFIX}/share#" \
-	    ${WRKSRC}/WPrefs.app/Paths.c
-	@${REINPLACE_CMD} -e "s#WPrefs#${PREFIX}/GNUstep/Applications/WPrefs.app/WPrefs#" \
-	    ${WRKSRC}/util/wmgenmenu.c
-	@${REINPLACE_CMD} -e "764s#wPreferences.flags.restarting == 0#!wPreferences.flags.restarting#" \
-	    ${WRKSRC}/src/startup.c
-
 post-install:
-	@${MKDIR} ${PREFIX}/GNUstep/Applications/WPrefs.app/xpm
-	@${MKDIR} ${PREFIX}/share/WindowMaker/Sounds
+	@${MKDIR} \
+		${PREFIX}/GNUstep/Applications/WPrefs.app/xpm \
+		${PREFIX}/share/WindowMaker/Sounds
 .if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
 .endif
 
-update-LINGUAS: extract
-	cd ${WRKSRC}/po && \
-		${ECHO_CMD} *.po | ${SED} 's|\.po||g' > ${FILESDIR}/LINGUAS
-.endif	# .if !defined(LWR_SLAVE)
-
 .include <bsd.port.post.mk>

Added: head/x11-wm/windowmaker/files/patch-WINGs__proplist.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WINGs__proplist.c	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,20 @@
+--- WINGs/proplist.c.orig	2013-05-03 02:48:24.000000000 +0900
++++ WINGs/proplist.c	2013-05-03 02:52:24.000000000 +0900
+@@ -1162,7 +1162,7 @@
+ 	WMPropList *key, *value, *dvalue;
+ 	WMHashEnumerator e;
+ 
+-	wassertr(source->type == WPLDictionary && dest->type == WPLDictionary);
++	wassertrv(source->type == WPLDictionary && dest->type == WPLDictionary, NULL);
+ 
+ 	if (source == dest)
+ 		return dest;
+@@ -1189,7 +1189,7 @@
+ 	WMPropList *key, *value, *dvalue;
+ 	WMHashEnumerator e;
+ 
+-	wassertr(source->type == WPLDictionary && dest->type == WPLDictionary);
++	wassertrv(source->type == WPLDictionary && dest->type == WPLDictionary, NULL);
+ 
+ 	if (source == dest) {
+ 		WMPropList *keys = WMGetPLDictionaryKeys(dest);

Added: head/x11-wm/windowmaker/files/patch-WINGs__wapplication.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WINGs__wapplication.c	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,11 @@
+--- WINGs/wapplication.c.orig	2013-05-03 02:55:29.000000000 +0900
++++ WINGs/wapplication.c	2013-05-03 02:56:04.000000000 +0900
+@@ -159,7 +159,7 @@
+ 	if (path)
+ 		goto out;
+ 
+-	path = checkFile("/usr/local/GNUstep", appdir, ext, resource);
++	path = checkFile(PREFIX "/GNUstep", appdir, ext, resource);
+ 	if (path)
+ 		goto out;
+ 

Added: head/x11-wm/windowmaker/files/patch-WPrefs.app__Menu.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WPrefs.app__Menu.c	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,25 @@
+--- WPrefs.app/Menu.c.orig	2013-05-03 02:57:08.000000000 +0900
++++ WPrefs.app/Menu.c	2013-05-03 02:57:53.000000000 +0900
+@@ -512,19 +512,19 @@
+ 		data = putNewItem(panel, pad, DirectoryInfo, _("Themes"));
+ 		data->param.directory.command = "setstyle";
+ 		data->param.directory.directory =
+-		    "/usr/share/WindowMaker/Themes /usr/local/share/WindowMaker/Themes $HOME/GNUstep/Library/WindowMaker/Themes";
++		    "/usr/share/WindowMaker/Themes " PREFIX "/share/WindowMaker/Themes $HOME/GNUstep/Library/WindowMaker/Themes";
+ 		data->param.directory.stripExt = 1;
+ 
+ 		data = putNewItem(panel, pad, DirectoryInfo, _("Bg Images (scale)"));
+ 		data->param.directory.command = "wmsetbg -u -s";
+ 		data->param.directory.directory =
+-		    "/opt/kde2/share/wallpapers /usr/share/WindowMaker/Backgrounds $HOME/GNUstep/Library/WindowMaker/Backgrounds";
++		    "/opt/kde2/share/wallpapers " PREFIX "/share/WindowMaker/Backgrounds $HOME/GNUstep/Library/WindowMaker/Backgrounds";
+ 		data->param.directory.stripExt = 1;
+ 
+ 		data = putNewItem(panel, pad, DirectoryInfo, _("Bg Images (tile)"));
+ 		data->param.directory.command = "wmsetbg -u -t";
+ 		data->param.directory.directory =
+-		    "/opt/kde2/share/wallpapers /usr/share/WindowMaker/Backgrounds $HOME/GNUstep/Library/WindowMaker/Backgrounds";
++		    "/opt/kde2/share/wallpapers " PREFIX "/share/WindowMaker/Backgrounds $HOME/GNUstep/Library/WindowMaker/Backgrounds";
+ 		data->param.directory.stripExt = 1;
+ 
+ 		smenu = putNewSubmenu(pad, _("Assorted XTerms"));

Added: head/x11-wm/windowmaker/files/patch-WPrefs.app__Paths.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WPrefs.app__Paths.c	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,24 @@
+--- WPrefs.app/Paths.c.orig	2013-05-03 02:52:46.000000000 +0900
++++ WPrefs.app/Paths.c	2013-05-03 02:59:08.000000000 +0900
+@@ -78,9 +78,9 @@
+ 			wwarning(_("bad value in option IconPath. Using default path list"));
+ 		addPathToList(panel->icoL, -1, "~/pixmaps");
+ 		addPathToList(panel->icoL, -1, "~/GNUstep/Library/Icons");
+-		addPathToList(panel->icoL, -1, "/usr/include/X11/pixmaps");
+-		addPathToList(panel->icoL, -1, "/usr/local/share/WindowMaker/Icons");
+-		addPathToList(panel->icoL, -1, "/usr/local/share/WindowMaker/Pixmaps");
++		addPathToList(panel->icoL, -1, PREFIX "/share/pixmaps");
++		addPathToList(panel->icoL, -1, PREFIX "/share/WindowMaker/Icons");
++		addPathToList(panel->icoL, -1, PREFIX "/share/WindowMaker/Pixmaps");
+ 		addPathToList(panel->icoL, -1, "/usr/share/WindowMaker/Icons");
+ 	} else {
+ 		for (i = 0; i < WMGetPropListItemCount(array); i++) {
+@@ -95,7 +95,7 @@
+ 			wwarning(_("bad value in option PixmapPath. Using default path list"));
+ 		addPathToList(panel->pixL, -1, "~/pixmaps");
+ 		addPathToList(panel->pixL, -1, "~/GNUstep/Library/WindowMaker/Pixmaps");
+-		addPathToList(panel->pixL, -1, "/usr/local/share/WindowMaker/Pixmaps");
++		addPathToList(panel->pixL, -1, PREFIX "/share/WindowMaker/Pixmaps");
+ 	} else {
+ 		for (i = 0; i < WMGetPropListItemCount(array); i++) {
+ 			val = WMGetFromPLArray(array, i);

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-Defaults-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-Defaults-Makefile.in	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,13 @@
+--- WindowMaker/Defaults/Makefile.in.orig	2013-01-10 06:43:07.000000000 +0900
++++ WindowMaker/Defaults/Makefile.in	2013-05-03 03:47:45.000000000 +0900
+@@ -458,7 +458,9 @@
+ 
+ WindowMaker: $(srcdir)/WindowMaker.in
+ 	-rm -f WindowMaker
+-	sed -e "s:#pkgdatadir#:$(pkgdatadir):" $(srcdir)/WindowMaker.in \
++	sed -e "s:#pkgdatadir#:$(pkgdatadir):" \
++	    -e "s:#prefix#:$(prefix):" \
++		$(srcdir)/WindowMaker.in \
+ 		> WindowMaker
+ 	chmod 644 WindowMaker
+ 

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-Defaults-WindowMaker.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-Defaults-WindowMaker.in	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,28 @@
+--- WindowMaker/Defaults/WindowMaker.in.orig	2013-01-10 06:42:39.000000000 +0900
++++ WindowMaker/Defaults/WindowMaker.in	2013-05-03 03:50:44.000000000 +0900
+@@ -12,12 +12,10 @@
+     "~/GNUstep/Library/Icons",
+     "#pkgdatadir#/Icons",
+     "#pkgdatadir#/Pixmaps",
+-    "/usr/include/X11/pixmaps",
+     "~/GNUstep/Library/WindowMaker/Pixmaps",
+     "~/GNUstep/Library/WindowMaker/CachedPixmaps",
+-    "/usr/share/icons",
+-    "/usr/local/share/pixmaps",
+-    "/usr/share/pixmaps"
++    "#prefix#/share/icons",
++    "#prefix#/share/pixmaps"
+   );
+   PixmapPath = (
+     "~/GNUstep/Library/WindowMaker/Pixmaps",
+@@ -25,9 +23,7 @@
+     "~/GNUstep/Library/WindowMaker/CachedPixmaps",
+     "#pkgdatadir#/Pixmaps",
+     "#pkgdatadir#/Backgrounds",
+-    "/usr/include/X11/pixmaps",
+-    "/usr/local/share/pixmaps",
+-    "/usr/share/pixmaps"
++    "#prefix#/share/pixmaps"
+   );
+   WindowTitleBalloons = YES;
+   IconSize = 64;

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-menu
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-menu	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,11 @@
+--- WindowMaker/menu.orig	2013-05-03 03:12:25.000000000 +0900
++++ WindowMaker/menu	2013-05-03 03:12:17.000000000 +0900
+@@ -208,7 +208,7 @@
+ 		"Background" END
+ 		"Save Theme" SHEXEC getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/"%a(Theme name,Enter file name:)"
+ 		"Save IconSet" SHEXEC geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/"%a(IconSet name,Enter file name:)"
+-		"Preferences Utility" EXEC /usr/local/GNUstep/Applications/WPrefs.app/WPrefs
++		"Preferences Utility" EXEC PREFIX/GNUstep/Applications/WPrefs.app/WPrefs
+ 	"Appearance" END
+ 
+ 	"Session" MENU

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-menu.bg
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-menu.bg	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,20 @@
+--- WindowMaker/menu.bg.orig	2013-05-03 03:12:26.000000000 +0900
++++ WindowMaker/menu.bg	2013-05-03 03:12:17.000000000 +0900
+@@ -136,7 +136,7 @@
+ 		"LyX" EXEC lyx
+ 		"Netscape" EXEC netscape
+ 		"Ghostview" EXEC ghostview %a(GhostView,Enter file to view)
+-		"Acrobat" EXEC /usr/local/Acrobat3/bin/acroread %a(Acrobar,Enter PDF to view)
++		"Acrobat" EXEC PREFIX/Acrobat3/bin/acroread %a(Acrobar,Enter PDF to view)
+ 		"TkDesk" EXEC tkdesk
+ 	"Приложения" END
+ 	"Редактори" MENU
+@@ -209,7 +209,7 @@
+ 		"Фон" END
+ 		"Запази темата" SHEXEC getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/"%a(Theme name,Enter file name:)"
+ 		"Запази колекцията иконки" SHEXEC geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/"%a(IconSet name,Enter file name:)"
+-		"Пособие за настройки" EXEC /usr/local/GNUstep/Applications/WPrefs.app/WPrefs
++		"Пособие за настройки" EXEC PREFIX/GNUstep/Applications/WPrefs.app/WPrefs
+ 	"Изглед" END
+ 
+ 	"Изход"	MENU

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-menu.ca
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-menu.ca	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,11 @@
+--- WindowMaker/menu.ca.orig	2013-05-03 03:12:26.000000000 +0900
++++ WindowMaker/menu.ca	2013-05-03 03:12:17.000000000 +0900
+@@ -130,7 +130,7 @@
+                 "LyX" EXEC lyx
+                 "Netscape" EXEC netscape 
+                 "Ghostview" EXEC ghostview %a(Enter file to view)
+-                "Acrobat" EXEC /usr/local/Acrobat3/bin/acroread %a(Enter PDF to view)
++                "Acrobat" EXEC PREFIX/Acrobat3/bin/acroread %a(Enter PDF to view)
+                 "TkDesk" EXEC tkdesk
+         "Aplicacions" END
+         "Editors" MENU

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-menu.cz
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-menu.cz	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,11 @@
+--- WindowMaker/menu.cz.orig	2013-05-03 03:12:26.000000000 +0900
++++ WindowMaker/menu.cz	2013-05-03 03:12:17.000000000 +0900
+@@ -84,7 +84,7 @@
+ //		"LyX" EXEC lyx
+ 		"Netscape" EXEC netscape
+   		"Ghostview" EXEC ghostview
+-		"Acrobat" EXEC /usr/local/Acrobat3/bin/acroread
++		"Acrobat" EXEC PREFIX/Acrobat3/bin/acroread
+ 		"OpenDOS" EXEC runxdos
+ //  		"TkDesk" EXEC tkdesk
+ 	"Aplikace" END

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-menu.da
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-menu.da	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,11 @@
+--- WindowMaker/menu.da.orig	2013-05-03 03:12:26.000000000 +0900
++++ WindowMaker/menu.da	2013-05-03 03:12:17.000000000 +0900
+@@ -124,7 +124,7 @@
+                 "LyX" EXEC lyx
+                 "Netscape" EXEC netscape 
+                 "Ghostview" EXEC ghostview %a(GhostView,Indtast filnavn)
+-                "Acrobat" EXEC /usr/local/Acrobat3/bin/acroread %a(Acrobat,Indtast PDF-filnavn)
++                "Acrobat" EXEC PREFIX/Acrobat3/bin/acroread %a(Acrobat,Indtast PDF-filnavn)
+                 "TkDesk" EXEC tkdesk
+         "Applikationer" END
+         "Tekstbehandling" MENU

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-menu.de
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-menu.de	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,11 @@
+--- WindowMaker/menu.de.orig	2013-05-03 03:12:26.000000000 +0900
++++ WindowMaker/menu.de	2013-05-03 03:12:17.000000000 +0900
+@@ -64,7 +64,7 @@
+ 		"Netscape" EXEC netscape
+                	"Ghostview" EXEC ghostview %a(Ghostview)
+                 "XDvi" EXEC xdvi %a(XDvi)
+-               	"Acrobat" EXEC /usr/local/Acrobat3/bin/acroread %a(Acrobat)
++               	"Acrobat" EXEC PREFIX/Acrobat3/bin/acroread %a(Acrobat)
+   		"TkDesk" EXEC tkdesk
+ 	"Anwendungen" END
+ 	"Editoren" MENU

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-menu.el
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-menu.el	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,11 @@
+--- WindowMaker/menu.el.orig	2013-05-03 03:12:26.000000000 +0900
++++ WindowMaker/menu.el	2013-05-03 03:12:17.000000000 +0900
+@@ -139,7 +139,7 @@
+ 		"LyX" EXEC lyx
+ 		"Netscape" EXEC netscape 
+   		"Ghostview" EXEC ghostview %a(Αρχείο προς ανάγνωση)
+-		"Acrobat" EXEC /usr/local/Acrobat3/bin/acroread %a(Acrobar,Γράψε το PDF προς προβολή)
++		"Acrobat" EXEC PREFIX/Acrobat3/bin/acroread %a(Acrobar,Γράψε το PDF προς προβολή)
+   		"TkDesk" EXEC tkdesk
+ 	"Προγράμματα" END
+ 	"Κειμενογράφοι" MENU

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-menu.es
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-menu.es	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,11 @@
+--- WindowMaker/menu.es.orig	2013-05-03 03:12:26.000000000 +0900
++++ WindowMaker/menu.es	2013-05-03 03:12:17.000000000 +0900
+@@ -90,7 +90,7 @@
+ 		"OffiX Files" EXEC files
+ 		"LyX" EXEC lyx
+ 		"Ghostview" EXEC ghostview
+-		"Acrobat" EXEC /usr/local/Acrobat3/bin/acroread
++		"Acrobat" EXEC PREFIX/Acrobat3/bin/acroread
+ 		"TkDesk" EXEC tkdesk
+ 	"Aplicaciones ..." END
+ 

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-menu.fi
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-menu.fi	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,20 @@
+--- WindowMaker/menu.fi.orig	2013-05-03 03:12:26.000000000 +0900
++++ WindowMaker/menu.fi	2013-05-03 03:12:17.000000000 +0900
+@@ -129,7 +129,7 @@
+ 		"LyX" EXEC lyx
+ 		"Netscape" EXEC netscape 
+   		"Ghostview" EXEC ghostview %a(GhostView,Kirjoita näytettävän tiedoston nimi:)
+-		"Acrobat" EXEC /usr/local/Acrobat3/bin/acroread %a(Acrobat,Kirjoita näytettävän PDF-tiedoston nimi)
++		"Acrobat" EXEC PREFIX/Acrobat3/bin/acroread %a(Acrobat,Kirjoita näytettävän PDF-tiedoston nimi)
+   		"TkDesk" EXEC tkdesk
+ 	"Sovellukset" END
+ 	"Editorit" MENU
+@@ -202,7 +202,7 @@
+ 		"Taustat" END
+ 		"Tallenna teema" SHEXEC getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/"%a(Teeman nimi,Kirjoita teematiedoston nimi:)"
+ 		"Tallenna kuvakkeet" SHEXEC geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/"%a(Kuvakesetin nimi,Kirjoita tiedostonnimi:)"
+-		"Asetukset" EXEC /usr/local/GNUstep/Applications/WPrefs.app/WPrefs
++		"Asetukset" EXEC PREFIX/GNUstep/Applications/WPrefs.app/WPrefs
+ 	"Ulkonäkö" END
+ 
+ 	"Lopeta"	MENU

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-menu.fr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-menu.fr	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,11 @@
+--- WindowMaker/menu.fr.orig	2013-05-03 03:12:26.000000000 +0900
++++ WindowMaker/menu.fr	2013-05-03 03:12:17.000000000 +0900
+@@ -175,7 +175,7 @@
+ 		"LyX" EXEC lyx
+ 		"Netscape" EXEC netscape
+ 		"Ghostview" EXEC ghostview %a(Entrez un fichier)
+-		"Acrobat" EXEC /usr/local/Acrobat3/bin/acroread %a(Acrobat,Entrez un fichier PDF)
++		"Acrobat" EXEC PREFIX/Acrobat3/bin/acroread %a(Acrobat,Entrez un fichier PDF)
+ 		"TkDesk" EXEC tkdesk
+ 	"Applications" END
+ 	"Editeurs" MENU

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-menu.gl
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-menu.gl	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,11 @@
+--- WindowMaker/menu.gl.orig	2013-05-03 03:12:26.000000000 +0900
++++ WindowMaker/menu.gl	2013-05-03 03:12:17.000000000 +0900
+@@ -64,7 +64,7 @@
+ 		"LyX" EXEC lyx
+ 		"Netscape" EXEC netscape 
+   		"Ghostview" EXEC ghostview
+-		"Acrobat" EXEC /usr/local/Acrobat3/bin/acroread
++		"Acrobat" EXEC PREFIX/Acrobat3/bin/acroread
+   		"TkDesk" EXEC tkdesk
+ 	"Aplicacións" END
+ 	"Editores" MENU

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-menu.he
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-menu.he	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,11 @@
+--- WindowMaker/menu.he.orig	2013-05-03 03:12:26.000000000 +0900
++++ WindowMaker/menu.he	2013-05-03 03:12:17.000000000 +0900
+@@ -116,7 +116,7 @@
+ 		"LyX" EXEC lyx
+ 		"פייקסטנ" EXEC netscape 
+   		"Ghostview" EXEC ghostview %a(Enter file to view)
+-		"Acrobat" EXEC /usr/local/Acrobat3/bin/acroread %a(Enter PDF to view)
++		"Acrobat" EXEC PREFIX/Acrobat3/bin/acroread %a(Enter PDF to view)
+   		"TkDesk" EXEC tkdesk
+ 	"םימושי" END
+ 	"םיכרוע" MENU

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-menu.hr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-menu.hr	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,11 @@
+--- WindowMaker/menu.hr.orig	2013-05-03 03:12:26.000000000 +0900
++++ WindowMaker/menu.hr	2013-05-03 03:12:17.000000000 +0900
+@@ -118,7 +118,7 @@
+ 		"LyX" EXEC lyx
+ 		"Netscape" EXEC netscape 
+   		"Ghostview" EXEC ghostview %a(Enter file to view)
+-		"Acrobat" EXEC /usr/local/Acrobat3/bin/acroread %a(Enter PDF to view)
++		"Acrobat" EXEC PREFIX/Acrobat3/bin/acroread %a(Enter PDF to view)
+   		"TkDesk" EXEC tkdesk
+ 	"Programi" END
+ 	"Editori" MENU

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-menu.hu
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-menu.hu	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,11 @@
+--- WindowMaker/menu.hu.orig	2013-05-03 03:12:26.000000000 +0900
++++ WindowMaker/menu.hu	2013-05-03 03:12:17.000000000 +0900
+@@ -133,7 +133,7 @@
+ 		"LyX" EXEC lyx
+ 		"Netscape" EXEC netscape 
+   		"Ghostview" EXEC ghostview %a(GhostView,Kérem a fájl nevét)
+-		"Acrobat" EXEC /usr/local/Acrobat3/bin/acroread %a(Acrobat,Kérem a PDF fájl nevét)
++		"Acrobat" EXEC PREFIX/Acrobat3/bin/acroread %a(Acrobat,Kérem a PDF fájl nevét)
+   		"TkDesk" EXEC tkdesk
+ 	"Alkalmazások" END
+ 	"Szerkesztők" MENU

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-menu.it
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-menu.it	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,11 @@
+--- WindowMaker/menu.it.orig	2013-05-03 03:12:25.000000000 +0900
++++ WindowMaker/menu.it	2013-05-03 03:12:17.000000000 +0900
+@@ -65,7 +65,7 @@
+ 		"Netscape" EXEC netscape 
+   		"Ghostview" EXEC ghostview %a(Ghostview)
+                 "XDvi" EXEC xdvi %a(XDvi)
+-		"Acrobat" EXEC /usr/local/Acrobat3/bin/acroread %a(Acrobat)
++		"Acrobat" EXEC PREFIX/Acrobat3/bin/acroread %a(Acrobat)
+   		"TkDesk" EXEC tkdesk
+ 	"Applicazioni" END
+ 	"Editori" MENU

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-menu.ja
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-menu.ja	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,11 @@
+--- WindowMaker/menu.ja.orig	2013-05-03 03:12:25.000000000 +0900
++++ WindowMaker/menu.ja	2013-05-03 03:12:17.000000000 +0900
+@@ -122,7 +122,7 @@
+ 		"LyX" EXEC lyx
+ 		"Netscape" EXEC netscape 
+   		"Ghostview" EXEC ghostview %a(Enter file to view)
+-		"Acrobat" EXEC /usr/local/Acrobat3/bin/acroread %a(Enter PDF to view)
++		"Acrobat" EXEC PREFIX/Acrobat3/bin/acroread %a(Enter PDF to view)
+   		"TkDesk" EXEC tkdesk
+ 	"アプリケーション" END
+ 	"エディタ" MENU

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-menu.ko
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-menu.ko	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,11 @@
+--- WindowMaker/menu.ko.orig	2013-05-03 03:12:25.000000000 +0900
++++ WindowMaker/menu.ko	2013-05-03 03:12:17.000000000 +0900
+@@ -163,7 +163,7 @@
+ 		"세션 지움" CLEAR_SESSION
+ 	"창 관 리" END
+ 	"작업환경" MENU
+-		"설    정" SHEXEC /usr/local/GNUstep/Applications/WPrefs.app/WPrefs || wmakerconf
++		"설    정" SHEXEC PREFIX/GNUstep/Applications/WPrefs.app/WPrefs || wmakerconf
+ 		"테    마" OPEN_MENU -noext THEMES_DIR ~/GNUstep/Library/WindowMaker/Themes WITH setstyle
+ 		"테마저장" EXEC getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/"%a(테마 이름,파일 이름을 입력하세요:)"
+ 		"아이콘셋" OPEN_MENU -noext ICON_SETS_DIR ~/GNUstep/Library/WindowMaker/IconSets WITH seticons

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-menu.nl
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-menu.nl	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,11 @@
+--- WindowMaker/menu.nl.orig	2013-05-03 03:12:25.000000000 +0900
++++ WindowMaker/menu.nl	2013-05-03 03:12:17.000000000 +0900
+@@ -54,7 +54,7 @@
+ 		"LyX" EXEC lyx
+ 		"Netscape" EXEC netscape
+   		"Ghostview" EXEC ghostview
+-		"Acrobat" EXEC /usr/local/Acrobat3/bin/acroread
++		"Acrobat" EXEC PREFIX/Acrobat3/bin/acroread
+   		"TkDesk" EXEC tkdesk
+ 	"Applicaties" END
+ 	"Editors" MENU

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-menu.no
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-menu.no	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,11 @@
+--- WindowMaker/menu.no.orig	2013-05-03 03:12:25.000000000 +0900
++++ WindowMaker/menu.no	2013-05-03 03:12:17.000000000 +0900
+@@ -119,7 +119,7 @@
+ 		"LyX" EXEC lyx
+ 		"Netscape" EXEC netscape 
+   		"Ghostview" EXEC ghostview %a(Navnet på fila du vil se)
+-		"Acrobat" EXEC /usr/local/Acrobat3/bin/acroread %a(Skriv inn PDF\'en du ønsker)
++		"Acrobat" EXEC PREFIX/Acrobat3/bin/acroread %a(Skriv inn PDF\'en du ønsker)
+   		"TkDesk" EXEC tkdesk
+ 	"Applikasjoner" END
+ 	"Tekst Redigering" MENU

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-menu.pl
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-menu.pl	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,11 @@
+--- WindowMaker/menu.pl.orig	2013-05-03 03:12:25.000000000 +0900
++++ WindowMaker/menu.pl	2013-05-03 03:12:17.000000000 +0900
+@@ -134,7 +134,7 @@
+ 			"LyX"                 EXEC lyx
+   			"Ghostview"           EXEC gv %a(GhostView,Wprowadz nazwe pliku *.ps *.pdf *.no:)
+   			"XDvi"                EXEC xdvi %a(XDvi,Wprowadz nazwe pliku *.dvi:)
+-			"Acrobat"             EXEC /usr/local/Acrobat3/bin/acroread %a(Acrobat,Wprowadz nazwe pliku *.pdf:)
++			"Acrobat"             EXEC PREFIX/Acrobat3/bin/acroread %a(Acrobat,Wprowadz nazwe pliku *.pdf:)
+ 			"Xpdf"                EXEC xpdf %a(Xpdf,Wprowadz nazwe pliku *.pdf:)
+ 			"Arkusz kalkulacyjny" EXEC xspread
+ 		"Tekst" END

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-menu.pt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-menu.pt	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,11 @@
+--- WindowMaker/menu.pt.orig	2013-05-03 03:12:25.000000000 +0900
++++ WindowMaker/menu.pt	2013-05-03 03:12:17.000000000 +0900
+@@ -126,7 +126,7 @@
+ 		"LyX" EXEC lyx
+ 		"Netscape" EXEC netscape 
+   		"Ghostview" EXEC ghostview %a(Enter file to view)
+-		"Acrobat" EXEC /usr/local/Acrobat3/bin/acroread %a(Enter PDF to view)
++		"Acrobat" EXEC PREFIX/Acrobat3/bin/acroread %a(Enter PDF to view)
+   		"TkDesk" EXEC tkdesk
+ 	"Aplicações" END
+ 	"Editores" MENU

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-menu.ro
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-menu.ro	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,20 @@
+--- WindowMaker/menu.ro.orig	2013-05-03 03:12:25.000000000 +0900
++++ WindowMaker/menu.ro	2013-05-03 03:12:17.000000000 +0900
+@@ -129,7 +129,7 @@
+ 		"LyX" EXEC lyx
+ 		"Netscape" EXEC netscape 
+   		"Ghostview" EXEC ghostview %a(GhostView,Enter file to view)
+-		"Acrobat" EXEC /usr/local/Acrobat3/bin/acroread %a(Acrobar,Enter PDF to view)
++		"Acrobat" EXEC PREFIX/Acrobat3/bin/acroread %a(Acrobar,Enter PDF to view)
+   		"TkDesk" EXEC tkdesk
+ 	"Aplicaţii" END
+ 	"Editoare" MENU
+@@ -202,7 +202,7 @@
+ 		"Fundal" END
+ 		"Salvează Tema" SHEXEC getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/"%a(Theme name,Enter file name:)"
+ 		"Salvează Setul de Iconiţe" SHEXEC geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/"%a(IconSet name,Enter file name:)"
+-		"Utilitar de Configurare" EXEC /usr/local/GNUstep/Applications/WPrefs.app/WPrefs
++		"Utilitar de Configurare" EXEC PREFIX/GNUstep/Applications/WPrefs.app/WPrefs
+ 	"Configurare" END
+ 
+ 	"Ieşire" MENU

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-menu.ru
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-menu.ru	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,11 @@
+--- WindowMaker/menu.ru.orig	2013-05-03 03:12:25.000000000 +0900
++++ WindowMaker/menu.ru	2013-05-03 03:12:17.000000000 +0900
+@@ -77,7 +77,7 @@
+ 		"LyX" EXEC lyx
+ 		"Netscape" EXEC netscape 
+   		"Ghostview" EXEC ghostview %a(Enter file to view)
+-		"Acrobat" EXEC /usr/local/Acrobat3/bin/acroread %a(Enter PDF to view)
++		"Acrobat" EXEC PREFIX/Acrobat3/bin/acroread %a(Enter PDF to view)
+   		"TkDesk" EXEC tkdesk
+ 	"Приложения" END
+ 	"Редакторы" MENU

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-menu.se
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-menu.se	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,11 @@
+--- WindowMaker/menu.se.orig	2013-05-03 03:12:25.000000000 +0900
++++ WindowMaker/menu.se	2013-05-03 03:12:17.000000000 +0900
+@@ -126,7 +126,7 @@
+ 		"LyX" EXEC lyx
+ 		"Netscape" EXEC netscape 
+   		"Ghostview" EXEC ghostview %a(Enter file to view)
+-		"Acrobat" EXEC /usr/local/Acrobat3/bin/acroread %a(Skriv in PDF-fil som ska visas)
++		"Acrobat" EXEC PREFIX/Acrobat3/bin/acroread %a(Skriv in PDF-fil som ska visas)
+   		"TkDesk" EXEC tkdesk
+ 	"Program" END
+ 	"Textredigerare" MENU

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-menu.sk
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-menu.sk	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,20 @@
+--- WindowMaker/menu.sk.orig	2013-05-03 03:12:25.000000000 +0900
++++ WindowMaker/menu.sk	2013-05-03 03:12:17.000000000 +0900
+@@ -143,7 +143,7 @@
+ 		"LyX" EXEC lyx
+ 		"Netscape" EXEC netscape 
+   		"Ghostview" EXEC ghostview %a(GhostView,Zadajte meno súboru)
+-		"Acrobat" EXEC /usr/local/Acrobat3/bin/acroread %a(Acrobar,Zadajte meno PDF súboru)
++		"Acrobat" EXEC PREFIX/Acrobat3/bin/acroread %a(Acrobar,Zadajte meno PDF súboru)
+   		"TkDesk" EXEC tkdesk
+ 	"Aplikácie" END
+ 	"Editory" MENU
+@@ -216,7 +216,7 @@
+ 		"Pozadie" END
+ 		"Uložiť tému" SHEXEC getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/"%a(Meno témy,Zadajte názov súboru:)"
+ 		"Uložiť sadu ikon" SHEXEC geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/"%a(Meno sady ikon,Zadajte názov súboru:)"
+-		"Konfiguračný nástroj" EXEC /usr/local/GNUstep/Applications/WPrefs.app/WPrefs
++		"Konfiguračný nástroj" EXEC PREFIX/GNUstep/Applications/WPrefs.app/WPrefs
+ 	"Vzhľad" END
+ 
+ 	"Koniec" MENU

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-menu.sl
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-menu.sl	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,11 @@
+--- WindowMaker/menu.sl.orig	2013-05-03 03:12:25.000000000 +0900
++++ WindowMaker/menu.sl	2013-05-03 03:12:17.000000000 +0900
+@@ -125,7 +125,7 @@
+ 		"LyX" EXEC lyx
+ 		"Netscape" EXEC netscape 
+   		"Ghostview" EXEC ghostview %a(Enter file to view)
+-		"Acrobat" EXEC /usr/local/Acrobat3/bin/acroread %a(Enter PDF to view)
++		"Acrobat" EXEC PREFIX/Acrobat3/bin/acroread %a(Enter PDF to view)
+   		"TkDesk" EXEC tkdesk
+ 	"Aplikacije" END
+ 	"Urejevalniki besedil" MENU

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-menu.tr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-menu.tr	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,11 @@
+--- WindowMaker/menu.tr.orig	2013-05-03 03:12:25.000000000 +0900
++++ WindowMaker/menu.tr	2013-05-03 03:12:17.000000000 +0900
+@@ -111,7 +111,7 @@
+ 		"LyX" EXEC lyx
+ 		"Netscape" EXEC netscape 
+   		"Ghostview" EXEC ghostview %a(PS dosyasını girin)
+-		"Acrobat" EXEC /usr/local/Acrobat3/bin/acroread %a(PDF dosyasını girin)
++		"Acrobat" EXEC PREFIX/Acrobat3/bin/acroread %a(PDF dosyasını girin)
+   		"TkDesk" EXEC tkdesk
+ 	"Uygulamalar" END
+ 	"Düzenleyiciler" MENU

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-menu.zh_CN
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-menu.zh_CN	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,11 @@
+--- WindowMaker/menu.zh_CN.orig	2013-05-03 03:12:25.000000000 +0900
++++ WindowMaker/menu.zh_CN	2013-05-03 03:12:17.000000000 +0900
+@@ -129,7 +129,7 @@
+                 "LyX" EXEC lyx
+                 "Netscape" EXEC netscape
+                 "Ghostview" EXEC ghostview %a(GhostView,输入要查看的文件名)
+-                "Acrobat" EXEC /usr/local/Acrobat3/bin/acroread %a(Acrobat,输入要查看的PDF文件名)
++                "Acrobat" EXEC PREFIX/Acrobat3/bin/acroread %a(Acrobat,输入要查看的PDF文件名)
+                 "TkDesk" EXEC tkdesk
+         "应用程序" END
+         "编辑器" MENU

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-menu.zh_TW
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-menu.zh_TW	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,20 @@
+--- WindowMaker/menu.zh_TW.orig	2013-05-03 03:12:25.000000000 +0900
++++ WindowMaker/menu.zh_TW	2013-05-03 03:12:17.000000000 +0900
+@@ -126,7 +126,7 @@
+ 		"LyX" EXEC lyx
+ 		"Netscape" EXEC netscape 
+   		"Ghostview" EXEC ghostview %a(GhostView,輸入要檢視的檔案)
+-		"Acrobat" EXEC /usr/local/Acrobat3/bin/acroread %a(輸入要檢視的 PDF)
++		"Acrobat" EXEC PREFIX/Acrobat3/bin/acroread %a(輸入要檢視的 PDF)
+   		"TkDesk" EXEC tkdesk
+ 	"應用程式" END
+ 	"編輯器" MENU
+@@ -199,7 +199,7 @@
+ 		"背景" END
+ 		"儲存主題" SHEXEC getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/"%a(主題名稱)"
+ 		"儲存圖示集" SHEXEC geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/"%a(圖示集名稱)"
+-		"偏好設定公用程式" EXEC /usr/local/GNUstep/Applications/WPrefs.app/WPrefs
++		"偏好設定公用程式" EXEC PREFIX/GNUstep/Applications/WPrefs.app/WPrefs
+ 	"外觀" END
+ 
+ 	"離開"	MENU

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-plmenu
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-plmenu	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,11 @@
+--- WindowMaker/plmenu.orig	2013-05-03 03:12:25.000000000 +0900
++++ WindowMaker/plmenu	2013-05-03 03:12:17.000000000 +0900
+@@ -93,7 +93,7 @@
+    ),
+    ("Save Theme", SHEXEC, "getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/\"%a(Theme name)\""),
+    ("Save IconSet", SHEXEC, "geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/\"%a(IconSet name)\""),
+-   ("Preferences Utility", EXEC, "/usr/local/GNUstep/Applications/WPrefs.app/WPrefs")
++   ("Preferences Utility", EXEC, PREFIX "/GNUstep/Applications/WPrefs.app/WPrefs")
+    ),
+    ("Session",
+     ("Save Session", SAVE_SESSION),

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-plmenu.bg
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-plmenu.bg	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,20 @@
+--- WindowMaker/plmenu.bg.orig	2013-05-03 03:12:25.000000000 +0900
++++ WindowMaker/plmenu.bg	2013-05-03 03:12:17.000000000 +0900
+@@ -23,7 +23,7 @@
+   ("LyX", EXEC, "lyx"),
+   ("Netscape", EXEC, "netscape"),
+   ("Ghostview", EXEC, "ghostview %a(Enter file to view)"),
+-  ("Acrobat", EXEC, "/usr/local/Acrobat3/bin/acroread %a(Enter PDF to view)"),
++  ("Acrobat", EXEC, PREFIX "/Acrobat3/bin/acroread %a(Enter PDF to view)"),
+   ("TkDesk", EXEC, "tkdesk")
+   ),
+  ("Редактори",
+@@ -94,7 +94,7 @@
+    ),
+   ("Запази темата", SHEXEC, "getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/\"%a(Theme name)\""),
+   ("Запази колекцията иконки", SHEXEC, "geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/\"%a(IconSet name)\""),
+-  ("Пособие за настройки", EXEC, "/usr/local/GNUstep/Applications/WPrefs.app/WPrefs")
++  ("Пособие за настройки", EXEC, PREFIX "/GNUstep/Applications/WPrefs.app/WPrefs")
+   ),
+  ("Изход",
+   ("Рестартиране", RESTART),

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-plmenu.da
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-plmenu.da	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,41 @@
+--- WindowMaker/plmenu.da.orig	2013-05-03 03:12:25.000000000 +0900
++++ WindowMaker/plmenu.da	2013-05-03 03:12:17.000000000 +0900
+@@ -82,7 +82,7 @@
+                 (
+                 "Acrobat",
+                 EXEC,
+-                "/usr/local/Acrobat3/bin/acroread %a(Acrobat,Indtast PDF-filnavn)"
++                PREFIX "/Acrobat3/bin/acroread %a(Acrobat,Indtast PDF-filnavn)"
+                 ),
+                 (
+                 "TkDesk",
+@@ -211,17 +211,17 @@
+                 (
+                 "Temaer",
+                 OPEN_MENU,
+-                "-noext /usr/local/share/WindowMaker/Themes  $HOME/GNUstep/Library/WindowMaker/Themes WITH setstyle"
++                "-noext "PREFIX "/share/WindowMaker/Themes  $HOME/GNUstep/Library/WindowMaker/Themes WITH setstyle"
+                 ),
+                 (
+                 "Stil",
+                 OPEN_MENU,
+-                "-noext /usr/local/share/WindowMaker/Styles  $HOME/GNUstep/Library/WindowMaker/Styles WITH setstyle"
++                "-noext "PREFIX "/share/WindowMaker/Styles  $HOME/GNUstep/Library/WindowMaker/Styles WITH setstyle"
+                 ),
+                 (
+                 "Ikonsæt",
+                 OPEN_MENU,
+-                "-noext /usr/local/share/WindowMaker/IconSets  $HOME/GNUstep/Library/WindowMaker/IconSets WITH seticons"
++                "-noext "PREFIX "/share/WindowMaker/IconSets  $HOME/GNUstep/Library/WindowMaker/IconSets WITH seticons"
+                 ),
+                 (
+                 "Baggrund",
+@@ -319,7 +319,7 @@
+                         (
+                         "Billeder",
+                         OPEN_MENU,
+-                        "-noext /usr/local/share/WindowMaker/Backgrounds  $HOME/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t"
++                        "-noext "PREFIX "/share/WindowMaker/Backgrounds  $HOME/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t"
+                         )
+                 ),
+                 ("Gem Tema", SHEXEC, "getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/\"%a(Tema navn,Indtast navn:)"),

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-plmenu.de
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-plmenu.de	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,33 @@
+--- WindowMaker/plmenu.de.orig	2013-05-03 03:12:25.000000000 +0900
++++ WindowMaker/plmenu.de	2013-05-03 03:12:17.000000000 +0900
+@@ -23,7 +23,7 @@
+   ("LyX", EXEC, "lyx"),
+   ("Netscape", EXEC, "netscape"),
+   ("Ghostview", EXEC, "ghostview %a(Zu betrachtende Datei:)"),
+-  ("Acrobat", EXEC, "/usr/local/Acrobat3/bin/acroread %a(PDF-Datei angeben)"),
++  ("Acrobat", EXEC, PREFIX "/Acrobat3/bin/acroread %a(PDF-Datei angeben)"),
+   ("TkDesk", EXEC, "tkdesk")
+   ),
+  ("Editoren",
+@@ -66,9 +66,9 @@
+   ("Gespeicherte Sitzung löschen", CLEAR_SESSION)
+   ),
+  ("Erscheinungsbild",
+-  ("Themen", OPEN_MENU, "-noext /usr/local/share/WindowMaker/Themes $(HOME)/GNUstep/Library/WindowMaker/Themes WITH setstyle"),
+-  ("Stile", OPEN_MENU, "-noext /usr/local/share/WindowMaker/Styles $(HOME)/GNUstep/Library/WindowMaker/Styles WITH setstyle"),
+-  ("Iconsätze", OPEN_MENU, "-noext /usr/local/share/WindowMaker/IconSets $(HOME)/GNUstep/Library/WindowMaker/IconSets WITH seticons"),
++  ("Themen", OPEN_MENU, "-noext "PREFIX "/share/WindowMaker/Themes $(HOME)/GNUstep/Library/WindowMaker/Themes WITH setstyle"),
++  ("Stile", OPEN_MENU, "-noext "PREFIX "/share/WindowMaker/Styles $(HOME)/GNUstep/Library/WindowMaker/Styles WITH setstyle"),
++  ("Iconsätze", OPEN_MENU, "-noext "PREFIX "/share/WindowMaker/IconSets $(HOME)/GNUstep/Library/WindowMaker/IconSets WITH seticons"),
+   ("Hintergrund",
+    ("Einfarbig",
+     ("Schwarz", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, black)'"),
+@@ -90,7 +90,7 @@
+     ("Grau schattiert",   EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#636380\", \"#131318\")'"),
+     ("Weinfarben schattiert",   EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#600040\", \"#180010\")'")
+     ),
+-   ("Bilder", OPEN_MENU, "-noext /usr/local/share/WindowMaker/Backgrounds $(HOME)/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t")
++   ("Bilder", OPEN_MENU, "-noext "PREFIX "/share/WindowMaker/Backgrounds $(HOME)/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t")
+    ),   
+   ("Thema speichern", SHEXEC, "getstyle -t $(HOME)/GNUstep/Library/WindowMaker/Themes/\"%a(Themenname)\""),
+   ("Iconsatz speichern", SHEXEC, "geticonset $(HOME)/GNUstep/Library/WindowMaker/IconSets/\"%a(Iconsatz-Name)\"")

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-plmenu.es
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-plmenu.es	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,38 @@
+--- WindowMaker/plmenu.es.orig	2013-05-03 03:12:25.000000000 +0900
++++ WindowMaker/plmenu.es	2013-05-03 03:12:17.000000000 +0900
+@@ -23,7 +23,7 @@
+   ("LyX", EXEC, "lyx"),
+   ("Netscape", EXEC, "netscape"),
+   ("Ghostview", EXEC, "ghostview %a(Escribe el archivo que desees ver:)"),
+-  ("Acrobat", EXEC, "/usr/local/Acrobat3/bin/acroread %a(Escribe el archivo PDF que desees ver:)"),
++  ("Acrobat", EXEC, PREFIX "/Acrobat3/bin/acroread %a(Escribe el archivo PDF que desees ver:)"),
+   ("TkDesk", EXEC, "tkdesk")
+   ),
+  ("Editores",
+@@ -66,9 +66,9 @@
+   ("Borrar sesion", CLEAR_SESSION)
+   ),
+  ("Apariencia",
+-  ("Temas", OPEN_MENU, "-noext /usr/local/share/WindowMaker/Themes $HOME/GNUstep/Library/WindowMaker/Themes WITH setstyle"),
+-  ("Estilos", OPEN_MENU, "-noext /usr/local/share/WindowMaker/Styles $HOME/GNUstep/Library/WindowMaker/Styles WITH setstyle"),
+-  ("Grupos de iconos", OPEN_MENU, "-noext /usr/local/share/WindowMaker/IconSets $HOME/GNUstep/Library/WindowMaker/IconSets WITH seticons"),
++  ("Temas", OPEN_MENU, "-noext "PREFIX "/share/WindowMaker/Themes $HOME/GNUstep/Library/WindowMaker/Themes WITH setstyle"),
++  ("Estilos", OPEN_MENU, "-noext "PREFIX "/share/WindowMaker/Styles $HOME/GNUstep/Library/WindowMaker/Styles WITH setstyle"),
++  ("Grupos de iconos", OPEN_MENU, "-noext "PREFIX "/share/WindowMaker/IconSets $HOME/GNUstep/Library/WindowMaker/IconSets WITH seticons"),
+   ("Papel Tapiz",
+    ("Solido",
+     ("Negro", EXEC, "wdwrite WindowMaker WorkspaceBack '(solid, black)'"),
+@@ -90,11 +90,11 @@
+     ("Sombras grises",   EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#636380\", \"#131318\")'"),
+     ("Sombras vino",   EXEC, "wdwrite WindowMaker WorkspaceBack '(vgradient, \"#600040\", \"#180010\")'")
+     ),
+-   ("Imagenes", OPEN_MENU, "-noext /usr/local/share/WindowMaker/Backgrounds $HOME/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t")
++   ("Imagenes", OPEN_MENU, "-noext "PREFIX "/share/WindowMaker/Backgrounds $HOME/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t")
+    ),   
+   ("Guardar tema", SHEXEC, "getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/\"%a(Theme name)\""),
+   ("Guardar iconos", SHEXEC, "geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/\"%a(IconSet name)\""),
+-  ("Preferencias", EXEC, "/usr/local/GNUstep/Applications/WPrefs.app/WPrefs")
++  ("Preferencias", EXEC, PREFIX "/GNUstep/Applications/WPrefs.app/WPrefs")
+   ), 
+  ("Salir",
+   ("Reiniciar", RESTART),

Added: head/x11-wm/windowmaker/files/patch-WindowMaker-plmenu.fi
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/windowmaker/files/patch-WindowMaker-plmenu.fi	Thu May  2 19:37:23 2013	(r317142)
@@ -0,0 +1,50 @@
+--- WindowMaker/plmenu.fi.orig	2013-05-03 03:12:25.000000000 +0900
++++ WindowMaker/plmenu.fi	2013-05-03 03:12:17.000000000 +0900
+@@ -94,7 +94,7 @@
+ 		(
+ 		"Acrobat",
+ 		EXEC,
+-		"/usr/local/Acrobat3/bin/acroread %a(Acrobat,Kirjoita näytettävän PDF-tiedoston nimi)"
++		PREFIX "/Acrobat3/bin/acroread %a(Acrobat,Kirjoita näytettävän PDF-tiedoston nimi)"
+ 		),
+   		(
+   		"TkDesk",
+@@ -238,17 +238,17 @@
+ 		(
+ 		"Teemat",
+ 		OPEN_MENU,
+-		"-noext /usr/local/share/WindowMaker/Themes  $HOME/GNUstep/Library/WindowMaker/Themes WITH setstyle"
++		"-noext "PREFIX "/share/WindowMaker/Themes  $HOME/GNUstep/Library/WindowMaker/Themes WITH setstyle"
+ 		),
+ 		(
+ 		"Tyylit",
+ 		OPEN_MENU,
+-		"-noext /usr/local/share/WindowMaker/Styles  $HOME/GNUstep/Library/WindowMaker/Styles WITH setstyle"
++		"-noext "PREFIX "/share/WindowMaker/Styles  $HOME/GNUstep/Library/WindowMaker/Styles WITH setstyle"
+ 		),
+ 		(
+ 		"Kuvakkeet",

*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***


More information about the svn-ports-all mailing list