1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/devel/qross/Makefile
Veniamin Gvozdikov 7179f19979 - Enabled PYTHON option
- Bump version
2014-07-06 20:29:05 +00:00

40 lines
931 B
Makefile

# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$
PORTNAME= qross
PORTVERSION= 0.3.1
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= GH GHC
MAINTAINER= vg@FreeBSD.org
COMMENT= Qt-only fork of Kross, the KDE scripting framework
USES= cmake tar:bzip2
USE_LDCONFIG= yes
USE_QT4= designer gui network xml qmake_build uic_build moc_build \
rcc_build script testlib
USE_GITHUB= yes
GH_ACCOUNT= 0xd34df00d
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
post-extract:
@${CP} ${FILESDIR}/CMakeLists.txt ${WRKSRC}
post-install:
.for lib in libqrossui libqrosscore qrossqts
@${LN} -s ${lib}.so.0.1 ${STAGEDIR}${PREFIX}/lib/${lib}.so.1
.endfor
.include <bsd.port.mk>