diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2001-04-15 15:49:06 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2001-04-15 15:49:06 +0000 |
commit | 91835fac3eea413f8f83469a72e8e50db3d223bd (patch) | |
tree | f803eac1c795f16d8b5e2538e5df14ec3fe96090 /x11-fm/mtoolsfm | |
parent | Upgrade to version 4.0 (diff) |
Upgrade to version 1.8.
PR: 26558
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=41433
Diffstat (limited to 'x11-fm/mtoolsfm')
-rw-r--r-- | x11-fm/mtoolsfm/Makefile | 24 | ||||
-rw-r--r-- | x11-fm/mtoolsfm/distinfo | 2 | ||||
-rw-r--r-- | x11-fm/mtoolsfm/pkg-plist | 2 |
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 |