aboutsummaryrefslogtreecommitdiffstats
path: root/math/abakus/Makefile
blob: 9a7cae1a8dc685a5b4c8de5eb6a1e0b581cf7e06 (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
# Created by: Andy Fawcett <andy@athame.co.uk>
# $FreeBSD$

PORTNAME=   abakus
PORTVERSION=    0.92
CATEGORIES= math kde
MASTER_SITES=   http://purinchu.net/abakus/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Simple KDE Calculator

LICENSE=    GPLv2

BUILD_DEPENDS=  ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex
LIB_DEPENDS=    mpfr:${PORTSDIR}/math/mpfr

USE_BZIP2=  yes
USE_KDE4=   automoc4 kdehier kdelibs kdeprefix
USE_QT4=    moc_build qmake_build rcc_build uic_build
USES=       bison cmake
CMAKE_ARGS= -DCMAKE_REQUIRED_INCLUDES:STRING="${LOCALBASE}/include" \
        -DCMAKE_REQUIRED_FLAGS:STRING="${LDFLAGS}" \
        -DFLEX_EXECUTABLE:FILEPATH=${LOCALBASE}/bin/flex
MAKE_JOBS_SAFE= yes

LDFLAGS+=   -L${LOCALBASE}/lib

.include <bsd.port.mk>