blob: df4d029792e2a142647ef6a2c1df3b0fa2be6a9d (
plain)
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
|
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= seexpr
DISTVERSIONPREFIX= v
PORTVERSION= 2.11
PORTREVISION= 1
CATEGORIES= graphics math
MAINTAINER= danfe@FreeBSD.org
COMMENT= Embeddable expression evaluation language
LICENSE= APACHE20
USE_GITHUB= yes
GH_ACCOUNT= wdas
GH_PROJECT= SeExpr
USES= bison cmake compiler:c++0x pyqt:4 python
USE_PYQT= gui_build sip_build
USE_QT4= moc_build qmake_build rcc_build uic_build gui opengl
MAKE_JOBS_UNSAFE= yes # https://github.com/wdas/seexpr/issues/40
CXXFLAGS+= -I${LOCALBASE}/include
.if ${MACHINE_CPU:Msse41}
CMAKE_ARGS+= -DUSE_SSE41:BOOL=ON
.endif
post-patch:
@${REINPLACE_CMD} -e '/<alloca\.h>/d' ${WRKSRC}/src/SeExpr/SePlatform.h
@${REINPLACE_CMD} -e 's, "dl",,' ${WRKSRC}/src/SeExpr/CMakeLists.txt
.include <bsd.port.mk>
|