aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/kdeadmin4/Makefile
blob: 4000ab00db3da9ed03016b4f560da83b434273bc (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
38
39
40
41
42
43
# New ports collection Makefile for:    kdeadmin
# Date created:             2008-01-30
# Whom:                 Martin Wilke <miwi@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=   kdeadmin
PORTVERSION=    ${KDE4_VERSION}
PORTREVISION=   1
CATEGORIES= sysutils kde ipv6
MASTER_SITES=   ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
DIST_SUBDIR=    KDE

MAINTAINER= kde@FreeBSD.org
COMMENT=    KDE Admin applications

RUN_DEPENDS=    ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme

LATEST_LINK=    ${PORTNAME}4

USE_BZIP2=  yes
USE_QT_VER= 4
USE_KDE4=   kdelibs pimlibs kdeprefix kdehier automoc4
KDE4_BUILDENV=  yes
USE_OPENSSL=    yes
QT_COMPONENTS=  corelib opengl moc rcc dbus qt3support designer network svg qtestlib \
        network uic3 porting
#USE_OPENLDAP=  yes

# dirty hack should fix in upstream?
LDFLAGS=    -lcrypt

CMAKE_ARGS+=    -DBUILD_kpackage:BOOL=Off \
        -DBUILD_lilo-config:BOOL=Off

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

.include <bsd.port.mk>