aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11-fm/mtoolsfm/Makefile8
-rw-r--r--x11-fm/mtoolsfm/files/patch-ab12
2 files changed, 19 insertions, 1 deletions
diff --git a/x11-fm/mtoolsfm/Makefile b/x11-fm/mtoolsfm/Makefile
index 4b6652bd3c17..020e1a7702df 100644
--- a/x11-fm/mtoolsfm/Makefile
+++ b/x11-fm/mtoolsfm/Makefile
@@ -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
diff --git a/x11-fm/mtoolsfm/files/patch-ab b/x11-fm/mtoolsfm/files/patch-ab
new file mode 100644
index 000000000000..85a7889b2f8e
--- /dev/null
+++ b/x11-fm/mtoolsfm/files/patch-ab
@@ -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 ..."