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

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

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

RUN_DEPENDS=    octave:${PORTSDIR}/math/octave

USE_QT4=    designer gui network script svg xml \
        qmake_build moc_build rcc_build uic_build \
        linguisttools_build
USES=       cmake
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>