aboutsummaryrefslogtreecommitdiff
path: root/devel/msitools/Makefile
blob: 3ac8d93d682557258e284c3e3950044975075cf0 (plain) (blame)
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
PORTNAME=	msitools
DISTVERSION=	0.101
PORTREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	GNOME

PATCH_SITES=	https://gitlab.gnome.org/GNOME/msitools/-/commit/
PATCHFILES=	b08275d549bb12a09a420ef9ccaeb0974e00008a.patch:-p1 \
		25c4353cf173cddeb76c0a2dd6621bcb753cabf8.patch:-p1

MAINTAINER=	romain@FreeBSD.org
COMMENT=	Inspect and build Windows Installer (.MSI) files

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/copyright

BUILD_DEPENDS=	valac:lang/vala
LIB_DEPENDS=	libgcab-1.0.so:archivers/gcab \
		libgsf-1.so:devel/libgsf \
		libuuid.so:misc/e2fsprogs-libuuid
RUN_DEPENDS=	bash:shells/bash

USES=		bison gnome libtool meson perl5 pkgconfig shebangfix tar:xz
USE_LDCONFIG=	yes
USE_GNOME=	glib20 introspection libxml2
SHEBANG_FILES=	tools/msidiff.in \
		tools/msidump.in
PLIST_SUB=	DISTVERSION=${DISTVERSION}

OPTIONS_DEFINE=	NLS
OPTIONS_SUB=	yes

NLS_USES=	gettext

.include <bsd.port.mk>