blob: c0f21007939f293eb5bcdcb671bdaaaeb3c713d5 (
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
39
40
41
42
|
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$
PORTNAME= qross
PORTVERSION= 0.2.2
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://cloud.github.com/downloads/0xd34df00d/Qross/
MAINTAINER= vg@FreeBSD.org
COMMENT= Qt-only fork of Kross, the KDE scripting framework
USE_BZIP2= yes
USES= cmake
USE_LDCONFIG= yes
USE_QT4= designer gui network xml qmake_build uic_build moc_build \
rcc_build script
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
OPTIONS_DEFINE= PYTHON
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}
post-install:
.for lib in libqrossui libqrosscore qrossqts
@${LN} -s ${lib}.so.0.1 ${PREFIX}/lib/${lib}.so.1
.endfor
.include <bsd.port.mk>
|