aboutsummaryrefslogtreecommitdiff
path: root/x11-fm/mtoolsfm
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fm/mtoolsfm')
-rw-r--r--x11-fm/mtoolsfm/Makefile14
-rw-r--r--x11-fm/mtoolsfm/distinfo2
2 files changed, 10 insertions, 6 deletions
diff --git a/x11-fm/mtoolsfm/Makefile b/x11-fm/mtoolsfm/Makefile
index 9312eaeaa36c..495645b88c59 100644
--- a/x11-fm/mtoolsfm/Makefile
+++ b/x11-fm/mtoolsfm/Makefile
@@ -1,12 +1,12 @@
# New ports collection makefile for: mfm
-# Version required: 1.2
+# Version required: 1.3
# Date created: 12 Jan 2000
# Whom: Michael Vasilenko <acid@stu.cn.ua>
#
# $FreeBSD$
#
-DISTNAME= mfm-1.2
+DISTNAME= mfm-1.3
CATEGORIES= x11-fm
MASTER_SITES= http://www.core-coutainville.org/mfm/archive/SOURCES/
@@ -16,10 +16,14 @@ LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
RUN_DEPENDS= mtools:${PORTSDIR}/emulators/mtools
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+
USE_X_PREFIX= yes
-USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= GTK_CONFIG=${GTK_CONFIG}
+CONFIGURE_ARGS= --disable-gtktest
-do-install:
- @ ${INSTALL_PROGRAM} ${WRKSRC}/mfm ${PREFIX}/bin
+post-patch:
+ @${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/*.h
+ @${PERL} -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/*.h
.include <bsd.port.mk>
diff --git a/x11-fm/mtoolsfm/distinfo b/x11-fm/mtoolsfm/distinfo
index a9bfa98e4ff4..585335449479 100644
--- a/x11-fm/mtoolsfm/distinfo
+++ b/x11-fm/mtoolsfm/distinfo
@@ -1 +1 @@
-MD5 (mfm-1.2.tar.gz) = 01188f178cd101cb2e8b5c56d7066da5
+MD5 (mfm-1.3.tar.gz) = f736965ab1217d0bc4ac26ea178e4895