aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/polkit-qt/Makefile
blob: 0e316fd651659a57c44f8b8e0ac54aec1c831b16 (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
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:    PolKit-qt
# Date created:     2009-12-25
# Whom:         Dima Panov <fluffy@Fluffy.Khv.RU>
#
# $FreeBSD$
#

PORTNAME=   polkit-qt
PORTVERSION=    0.99.0
DISTVERSIONPREFIX=  1-
CATEGORIES= sysutils
MASTER_SITES=   ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/apps/KDE4.x/admin/

MAINTAINER= kde@FreeBSD.org
COMMENT=    Qt4 frontend to PolKit-1

LICENSE=    LGPL21
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    polkit-agent-1.0:${PORTSDIR}/sysutils/polkit

USE_BZIP2=  yes
USE_GETTEXT=    yes
USE_LDCONFIG=   yes
USE_KDE4=   automoc4
USE_QT_VER= 4
QT_COMPONENTS=  corelib dbus gui network svg xml  \
        qmake_build moc_build rcc_build uic_build
USE_CMAKE=  yes
CMAKE_ARGS+=    -DCMAKE_SHARED_LINKER_FLAGS:STRING="-L${LOCALBASE}/lib"

post-extract:
    ${REINPLACE_CMD} -e 's|$${LIB_INSTALL_DIR}/pkgconfig|libdata/pkgconfig|' \
        ${WRKSRC}/CMakeLists.txt

.include <bsd.port.mk>