1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/x11-fm/mtoolsfm/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

41 lines
1.0 KiB
Makefile

# New ports collection makefile for: MToolsFM
# Date created: 12 Jan 2000
# Whom: Michael Vasilenko <acid@stu.cn.ua>
#
# $FreeBSD$
#
PORTNAME= mtoolsfm
PORTVERSION= 1.9.5
PORTREVISION= 1
CATEGORIES= x11-fm
MASTER_SITES= SF
DISTNAME= MToolsFM-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A graphical frontend to mtools
RUN_DEPENDS= mtools:${PORTSDIR}/emulators/mtools
USE_GNOME= gnomehack gnometarget gtk12
USE_GETTEXT= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-conffile="${PREFIX}/etc/mtoolsfm.conf"
MAN1= mtoolsfm.1
post-patch:
@${REINPLACE_CMD} -e 's|MToolsFM|mtoolsfm|g' ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name 'Makefile.in' | ${XARGS} ${REINPLACE_CMD} -e \
's|MToolsFM|mtoolsfm|g'
@cd ${WRKSRC} && ${SED} -e \
's|MToolsFM|mtoolsfm|g ; \
s| /etc| ${PREFIX}/etc|g ; \
s|/usr/X11R6/bin|${PREFIX}/bin|g ; \
s|/usr/bin|${LOCALBASE}/bin|g ; \
s|^/etc|${PREFIX}/etc|g' < MToolsFM.1 > mtoolsfm.1
.include <bsd.port.mk>