ports/misc/libcomps/Makefile
Charlie Li 9a80a6ee5e
devel/py-setuptools: convert individual consumers to ${PY_SETUPTOOLS}
Currently a no-op, but in the future outputs the correct setuptools
port depending on whether USES_PYTHON=distutils is specified.

With hat: python
PR: 270510, 270358
2023-07-17 20:53:09 -04:00

35 lines
722 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= ${PY_SETUPTOOLS}
PYTHON_CMAKE_ON= -DPYTHON_DESIRED=${PYTHON_MAJOR_VER}
.include <bsd.port.mk>