blob: 88aadf147d3e49e307432261a1a238b6624035d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# New ports collection makefile for: MToolsFM
# Date created: 12 Jan 2000
# Whom: Michael Vasilenko <acid@stu.cn.ua>
#
# $FreeBSD$
#
PORTNAME= mtoolsfm
PORTVERSION= 1.7
CATEGORIES= x11-fm
MASTER_SITES= http://www.core-coutainville.org/MToolsFM/archive/SOURCES/
DISTNAME= MToolsFM-${PORTVERSION}-2
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_ARGS= --with-conffile="${PREFIX}/etc/mtoolsfm.conf" \
--with-mtoolsdir="${LOCALBASE}/bin" \
--disable-gtktest
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
.include <bsd.port.mk>
|