summaryrefslogtreecommitdiff
path: root/x11-fm
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2002-05-04 21:41:24 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2002-05-04 21:41:24 +0000
commita523a94a3b61232b93be9519ecf8d5a7e8ffcb22 (patch)
tree7263c23de6aaf3e27b43d414b921bb77bd0826d0 /x11-fm
parentFreshen MASTER_SITES to allow distfile to fetch (diff)
Fix compilation error.
PR: 37691 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=58557
Diffstat (limited to 'x11-fm')
-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 ..."