summaryrefslogtreecommitdiff
path: root/sysutils/hivex/Makefile
blob: cc3f4f7f1563e00243a1740996328566bcc719ba (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
32
33
34
35
36
37
38
39
40
# $NetBSD: Makefile,v 1.17 2022/05/24 18:51:55 jaapb Exp $

DISTNAME=	hivex-1.3.18
PKGREVISION=	11
CATEGORIES=	sysutils
MASTER_SITES=	http://download.libguestfs.org/hivex/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://libguestfs.org/
COMMENT=	Library for reading Windows Registry "hive" files
LICENSE=	gnu-lgpl-v2.1

EXTRACT_USING=		bsdtar
GNU_CONFIGURE=		yes
USE_TOOLS+=		gmake perl pkg-config
USE_LIBTOOL=		yes
USE_PKGLOCALEDIR=	yes

PKGCONFIG_OVERRIDE+=	hivex.pc.in

CONFIGURE_ARGS+=	--disable-nls

REPLACE_SH+=		sh/hivexget

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

PLIST_VARS+=	tools
.if ${OPSYS} == "Darwin" || ${OPSYS} == "SunOS"
CONFIGURE_ENV+=	ac_cv_func_open_memstream=no
.else
PLIST.tools=yes
.include "../../archivers/xz/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.endif

.include "options.mk"

.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"