summaryrefslogtreecommitdiffstats
path: root/x11-fm/mtoolsfm
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2002-05-04 21:41:24 +0000
committerdemon <demon@FreeBSD.org>2002-05-04 21:41:24 +0000
commit45971577a6fc5b696bb69ba4a0b2ae99b6a2bf2b (patch)
treed489664df3e6b2744d95fb484738cbd5a448c884 /x11-fm/mtoolsfm
parentddfa62b22de91b5ef851f68a63a890de0cc4225e (diff)
downloadFreeBSD-ports-45971577a6fc5b696bb69ba4a0b2ae99b6a2bf2b.zip
FreeBSD-ports-45971577a6fc5b696bb69ba4a0b2ae99b6a2bf2b.tar.gz
Fix compilation error.
PR: 37691 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'x11-fm/mtoolsfm')
-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 4b6652b..020e1a7 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 0000000..85a7889
--- /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 ..."
OpenPOWER on IntegriCloud