summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-06-16 09:42:25 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-06-16 09:42:25 +0000
commit2ec7f5a9289dffdf4ea3d30a590d4860abcbe881 (patch)
treecc71f15f6d32aa97502fe2c309e83299b51e7a8b /x11-wm
parentUpdate modules: lpadmin, useradmin, file. (diff)
Try harder to avoid hardcoded /usr/local/GNUstep in localised menus.
Submitted by: Patrick Li <pat@databits.net>
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/windowmaker-i18n/Makefile2
-rw-r--r--x11-wm/windowmaker/Makefile2
2 files changed, 3 insertions, 1 deletions
diff --git a/x11-wm/windowmaker-i18n/Makefile b/x11-wm/windowmaker-i18n/Makefile
index 2db39b2eec53..3fcd2c9ba3dc 100644
--- a/x11-wm/windowmaker-i18n/Makefile
+++ b/x11-wm/windowmaker-i18n/Makefile
@@ -71,6 +71,8 @@ pre-extract:
post-patch:
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/WPrefs.app/Paths.c
@${PERL} -pi -e "s|%%PERL%%|${PERL}|g" ${WRKSRC}/util/wm-oldmenu2new
+ @${PERL} -pi -e "s|/usr/local/GNUstep|${PREFIX}/GNUstep|g" \
+ ${WRKSRC}/WindowMaker/*menu*
.if defined(JA_CATALOGFILE) && ${JA_CATALOGFILE} != ""
@${CP} ${WRKDIR}/${JA_CATALOGFILE}/WindowMaker.ja.po \
${WRKSRC}/po/ja.po
diff --git a/x11-wm/windowmaker/Makefile b/x11-wm/windowmaker/Makefile
index b8b1525e1c13..eeecd6c94b51 100644
--- a/x11-wm/windowmaker/Makefile
+++ b/x11-wm/windowmaker/Makefile
@@ -65,7 +65,7 @@ post-patch:
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/WPrefs.app/Paths.c
@${PERL} -pi -e "s|%%PERL%%|${PERL}|g" ${WRKSRC}/util/wm-oldmenu2new
@${PERL} -pi -e "s|/usr/local/GNUstep|${PREFIX}/GNUstep|g" \
- ${WRKSRC}/WindowMaker/menu*
+ ${WRKSRC}/WindowMaker/*menu*
post-install:
@${MKDIR} ${PREFIX}/share/WindowMaker/Sounds