freebsd-ports/devel/qross/Makefile
Tobias C. Berner b1a1d38bf9 Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
From now on, ports that depend on Qt4 will have to set
	USES=		qt:4
	USE_QT=		foo bar
ports depending on Qt5 will use
	USES=		qt:5
	USE_QT=		foo bar

PR:		229225
Exp-run by:	antoine
Reviewed by:	mat
Approved by:	portmgr (antoine)
Differential Revision:	→https://reviews.freebsd.org/D15540
2018-06-28 17:39:53 +00:00

40 lines
899 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+
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>