blob: 99b3dcc8228cc7bf93df7c9d225e2c2e9f3d8389 (
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.61 2021/08/09 14:39:23 rhialto Exp $
DISTNAME= mtools-4.0.35
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GNU:=mtools/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= is@NetBSD.org
HOMEPAGE= https://www.gnu.org/software/mtools/
COMMENT= FAT (MS-DOS, Atari) disk access tools
LICENSE= gnu-gpl-v3 # or later
SUBST_CLASSES+= strtoi
SUBST_STAGE.strtoi= post-configure
SUBST_FILES.strtoi= config.h config.c floppyd_io.c \
mtools.h strtonum.c # *.[hc]
SUBST_SED.strtoi+= -e s/strtoi/mtools_strtoi/
GNU_CONFIGURE= yes
USE_TOOLS+= gmake makeinfo
INFO_FILES= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ENV+= ac_cv_func_strtoi=no
.include "options.mk"
.include "../../converters/libiconv/buildlink3.mk"
LIBS+= ${BUILDLINK_LDADD.iconv}
.include "../../mk/bsd.pkg.mk"
|