2014-08-30 05:02:23 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2014/08/30 09:02:23 ajacoutot Exp $
|
2010-07-17 01:50:24 -04:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
|
2011-09-19 10:44:43 -04:00
|
|
|
COMMENT= PolicyKit authentication agent for for Qt4
|
2010-07-17 01:50:24 -04:00
|
|
|
|
2014-08-30 05:02:23 -04:00
|
|
|
V= 0.112.0
|
2010-07-17 01:50:24 -04:00
|
|
|
DISTNAME= polkit-qt-1-${V}
|
|
|
|
PKGNAME= polkit-qt4-${V}
|
|
|
|
|
2014-08-30 05:02:23 -04:00
|
|
|
SHARED_LIBS += polkit-qt-agent-1 2.0 # 0.99
|
|
|
|
SHARED_LIBS += polkit-qt-core-1 2.0 # 0.99
|
|
|
|
SHARED_LIBS += polkit-qt-gui-1 2.0 # 0.99
|
2010-07-17 01:50:24 -04:00
|
|
|
|
|
|
|
CATEGORIES= x11 sysutils
|
|
|
|
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
HOMEPAGE= http://techbase.kde.org/Polkit-Qt-1
|
|
|
|
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
|
|
|
|
# LGPLv2+
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2014-08-30 05:02:23 -04:00
|
|
|
WANTLIB += QtDBus QtGui gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
|
|
|
|
WANTLIB += gthread-2.0 m polkit-agent-1 polkit-gobject-1 stdc++
|
2010-07-17 01:50:24 -04:00
|
|
|
|
2010-09-30 03:26:56 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_KDE:=stable/apps/KDE4.x/admin/}
|
2010-07-17 01:50:24 -04:00
|
|
|
|
2014-08-30 05:02:23 -04:00
|
|
|
MODULES= devel/cmake \
|
2010-07-17 01:50:24 -04:00
|
|
|
x11/qt4
|
|
|
|
|
2013-02-02 05:05:43 -05:00
|
|
|
BUILD_DEPENDS= devel/automoc
|
2010-07-17 01:50:24 -04:00
|
|
|
|
2010-11-22 03:36:47 -05:00
|
|
|
LIB_DEPENDS= sysutils/polkit
|
2010-07-17 01:50:24 -04:00
|
|
|
|
2013-03-30 09:03:45 -04:00
|
|
|
# polkit(8) almost always needs to know the "active" session
|
|
|
|
RUN_DEPENDS += sysutils/consolekit
|
|
|
|
|
2010-07-17 01:50:24 -04:00
|
|
|
CONFIGURE_ARGS= -DCMAKE_REQUIRED_FLAGS:STRING="-L${LOCALBASE}/lib" \
|
|
|
|
-DCMAKE_INCLUDE_PATH:STRING="${LOCALBASE}/include" \
|
|
|
|
-DCMAKE_EXE_LINKER_FLAGS:STRING="-L${LOCALBASE}/lib" \
|
|
|
|
-DCMAKE_SHARED_LINKER_FLAGS:STRING="-L${LOCALBASE}/lib"
|
|
|
|
|
2011-10-04 02:07:46 -04:00
|
|
|
pre-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/PolkitQt-1Config.cmake.in
|
|
|
|
|
2010-07-17 01:50:24 -04:00
|
|
|
.include <bsd.port.mk>
|