summaryrefslogtreecommitdiff
path: root/devel/qross/Makefile
blob: fd8ab3473922a611ec8b464df526ff2b5528dec9 (plain) (blame)
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
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$

PORTNAME=	qross
PORTVERSION=	0.3.1
PORTREVISION=	3
CATEGORIES=	devel

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_SUBDIR=	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: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>