blob: 7d9aa3167871092741e8074f9e0874a7020caf0c (
plain)
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
|
PORTNAME= shiboken2
DISTVERSION= 5.15.2
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= QT/official_releases/QtForPython/shiboken2/PySide2-${DISTVERSION}-src
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pyside-setup-opensource-src-${DISTVERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= Python binding generator for C++ libraries
LICENSE= GPLv2 LGPL21 LGPL3
LICENSE_COMB= multi
BROKEN_riscv64= fails to compile: __threading_support:135:3: Unsupported architecture
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \
git>0:devel/git
LIB_DEPENDS= libclang.so.${LLVM_DEFAULT:C/^([6-9])0/\1/}:devel/llvm${LLVM_DEFAULT} \
libxslt.so:textproc/libxslt
USES= cmake compiler:c++11-lang gnome python:3.5+ qt:5 shebangfix tar:xz
USE_GNOME= libxml2
USE_LDCONFIG= yes
USE_PYTHON= flavors
USE_QT= buildtools_build core gui network qmake_build testlib \
xml xmlpatterns
SHEBANG_FILES= shiboken_tool.py
CMAKE_ARGS+= "-DCMAKE_CXX_FLAGS=-lexecinfo" \
"-DCMAKE_STANDARD_LIBRARIES=-lexecinfo" \
"-DCMAKE_CXX_STANDARD_LIBRARIES=-lexecinfo" \
"-DUSE_PYTHON_VERSION=${PYTHON_VER}" \
"-DLLVM_CONFIG=${LOCALBASE}/bin/llvm-config${LLVM_DEFAULT}"
.include <bsd.port.pre.mk>
PLIST_SUB+= DISTVERSION=${DISTVERSION}
PLIST_SUB+= PYVERSTR=.cpython-${PYTHON_SUFFIX}${PYTHON_ABIVER}
WRKSRC= ${WRKDIR}/pyside-setup-opensource-src-${DISTVERSION:C/^([0-9].[0-9]+.[0-9])(.[0-9])?/\1/}/sources/shiboken2
.include <bsd.port.post.mk>
|