Fix compilation error.

PR:		37691
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
This commit is contained in:
Dmitry Sivachenko 2002-05-04 21:41:24 +00:00
parent 2e48c5ff4c
commit a523a94a3b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=58557
2 changed files with 19 additions and 1 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= mtoolsfm
PORTVERSION= 1.9.3
PORTREVISION= 1
CATEGORIES= x11-fm
MASTER_SITES= http://www.core-coutainville.org/MToolsFM/archive/SOURCES/
DISTNAME= MToolsFM-${PORTVERSION:R}-${PORTVERSION:E}
@ -29,8 +30,13 @@ post-patch:
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g ; \
s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/MToolsFM.1
@find ${WRKSRC} -name 'Makefile.in' | xargs ${PERL} -pi -e \
@${FIND} ${WRKSRC} -name 'Makefile.in' | ${XARGS} ${PERL} -pi -e \
's|MToolsFM|mtoolsfm|g'
.for file in src/mtoolsfm.h po/de.po po/fr.po
@${MV} -f ${WRKSRC}/${file} ${WRKSRC}/${file}.preedit
@${CAT} ${WRKSRC}/${file}.preedit | \
${TR} '\264' '\047' > ${WRKSRC}/${file}
.endfor
pre-build:
@${LN} -sf ${WRKSRC}/MToolsFM.1 ${WRKSRC}/mtoolsfm.1

View file

@ -0,0 +1,12 @@
--- po/fr.po.orig Tue Aug 21 16:31:41 2001
+++ po/fr.po Mon Apr 22 20:41:07 2002
@@ -778,9 +778,6 @@
msgid "/Options/Text mode for copying"
msgstr "/Options/Utiliser le mode texte pour la copie"
-msgid "/Options/Text mode for copying"
-msgstr "/Options/Separator"
-
#: src/mtoolsfm.c:2817 src/mtoolsfm.c:2833
msgid "/Options/Configure MToolsFM ..."
msgstr "/Options/Configurer MToolsFM ..."