View | Details | Raw Unified | Return to bug 122504
Collapse All | Expand All

(-)x11-fm/mtoolsfm/Makefile (-18 / +13 lines)
Lines 6-44 Link Here
6
#
6
#
7
7
8
PORTNAME=	mtoolsfm
8
PORTNAME=	mtoolsfm
9
PORTVERSION=	1.9.3
9
PORTVERSION=	1.9.5
10
PORTREVISION=	4
11
CATEGORIES=	x11-fm
10
CATEGORIES=	x11-fm
12
MASTER_SITES=	http://www.core-coutainville.org/MToolsFM/archive/SOURCES/
11
MASTER_SITES=	SF
13
DISTNAME=	MToolsFM-${PORTVERSION:R}-${PORTVERSION:E}
12
DISTNAME=	MToolsFM-${PORTVERSION}
14
13
15
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	ports@FreeBSD.org
16
COMMENT=	A graphical frontend to mtools
15
COMMENT=	A graphical frontend to mtools
17
16
18
RUN_DEPENDS=	mtools:${PORTSDIR}/emulators/mtools
17
RUN_DEPENDS=	mtools:${PORTSDIR}/emulators/mtools
19
18
20
USE_GNOME=	gtk12
19
USE_GNOME=	gnomehack gnometarget gtk12
20
USE_GETTEXT=	yes
21
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
22
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
22
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
23
		LIBS="-L${LOCALBASE}/lib"
23
		LDFLAGS="-L${LOCALBASE}/lib"
24
CONFIGURE_ARGS=	--with-conffile="${PREFIX}/etc/mtoolsfm.conf"
24
CONFIGURE_ARGS=	--with-conffile="${PREFIX}/etc/mtoolsfm.conf"
25
25
26
MAN1=		mtoolsfm.1
26
MAN1=		mtoolsfm.1
27
27
28
post-patch:
28
post-patch:
29
	@${REINPLACE_CMD} -e 's|MToolsFM|mtoolsfm|g ; \
29
	@${REINPLACE_CMD} -e 's|MToolsFM|mtoolsfm|g' ${WRKSRC}/configure
30
		 s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
31
	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \
32
		 s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/MToolsFM.1
33
	@${FIND} ${WRKSRC} -name 'Makefile.in' | ${XARGS} ${REINPLACE_CMD} -e \
30
	@${FIND} ${WRKSRC} -name 'Makefile.in' | ${XARGS} ${REINPLACE_CMD} -e \
34
		's|MToolsFM|mtoolsfm|g'
31
		's|MToolsFM|mtoolsfm|g'
35
.for file in src/mtoolsfm.h po/de.po po/fr.po
32
	@cd ${WRKSRC} && ${SED} -e \
36
	@${MV} -f ${WRKSRC}/${file} ${WRKSRC}/${file}.preedit
33
		's|MToolsFM|mtoolsfm|g ; \
37
	@${CAT} ${WRKSRC}/${file}.preedit | \
34
		 s| /etc| ${PREFIX}/etc|g ; \
38
		${TR} '\264' '\047' > ${WRKSRC}/${file}
35
		 s|/usr/X11R6/bin|${PREFIX}/bin|g ; \
39
.endfor
36
		 s|/usr/bin|${LOCALBASE}/bin|g ; \
40
37
		 s|^/etc|${PREFIX}/etc|g' < MToolsFM.1 > mtoolsfm.1
41
pre-build:
42
	@${LN} -sf ${WRKSRC}/MToolsFM.1 ${WRKSRC}/mtoolsfm.1
43
38
44
.include <bsd.port.mk>
39
.include <bsd.port.mk>
(-)x11-fm/mtoolsfm/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (MToolsFM-1.9-3.tar.gz) = 5ce76261ad969209c86b28e49924fc43
1
MD5 (MToolsFM-1.9.5.tar.gz) = 034a74b4babad20023a59a31d2c933ce
2
SHA256 (MToolsFM-1.9-3.tar.gz) = 665f575d86247779a384a2098057730821d80ed3059b6ed3fa1bc409ba733cfe
2
SHA256 (MToolsFM-1.9.5.tar.gz) = ca0025cbb491375ca279b1c821521bb6d8bb9affd4782dd9038ca961fba616bd
3
SIZE (MToolsFM-1.9-3.tar.gz) = 177388
3
SIZE (MToolsFM-1.9.5.tar.gz) = 437683
(-)x11-fm/mtoolsfm/files/patch-aa (-62 lines)
Lines 1-62 Link Here
1
--- MToolsFM.1.orig	Sat Dec 23 23:28:00 2000
2
+++ MToolsFM.1	Mon Jan 22 21:41:04 2001
3
@@ -1,8 +1,8 @@
4
 .TH MTOOLSFM 1 "23 December 2000"
