aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/mtoolsfm
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2001-04-15 23:49:06 +0800
committerkevlo <kevlo@FreeBSD.org>2001-04-15 23:49:06 +0800
commitc340b5ff872012d86d0f3107702a89b0e51fe1b9 (patch)
tree0a45ace6f2257c7382b5bdf66ae1f7518b7c1312 /x11-fm/mtoolsfm
parent3fbf04c17e9c7f2587ddc9a47da0f57b3442d4d2 (diff)
downloadfreebsd-ports-gnome-c340b5ff872012d86d0f3107702a89b0e51fe1b9.tar.gz
freebsd-ports-gnome-c340b5ff872012d86d0f3107702a89b0e51fe1b9.tar.zst
freebsd-ports-gnome-c340b5ff872012d86d0f3107702a89b0e51fe1b9.zip
Upgrade to version 1.8.
PR: 26558 Submitted by: Ports Fury
Diffstat (limited to 'x11-fm/mtoolsfm')
-rw-r--r--x11-fm/mtoolsfm/Makefile24
-rw-r--r--x11-fm/mtoolsfm/distinfo2
-rw-r--r--x11-fm/mtoolsfm/pkg-plist2
3 files changed, 16 insertions, 12 deletions
diff --git a/x11-fm/mtoolsfm/Makefile b/x11-fm/mtoolsfm/Makefile
index e079431a58a1..16340e41db83 100644
--- a/x11-fm/mtoolsfm/Makefile
+++ b/x11-fm/mtoolsfm/Makefile
@@ -6,20 +6,20 @@
#
PORTNAME= mtoolsfm
-PORTVERSION= 1.7
+PORTVERSION= 1.8
CATEGORIES= x11-fm
MASTER_SITES= http://www.core-coutainville.org/MToolsFM/archive/SOURCES/
-DISTNAME= MToolsFM-${PORTVERSION}-2
+DISTNAME= MToolsFM-${PORTVERSION}
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_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-conffile="${PREFIX}/etc/mtoolsfm.conf" \
--with-mtoolsdir="${LOCALBASE}/bin" \
--disable-gtktest
@@ -27,12 +27,14 @@ CONFIGURE_ARGS= --with-conffile="${PREFIX}/etc/mtoolsfm.conf" \
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
+ @${PERL} -pi -e 's|MToolsFM|mtoolsfm|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g ; \
+ s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/MToolsFM.1
+ @find ${WRKSRC} -name 'Makefile.in' | xargs ${PERL} -pi -e \
+ 's|MToolsFM|mtoolsfm|g'
+
+pre-build:
+ @${LN} -sf ${WRKSRC}/MToolsFM.1 ${WRKSRC}/mtoolsfm.1
.include <bsd.port.mk>
diff --git a/x11-fm/mtoolsfm/distinfo b/x11-fm/mtoolsfm/distinfo
index 5eb3ee0b2481..275afe289eac 100644
--- a/x11-fm/mtoolsfm/distinfo
+++ b/x11-fm/mtoolsfm/distinfo
@@ -1 +1 @@
-MD5 (MToolsFM-1.7-2.tar.gz) = 5acd129c9bd43a5a7cfb4309e62ce74c
+MD5 (MToolsFM-1.8.tar.gz) = 69f308a7d29386a8e884b3a92324d2ac
diff --git a/x11-fm/mtoolsfm/pkg-plist b/x11-fm/mtoolsfm/pkg-plist
index ccbb993edc25..0095dabbc905 100644
--- a/x11-fm/mtoolsfm/pkg-plist
+++ b/x11-fm/mtoolsfm/pkg-plist
@@ -1 +1,3 @@
bin/mtoolsfm
+share/locale/de/LC_MESSAGES/mtoolsfm.mo
+share/locale/fr/LC_MESSAGES/mtoolsfm.mo