2000-12-21 09:01:10 +01:00
|
|
|
# New ports collection makefile for: MToolsFM
|
2000-01-22 03:31:50 +01:00
|
|
|
# Date created: 12 Jan 2000
|
|
|
|
# Whom: Michael Vasilenko <acid@stu.cn.ua>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-12-21 09:01:10 +01:00
|
|
|
PORTNAME= mtoolsfm
|
2001-08-28 03:41:28 +02:00
|
|
|
PORTVERSION= 1.9.3
|
2004-02-04 06:10:27 +01:00
|
|
|
PORTREVISION= 2
|
2000-01-22 03:31:50 +01:00
|
|
|
CATEGORIES= x11-fm
|
2000-12-22 17:59:19 +01:00
|
|
|
MASTER_SITES= http://www.core-coutainville.org/MToolsFM/archive/SOURCES/
|
2001-08-27 17:49:06 +02:00
|
|
|
DISTNAME= MToolsFM-${PORTVERSION:R}-${PORTVERSION:E}
|
2000-01-22 03:31:50 +01:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:21:36 +01:00
|
|
|
COMMENT= A graphical frontend to mtools
|
2000-01-22 03:31:50 +01:00
|
|
|
|
|
|
|
RUN_DEPENDS= mtools:${PORTSDIR}/emulators/mtools
|
|
|
|
|
2002-06-26 19:33:16 +02:00
|
|
|
USE_REINPLACE= yes
|
2000-01-22 03:31:50 +01:00
|
|
|
USE_X_PREFIX= yes
|
2002-09-02 06:03:35 +02:00
|
|
|
USE_GNOME= gtk12
|
2000-01-29 22:49:35 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2001-04-15 17:49:06 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
2001-08-28 03:41:28 +02:00
|
|
|
CONFIGURE_ARGS= --with-conffile="${PREFIX}/etc/mtoolsfm.conf"
|
2000-01-22 03:31:50 +01:00
|
|
|
|
2000-12-21 09:01:10 +01:00
|
|
|
MAN1= mtoolsfm.1
|
|
|
|
|
2001-01-23 10:06:23 +01:00
|
|
|
post-patch:
|
2002-06-26 19:33:16 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|MToolsFM|mtoolsfm|g ; \
|
2001-04-15 17:49:06 +02:00
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
2002-06-26 19:33:16 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \
|
2001-04-15 17:49:06 +02:00
|
|
|
s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/MToolsFM.1
|
2002-06-26 19:33:16 +02:00
|
|
|
@${FIND} ${WRKSRC} -name 'Makefile.in' | ${XARGS} ${REINPLACE_CMD} -e \
|
2001-04-15 17:49:06 +02:00
|
|
|
's|MToolsFM|mtoolsfm|g'
|
2002-05-04 23:41:24 +02:00
|
|
|
.for file in src/mtoolsfm.h po/de.po po/fr.po
|
|
|
|
@${MV} -f ${WRKSRC}/${file} ${WRKSRC}/${file}.preedit
|
|
|
|
@${CAT} ${WRKSRC}/${file}.preedit | \
|
|
|
|
${TR} '\264' '\047' > ${WRKSRC}/${file}
|
|
|
|
.endfor
|
2001-04-15 17:49:06 +02:00
|
|
|
|
|
|
|
pre-build:
|
|
|
|
@${LN} -sf ${WRKSRC}/MToolsFM.1 ${WRKSRC}/mtoolsfm.1
|
2000-01-22 03:31:50 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|