mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Enabled PYTHON option
- Bump version
This commit is contained in:
parent
30318f4cd1
commit
7179f19979
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361004
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= qross
|
||||
PORTVERSION= 0.3.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= GH GHC
|
||||
|
||||
@ -20,18 +21,13 @@ GH_PROJECT= Qross
|
||||
WRKSRC= ${WRKDIR}/0xd34df00d-Qross-82e1fd2/src
|
||||
|
||||
OPTIONS_DEFINE= PYTHON
|
||||
OPTIONS_SUB= yes
|
||||
PYTHON_DESC= Python bindings
|
||||
PYTHON_CMAKE_ON= -DENABLE_PYTHON:BOOL=true
|
||||
PYTHON_CMAKE_OFF= -DENABLE_PYTHON:BOOL=false
|
||||
PYTHON_BUILD_DEPENDS= sip:${PORTSDIR}/devel/py-sip
|
||||
OPTIONS_DEFAULT=PYTHON
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MPYTHON}
|
||||
BUILD_DEPENDS= sip:${PORTSDIR}/devel/py-sip
|
||||
PLIST_SUB+= PYTHON=""
|
||||
.else
|
||||
CMAKE_ARGS= -DENABLE_PYTHON=OFF
|
||||
PLIST_SUB+= PYTHON="@comment "
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@${CP} ${FILESDIR}/CMakeLists.txt ${WRKSRC}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user