Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 May 2000 09:30:18 -0700 (PDT)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/18677: Update port: x11-fm/mfm to 1.5
Message-ID:  <20000519163018.C71C237BEFB@hub.freebsd.org>

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

>Number:         18677
>Category:       ports
>Synopsis:       Update port: x11-fm/mfm to 1.5
>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:   Fri May 19 09:40:02 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.0-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 1.5

Remove file:
patches/patch-ab

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/x11-fm/mfm/Makefile x11-fm/mfm/Makefile
--- /usr/ports/x11-fm/mfm/Makefile	Mon Apr 10 21:06:39 2000
+++ x11-fm/mfm/Makefile	Sat May 13 03:32:08 2000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	mfm
-PORTVERSION= 	1.3
+PORTVERSION= 	1.5
 CATEGORIES=	x11-fm
 MASTER_SITES=	http://www.core-coutainville.org/mfm/archive/SOURCES/
 
@@ -19,11 +19,9 @@
 
 USE_X_PREFIX=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	GTK_CONFIG=${GTK_CONFIG}
-CONFIGURE_ARGS=	--disable-gtktest
-
-post-patch:
-	@${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/*.h
-	@${PERL} -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/*.h
+CONFIGURE_ENV=	GTK_CONFIG="${GTK_CONFIG}"
+CONFIGURE_ARGS=	--with-conffile="${PREFIX}/etc/mfm.conf" \
+		--with-mtoolsdir="${LOCALBASE}/bin" \
+		--disable-gtktest
 
 .include <bsd.port.mk>
diff -urN /usr/ports/x11-fm/mfm/files/md5 x11-fm/mfm/files/md5
--- /usr/ports/x11-fm/mfm/files/md5	Sun Jan 30 06:49:35 2000
+++ x11-fm/mfm/files/md5	Sat May 13 03:27:02 2000
@@ -1 +1 @@
-MD5 (mfm-1.3.tar.gz) = f736965ab1217d0bc4ac26ea178e4895
+MD5 (mfm-1.5.tar.gz) = fe3297c55fee68a1ba1508e46913bca0
diff -urN /usr/ports/x11-fm/mfm/patches/patch-ab x11-fm/mfm/patches/patch-ab
--- /usr/ports/x11-fm/mfm/patches/patch-ab	Sun Jan 30 06:49:37 2000
+++ x11-fm/mfm/patches/patch-ab	Thu Jan  1 09:00:00 1970
@@ -1,17 +0,0 @@
---- mfm.h.orig	Wed Jan  5 06:06:00 2000
-+++ mfm.h	Sat Jan 29 01:42:50 2000
-@@ -18,12 +18,12 @@
- /* The location of the system-wide configuration file. This should be fine */
- /* on most systems. */
- 
--#define CONFFILE "/etc/mfm.conf"
-+#define CONFFILE "%%PREFIX%%/etc/mfm.conf"
- 
- /* Default path for mtools. This can also be changed in the system-wide */
- /* configuration file you gave above. */
- 
--#define MTOOLSDIR "/usr/bin"
-+#define MTOOLSDIR "%%LOCALBASE%%/bin"
- 
- /* Uncomment the following line if you do not want mfm to use pixmaps. */
- /* This might be necessary on some systems with strange libraries */


>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?20000519163018.C71C237BEFB>