mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
40529cb1b4
Since flex is in base, specifying "flex" in BUILD_DEPENDS does nothing; the requirement is satisfied by the base flex and the ports version is not brought in. One problem: the abakus makefile uses the absolute path of flex, so it has to be brought in.
29 lines
715 B
Makefile
29 lines
715 B
Makefile
# Created by: Andy Fawcett <andy@athame.co.uk>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= abakus
|
|
PORTVERSION= 0.92
|
|
PORTREVISION= 1
|
|
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= libmpfr.so:${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
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
.include <bsd.port.mk>
|