1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Upgrade to version 1.8.

PR: 26558
Submitted by: Ports Fury
This commit is contained in:
Kevin Lo 2001-04-15 15:49:06 +00:00
parent 3ce6987ce4
commit 91835fac3e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=41433
3 changed files with 15 additions and 11 deletions

View File

@ -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
@${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'
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/MToolsFM ${PREFIX}/bin/mtoolsfm
${INSTALL_MAN} ${WRKSRC}/MToolsFM.1 ${MANPREFIX}/man/man1/mtoolsfm.1
pre-build:
@${LN} -sf ${WRKSRC}/MToolsFM.1 ${WRKSRC}/mtoolsfm.1
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (MToolsFM-1.7-2.tar.gz) = 5acd129c9bd43a5a7cfb4309e62ce74c
MD5 (MToolsFM-1.8.tar.gz) = 69f308a7d29386a8e884b3a92324d2ac

View File

@ -1 +1,3 @@
bin/mtoolsfm
share/locale/de/LC_MESSAGES/mtoolsfm.mo
share/locale/fr/LC_MESSAGES/mtoolsfm.mo