openbsd-ports/x11/libkscreen/Makefile
zhuk 5d3208ad2f KDE's screen management library.
Used by Okular.

okay landry@
2014-07-10 09:00:47 +00:00

34 lines
730 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2014/07/10 09:00:47 zhuk Exp $
COMMENT = KDE screen management software
CATEGORIES = x11
VERSION = 1.0.4
DISTNAME = libkscreen-${VERSION}
SHARED_LIBS = kscreen 0.0
WANTLIB = m pthread
WANTLIB += ICE SM X11 X11-xcb Xext Xrandr xcb xcb-randr
WANTLIB += lib/qt4/QtDBus lib/qt4/QtGui lib/qt4/QtSvg
WANTLIB += ${KDE4LIB}/kdeui
WANTLIB += qjson
# LGPLv2.1+
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = ${MASTER_SITE_KDE:=stable/libkscreen/${VERSION}/src/}
DIST_SUBDIR = kde
MODULES = x11/kde4
MODKDE4_USE = libs
LIB_DEPENDS = devel/qjson
# allow tests to run
TEST_IS_INTERACTIVE = X11
TEST_ENV = QT_PLUGIN_PATH=${WRKBUILD}/lib
post-build:
ln -sf . ${WRKBUILD}/lib/kscreen
.include <bsd.port.mk>