99d6d12a38
While here, chase some KDE4 ports and functionality, these are scheduled for removal on 2018-12-31. Change the default option/flavor to QT5 where applicable or use alternative toolkits like GTK. Submitted by: tcberner Reviewed by: adridg, jhale, rene, tcberner Approved by: portmgr (implicit, flavor hook) Differential Revision: https://reviews.freebsd.org/D17741
43 lines
978 B
Makefile
43 lines
978 B
Makefile
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= qross
|
|
PORTVERSION= 0.3.1
|
|
PORTREVISION= 3
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Qt-only fork of Kross, the KDE scripting framework
|
|
|
|
LICENSE= LGPL20+
|
|
|
|
DEPRECATED= Qt4 has been EOL since december 2015
|
|
EXPIRATION_DATE= 2019-03-15
|
|
|
|
USES= cmake qt:4
|
|
USE_LDCONFIG= yes
|
|
USE_QT= corelib designer gui network xml qmake_build uic_build moc_build \
|
|
rcc_build script testlib
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= 0xd34df00d
|
|
GH_PROJECT= Qross
|
|
|
|
WRKSRC_SUBDIR= src
|
|
|
|
OPTIONS_DEFINE= PYTHON
|
|
OPTIONS_SUB= yes
|
|
PYTHON_DESC= Python bindings
|
|
PYTHON_CMAKE_BOOL= ENABLE_PYTHON
|
|
PYTHON_BUILD_DEPENDS= ${PYTHON_INCLUDEDIR}/sip.h:devel/py-sip@${PY_FLAVOR}
|
|
PYTHON_USES= python:2.7
|
|
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>
|