5
 .SH NAME
6
-MToolsFM \- graphical user interface to the mtools diskette package for UNIX
7
+mtoolsfm \- graphical user interface to the mtools diskette package for UNIX
8
 .SH SYNOPSIS
9
-.B MToolsFM
10
+.B mtoolsfm
11
 .RB [ \-\-nosysconf ]
12
 .RB [ \-\-nouserconf ]
13
 .RB [ \-\-nosave ]
14
@@ -10,7 +10,7 @@
15
 .RB [ \-\-debug ]
16
 .SH DESCRIPTION
17
 The
18
-.I MToolsFM
19
+.I mtoolsfm
20
 is a gtk-based graphical user interface for the
21
 .IR mtools (1)
22
 package for reading and writing DOS-format diskettes on UNIX systems.
23
@@ -20,7 +20,7 @@
24
 .TP
25
 .B \-\-nosysconf
26
 Do not attempt to read system-wide configuration in
27
-.IR /etc/mtoolsfm.conf .
28
+.IR %%PREFIX%%/etc/mtoolsfm.conf .
29
 .TP
30
 .B \-\-nouserconf
31
 Do not read user config file in
32
@@ -38,7 +38,7 @@
33
 Print debugging messages to stdout.
34
 .SH "CONFIGURATION FILE"
35
 User-based and system-wide configuration files control the behavior of
36
-.IR MToolsFM .
37
+.IR mtoolsfm .
38
 The values in this file are set by selecting "Options -> Configure MToolsFM/..."
39
 from the control var at the top of the tool. 
40
 You can set references to the diskette drives available on the local system,
41
@@ -47,10 +47,10 @@
42
 binaries.
43
 .SH FILES
44
 .TP
45
-/usr/X11R6/bin/MToolsFM
46
+%%PREFIX%%/bin/mtoolsfm
47
 executable
48
 .TP
49
-/usr/bin
50
+%%LOCALBASE%%/bin
51
 directory containing
52
 .IR mtools (1)
53
 binaries
54
@@ -58,7 +58,7 @@
55
 ~/.mtoolsfm
56
 User-based initialization file
57
 .TP
58
-/etc/mtoolsfm.conf
59
+%%PREFIX%%/etc/mtoolsfm.conf
60
 System-wide initialization file
61
 .SH DIAGNOSTICS
62
 Diagnostics appear in a little textfield at the bottom of the main window.
(-)x11-fm/mtoolsfm/files/patch-ab (-12 lines)
Lines 1-12 Link Here
1
--- po/fr.po.orig	Tue Aug 21 16:31:41 2001
2
+++ po/fr.po	Mon Apr 22 20:41:07 2002
3
@@ -778,9 +778,6 @@
4
 msgid "/Options/Text mode for copying"
5
 msgstr "/Options/Utiliser le mode texte pour la copie"
6
 
7
-msgid "/Options/Text mode for copying"
8
-msgstr "/Options/Separator"
9
-
10
 #: src/mtoolsfm.c:2817 src/mtoolsfm.c:2833
11
 msgid "/Options/Configure MToolsFM ..."
12
 msgstr "/Options/Configurer MToolsFM ..."
(-)x11-fm/mtoolsfm/pkg-descr (-1 / +1 lines)
Lines 3-6 Link Here
3
systems. It can do simple tasks of a file-manager and makes use of
3
systems. It can do simple tasks of a file-manager and makes use of
4
mtools to access floppies.
4
mtools to access floppies.
5
5
6
WWW: http://www.core-coutainville.org/MToolsFM/
6
WWW: http://mtoolsfm.sourceforge.net/
(-)x11-fm/mtoolsfm/pkg-plist (+9 lines)
Lines 1-3 Link Here
1
bin/mtoolsfm
1
bin/mtoolsfm
2
share/locale/de/LC_MESSAGES/mtoolsfm.mo
2
share/locale/de/LC_MESSAGES/mtoolsfm.mo
3
share/locale/en@boldquot/LC_MESSAGES/mtoolsfm.mo
4
share/locale/en@quot/LC_MESSAGES/mtoolsfm.mo
3
share/locale/fr/LC_MESSAGES/mtoolsfm.mo
5
share/locale/fr/LC_MESSAGES/mtoolsfm.mo
6
share/locale/pt_BR/LC_MESSAGES/mtoolsfm.mo
7
share/locale/pt_PT/LC_MESSAGES/mtoolsfm.mo
8
share/locale/ru/LC_MESSAGES/mtoolsfm.mo
9
@dirrmtry share/locale/en@quot/LC_MESSAGES
10
@dirrmtry share/locale/en@quot
11
@dirrmtry share/locale/en@boldquot/LC_MESSAGES
12
@dirrmtry share/locale/en@boldquot

Return to bug 122504