summaryrefslogtreecommitdiff
path: root/sysutils/mtools/Makefile
blob: 1d99f334db75d4a6d2682a49c8856b5450e3e1a4 (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
# $NetBSD: Makefile,v 1.28 2003/07/17 22:53:43 grant Exp $
#

DISTNAME=	mtools-3.9.7
PKGREVISION=	2
CATEGORIES=	sysutils
MASTER_SITES=	ftp://ftp.tux.org/pub/tux/knaff/mtools/

MAINTAINER=	is@NetBSD.org
HOMEPAGE=	http://www.tux.org/pub/knaff/mtools/
COMMENT=	FAT (MS-DOS, Atari) disk access tools

NOT_FOR_PLATFORM = *-*-alpha *-*-sparc64	# LP64 problem

GNU_CONFIGURE=	YES
USE_GMAKE=	YES
INFO_FILES=	mtools.info

TEXINFO_OVERRIDE=	YES

.include "../../mk/bsd.prefs.mk"

.if defined(MTOOLS_ENABLE_FLOPPYD) && !empty(MTOOLS_ENABLE_FLOPPYD:M[Yy][Ee][Ss])
USE_X11=	YES
CPPFLAGS=	-I${X11BASE}/include
CONFIGURE_ARGS=	--enable-floppyd
PLIST_SUBST=	NOFLOPPYD=
.else
CONFIGURE_ARGS=	--disable-floppyd
PLIST_SUBST=	NOFLOPPYD="@comment "
.endif

.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"