aboutsummaryrefslogtreecommitdiffstats
path: root/math/qtoctave/Makefile
blob: d9cc69ee53610b324b0f0a65ba6441b41ae576e1 (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
# $FreeBSD$

PORTNAME=   qtoctave
PORTVERSION=    0.10.1
PORTREVISION=   6
CATEGORIES= math
MASTER_SITES=   http://forja.rediris.es/frs/download.php/2054/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Qt 4 frontend for Octave

DEPRECATED=     Qt4 has been EOL since december 2015
EXPIRATION_DATE=    2019-03-15

RUN_DEPENDS=    octave:math/octave

USE_QT=     designer gui network script svg xml \
        qmake_build moc_build rcc_build uic_build \
        linguisttools_build
USES=       cmake:insource qt:4
CMAKE_ARGS+=    -DWITH_UseRPMTools:Bool=Off

post-patch:
    ${REINPLACE_CMD} -e '/COMMAND "lrelease"/s,lrelease,$${QT_LRELEASE_EXECUTABLE},' \
        ${WRKSRC}/qtoctave/src/CMakeLists.txt
    ${RM} ${WRKSRC}/qtoctave/src/scripts_octave/qtinfo.m.orig

.include <bsd.port.mk>