freebsd-ports/misc/libcomps/Makefile
Yuri Victorovich 7bb5ee66e2 misc/libcomps: Update 0.1.17 -> 0.1.19
Reported by:	portscout
2022-12-21 03:01:52 -08:00

35 lines
774 B
Makefile

PORTNAME= libcomps
DISTVERSION= 0.1.19
CATEGORIES= misc
MAINTAINER= yuri@FreeBSD.org
COMMENT= Comps XML file manipulation library
WWW= https://github.com/rpm-software-management/libcomps
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/../COPYING
LIB_DEPENDS= libexpat.so:textproc/expat2
USES= cmake cpe gnome
CPE_VENDOR= rpm
USE_GNOME= libxml2
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= rpm-software-management
WRKSRC_SUBDIR= ${PORTNAME}
CMAKE_OFF= ENABLE_TESTS ENABLE_DOCS
OPTIONS_DEFINE= PYTHON
OPTIONS_DEFAULT= PYTHON
OPTIONS_SUB= yes
PYTHON_CMAKE_BOOL= BUILD_PYTHON_MODULE
PYTHON_USES= python
PYTHON_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR}
PYTHON_CMAKE_ON= -DPYTHON_DESIRED=${PYTHON_MAJOR_VER}
.include <bsd.port.mk>