blob: fe284a85bf858c4db96bf25cbace4b0dbb686db7 (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
PORTNAME= libdnf
DISTVERSION= 0.73.4
CATEGORIES= sysutils
MAINTAINER= yuri@FreeBSD.org
COMMENT= Dandified YUM, the next-generation version of YUM
WWW= https://github.com/rpm-software-management/libdnf
LICENSE= LGPL21 # no LICENSE tag for Version 2.1
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= check>0:devel/check
LIB_DEPENDS= libcurl.so:ftp/curl \
libexpat.so:textproc/expat2 \
libffi.so:devel/libffi \
libjson-c.so:devel/json-c \
libmodulemd.so:misc/libmodulemd \
libnghttp2.so:www/libnghttp2 \
libpopt.so:devel/popt \
librepo.so:misc/librepo \
librpmio.so:archivers/rpm4 \
libsmartcols.so:sysutils/util-linux \
libsolv.so:misc/libsolv \
libyaml.so:textproc/libyaml \
libzstd.so:archivers/zstd
TEST_DEPENDS= cppunit>0:devel/cppunit
USES= cmake:testing compiler:c++11-lang gettext gnome lua pkgconfig sqlite ssl
USE_GNOME= glib20 libxml2
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= rpm-software-management
CMAKE_OFF= BUILD_TESTNG WITH_GTKDOC WITH_HTML WITH_TESTS FREEBSD_INSTALL_DOCS
CMAKE_TESTING_ON= BUILD_TESTNG WITH_TESTS # tests throw exceptions, see https://github.com/rpm-software-management/libdnf/issues/1581
BINARY_ALIAS= git=false
OPTIONS_DEFINE= PYTHON ZCHUNK
OPTIONS_DEFAULT= PYTHON
OPTIONS_SUB= yes
PYTHON_CMAKE_BOOL= WITH_BINDINGS
PYTHON_USES= python
PYTHON_CMAKE_ON= -DPYTHON_DESIRED=${PYTHON_MAJOR_VER}
PYTHON_BUILD_DEPENDS= swig:devel/swig \
${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR}
ZCHUNK_DESC= With zchunk support
ZCHUNK_CMAKE_BOOL= WITH_ZCHUNK
ZCHUNK_BROKEN= Links with zchunk when WITH_ZCHUNK=OFF https://github.com/rpm-software-management/libdnf/issues/1515
# Tests fail to compile: ld: error: unable to find library -ltestshared, see https://github.com/rpm-software-management/libdnf/issues/1574
.include <bsd.port.mk>
|