aboutsummaryrefslogtreecommitdiff
path: root/x11-fm/mtoolsfm/Makefile
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2001-01-23 09:06:23 +0000
committerKevin Lo <kevlo@FreeBSD.org>2001-01-23 09:06:23 +0000
commitda4643f31da3fb2806948d365c1b3d2a7f7dc606 (patch)
treed71f673d5d74eeaa45517975de5f913522adbb53 /x11-fm/mtoolsfm/Makefile
parent4e9948773ea1b46655ac01ce8e34740827dd73be (diff)
downloadports-da4643f31da3fb2806948d365c1b3d2a7f7dc606.tar.gz
ports-da4643f31da3fb2806948d365c1b3d2a7f7dc606.zip
Update to version 1.7
PR: 24557 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=37485
Diffstat (limited to 'x11-fm/mtoolsfm/Makefile')
-rw-r--r--x11-fm/mtoolsfm/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/x11-fm/mtoolsfm/Makefile b/x11-fm/mtoolsfm/Makefile
index f3c38a281a99..88aadf147d3e 100644
--- a/x11-fm/mtoolsfm/Makefile
+++ b/x11-fm/mtoolsfm/Makefile
@@ -6,24 +6,31 @@
#
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
${INSTALL_MAN} ${WRKSRC}/MToolsFM.1 ${MANPREFIX}/man/man1/mtoolsfm.1