# $NetBSD$
#

DISTNAME=		cpmtools-2.4
CATEGORIES=		sysutils
MASTER_SITES=		http://www.moria.de/~michael/cpmtools/

MAINTAINER=		dgriffi@cs.csubak.edu
HOMEPAGE=		http://www.moria.de/~michael/cpmtools/
COMMENT=		Similar to mtools, except for CP/M filesystems

BUILD_DEPENDS+=		autoconf>=2.59:../../devel/autoconf

USE_BUILDLINK3=		yes
USE_PKGLOCALEDIR=	yes
GNU_CONFIGURE=		yes

CONFIGURE_ARGS+=	--datadir=${PREFIX}/share/cpmtools

INCOMPAT_CURSES=	NetBSD-1.4* NetBSD-1.5* NetBSD-1.6[-_.]*
INCOMPAT_CURSES+=	NetBSD-1.6[A-Z]-* NetBSD-1.6Z[A-C]*

pre-configure:
	cd ${WRKSRC}; ${AUTOCONF}

pre-install:
	mkdir -p ${PREFIX}/share/cpmtools

.include "../../devel/ncurses/buildlink3.mk"
#.include "../../mk/tools/autoconf.mk"
.include "../../mk/bsd.pkg.mk"
