Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2001 12:39:56 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/24557: Update port: x11-fm/mtoolsfm to 1.7
Message-ID:  <200101222039.f0MKdu588097@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         24557
>Category:       ports
>Synopsis:       Update port: x11-fm/mtoolsfm to 1.7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 22 12:40:02 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 1.7

New file:
files/patch-aa

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/x11-fm/mtoolsfm/Makefile x11-fm/mtoolsfm/Makefile
--- /usr/ports/x11-fm/mtoolsfm/Makefile	Sat Dec 23 07:14:38 2000
+++ x11-fm/mtoolsfm/Makefile	Mon Jan 22 21:39:07 2001
@@ -6,23 +6,30 @@
 #
 
 PORTNAME=	mtoolsfm
-PORTVERSION= 	1.6
+PORTVERSION= 	1.7
 CATEGORIES=	x11-fm
 MASTER_SITES=	http://www.core-coutainville.org/MToolsFM/archive/SOURCES/
-DISTNAME=	MToolsFM-${PORTVERSION}
+DISTNAME=	MToolsFM-${PORTVERSION}-2
 
 MAINTAINER=	ports@FreeBSD.org
 
 RUN_DEPENDS=	mtools:${PORTSDIR}/emulators/mtools
 
+WRKSRC=		${WRKDIR}/MToolsFM-${PORTVERSION}
+
 USE_X_PREFIX=	yes
 USE_GTK=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-conffile="${PREFIX}/etc/mfm.conf" \
+CONFIGURE_ARGS=	--with-conffile="${PREFIX}/etc/mtoolsfm.conf" \
 		--with-mtoolsdir="${LOCALBASE}/bin" \
 		--disable-gtktest
 
 MAN1=		mtoolsfm.1
+
+post-patch:
+	@${PERL} -pi.in \
+		-e "s|%%PREFIX%%|${PREFIX}|g;" \
+		-e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/MToolsFM.1
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/MToolsFM ${PREFIX}/bin/mtoolsfm
diff -urN /usr/ports/x11-fm/mtoolsfm/distinfo x11-fm/mtoolsfm/distinfo
--- /usr/ports/x11-fm/mtoolsfm/distinfo	Thu Dec 21 21:44:15 2000
+++ x11-fm/mtoolsfm/distinfo	Mon Jan 22 21:20:04 2001
@@ -1 +1 @@
-MD5 (MToolsFM-1.6.tar.gz) = c1e3de428ad0df77b7c82cb844a03641
+MD5 (MToolsFM-1.7-2.tar.gz) = 5acd129c9bd43a5a7cfb4309e62ce74c
diff -urN /usr/ports/x11-fm/mtoolsfm/files/patch-aa x11-fm/mtoolsfm/files/patch-aa
--- /usr/ports/x11-fm/mtoolsfm/files/patch-aa	Thu Jan  1 09:00:00 1970
+++ x11-fm/mtoolsfm/files/patch-aa	Mon Jan 22 21:41:35 2001
@@ -0,0 +1,62 @@
+--- MToolsFM.1.orig	Sat Dec 23 23:28:00 2000
++++ MToolsFM.1	Mon Jan 22 21:41:04 2001
+@@ -1,8 +1,8 @@
+ .TH MTOOLSFM 1 "23 December 2000"
+ .SH NAME
+-MToolsFM \- graphical user interface to the mtools diskette package for UNIX
++mtoolsfm \- graphical user interface to the mtools diskette package for UNIX
+ .SH SYNOPSIS
+-.B MToolsFM
++.B mtoolsfm
+ .RB [ \-\-nosysconf ]
+ .RB [ \-\-nouserconf ]
+ .RB [ \-\-nosave ]
+@@ -10,7 +10,7 @@
+ .RB [ \-\-debug ]
+ .SH DESCRIPTION
+ The
+-.I MToolsFM
++.I mtoolsfm
+ is a gtk-based graphical user interface for the
+ .IR mtools (1)
+ package for reading and writing DOS-format diskettes on UNIX systems.
+@@ -20,7 +20,7 @@
+ .TP
+ .B \-\-nosysconf
+ Do not attempt to read system-wide configuration in
+-.IR /etc/mtoolsfm.conf .
++.IR %%PREFIX%%/etc/mtoolsfm.conf .
+ .TP
+ .B \-\-nouserconf
+ Do not read user config file in
+@@ -38,7 +38,7 @@
+ Print debugging messages to stdout.
+ .SH "CONFIGURATION FILE"
+ User-based and system-wide configuration files control the behavior of
+-.IR MToolsFM .
++.IR mtoolsfm .
+ The values in this file are set by selecting "Options -> Configure MToolsFM/..."
+ from the control var at the top of the tool. 
+ You can set references to the diskette drives available on the local system,
+@@ -47,10 +47,10 @@
+ binaries.
+ .SH FILES
+ .TP
+-/usr/X11R6/bin/MToolsFM
++%%PREFIX%%/bin/mtoolsfm
+ executable
+ .TP
+-/usr/bin
++%%LOCALBASE%%/bin
+ directory containing
+ .IR mtools (1)
+ binaries
+@@ -58,7 +58,7 @@
+ ~/.mtoolsfm
+ User-based initialization file
+ .TP
+-/etc/mtoolsfm.conf
++%%PREFIX%%/etc/mtoolsfm.conf
+ System-wide initialization file
+ .SH DIAGNOSTICS
+ Diagnostics appear in a little textfield at the bottom of the main window.


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101222039.f0MKdu588097>