1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Try harder to avoid hardcoded /usr/local/GNUstep in localised menus.

Submitted by:	Patrick Li <pat@databits.net>
This commit is contained in:
Maxim Sobolev 2001-06-16 09:42:25 +00:00
parent af02b92da7
commit 2ec7f5a928
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44060
2 changed files with 3 additions and 1 deletions

View File

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

View File

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