aboutsummaryrefslogtreecommitdiff
path: root/archivers/unarr/Makefile
blob: 621b3d5b046ecdf26e4aca5bfa1e8cf8f3dbd7af (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
PORTNAME=	unarr
DISTVERSIONPREFIX=	v
DISTVERSION=	1.1.1
CATEGORIES=	archivers

MAINTAINER=	jbeich@FreeBSD.org
COMMENT=	Decompression library for RAR, TAR, ZIP and 7z* archives
WWW=		https://github.com/selmf/unarr

LICENSE=	LGPL3
LICENSE_FILE=	${WRKSRC}/COPYING

BROKEN_riscv64=		fails to build: Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension

TEST_DEPENDS=	cmocka>0:sysutils/cmocka

USES=		cmake:testing pathfix
USE_GITHUB=	yes
USE_LDCONFIG=	yes
GH_ACCOUNT=	selmf
CMAKE_TESTING_ON=	BUILD_INTEGRATION_TESTS BUILD_UNIT_TESTS

post-patch:
.if ${/usr/bin/ld:L:tA} != /usr/bin/ld.lld
	@${REINPLACE_CMD} 's/ -flto//' ${WRKSRC}/CMakeLists.txt
.endif

.include <bsd.port.mk>