pkgsrc/sysutils/mtools/Makefile

32 lines
777 B
Makefile

# $NetBSD: Makefile,v 1.32 2004/01/24 15:06:58 grant Exp $
#
DISTNAME= mtools-3.9.9
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_GNU_TOOLS+= make
USE_MAKEINFO= YES
INFO_FILES= mtools.info
.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/bsd.pkg.mk"