aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/polkit-kde/Makefile
blob: 7e030971959f75fa7610bae1475643b5829b3a48 (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
# Created by: Dima Panov <fluffy@Fluffy.Khv.RU>
# $FreeBSD$

PORTNAME=   polkit-kde
PORTVERSION=    0.99.1
PORTREVISION=   1
CATEGORIES= sysutils kde
MASTER_SITES=   ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/apps/KDE4.x/admin/
DISTNAME=   ${PORTNAME}-agent-1-${PORTVERSION:C/1$/0/}

MAINTAINER= kde@FreeBSD.org
COMMENT=    Polkit authentication UI for KDE Workspaces

LICENSE=    GPLv2

LIB_DEPENDS=    libpolkit-qt-agent-1.so:${PORTSDIR}/sysutils/polkit-qt

USE_BZIP2=  yes
USE_KDE4=   kdehier kdelibs kdeprefix automoc4
USE_QT4=    moc_build qmake_build rcc_build uic_build
USES=       cmake

OPTIONS_DEFINE= NLS
OPTIONS_SUB=    yes

NLS_CMAKE_OFF=  -DBUILD_po:BOOL=FALSE
NLS_USES=   gettext

.include <bsd.port.options.mk>

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

.include <bsd.port.mk>