summaryrefslogtreecommitdiffstats
path: root/x11-fm/mtoolsfm/Makefile
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-01-29 21:49:35 +0000
committersteve <steve@FreeBSD.org>2000-01-29 21:49:35 +0000
commit82fac0a09c49427c8d2b764b5e044e358e5be348 (patch)
tree7c4b790001f20acdeebb6db3eed3127c0530d00f /x11-fm/mtoolsfm/Makefile
parent10181b37306410999f6c2fab6e2b0880b72135f2 (diff)
downloadFreeBSD-ports-82fac0a09c49427c8d2b764b5e044e358e5be348.zip
FreeBSD-ports-82fac0a09c49427c8d2b764b5e044e358e5be348.tar.gz
Update to version 1.3.
PR: 16427 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'x11-fm/mtoolsfm/Makefile')
-rw-r--r--x11-fm/mtoolsfm/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/x11-fm/mtoolsfm/Makefile b/x11-fm/mtoolsfm/Makefile
index 9312eae..495645b 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>
OpenPOWER on IntegriCloud