freebsd-ports/devel/kf5-kservice/Makefile
Tobias C. Berner 7694c2c693 Fix build on FreeBSD versions with old flex.
Approved by:	rakuco (mentor)
2016-11-19 23:02:03 +00:00

22 lines
625 B
Makefile

# Created by: tcberner
# $FreeBSD$
PORTNAME= kservice
PORTVERSION= ${KDE_FRAMEWORKS_VERSION}
CATEGORIES= devel kde kde-frameworks
MAINTAINER= kde@FreeBSD.org
COMMENT= KF5 advanced plugin and service introspection
USES= bison cmake:outsource compiler:c++11-lib gettext kde:5 tar:xz
USE_KDE= archive config coreaddons crash dbusaddons \
doctools ecm i18n
USE_QT5= buildtools_build core dbus gui qmake_build xml
.include <bsd.port.pre.mk>
# Flex on FreeBSD 9 and older 10 is too old
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000033
BUILD_DEPENDS+= ${LOCALBASE}/bin/flex:textproc/flex
.endif
.include <bsd.port.post.mk>