summaryrefslogtreecommitdiff
path: root/sysutils/mtools/Makefile
blob: fccd63ad4f4d7c471fa7f705d6e90f2dc259c7ee (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
# $NetBSD: Makefile,v 1.39 2006/04/07 19:54:17 jlam Exp $

DISTNAME=	mtools-3.9.10
PKGREVISION=	1
CATEGORIES=	sysutils
MASTER_SITES=	http://www.tux.org/pub/knaff/mtools/
EXTRACT_SUFX=	.tar.bz2

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_TOOLS+=		gmake makeinfo
INFO_FILES=		# PLIST

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

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

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