summaryrefslogtreecommitdiff
path: root/sysutils/mtools/options.mk
blob: b54e1a3536c8943301b33fc814a8090ebead8ef7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $NetBSD: options.mk,v 1.1 2008/04/10 21:19:19 jlam Exp $

PKG_OPTIONS_VAR=		PKG_OPTIONS.mtools
PKG_SUPPORTED_OPTIONS=		floppyd
PKG_OPTIONS_LEGACY_VARS=	MTOOLS_ENABLE_FLOPPYD:floppyd

.include "../../mk/bsd.options.mk"

PLIST_VARS+=		floppyd
.if !empty(PKG_OPTIONS:Mfloppyd)
BUILDLINK_DEPMETHOD.libXt?=	build
.  include "../../x11/libX11/buildlink3.mk"
.  include "../../x11/libXt/buildlink3.mk"
CPPFLAGS+=		-I${X11BASE}/include
CONFIGURE_ARGS+=	--enable-floppyd
PLIST.floppyd=		yes
.else
CONFIGURE_ARGS+=	--disable-floppyd
.endif