mirror of
https://git.freebsd.org/ports.git
synced 2025-06-28 08:00:31 -04:00
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
35 lines
722 B
Makefile
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>
|