summaryrefslogtreecommitdiff
path: root/sysutils/kdeadmin4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/kdeadmin4/Makefile')
-rw-r--r--sysutils/kdeadmin4/Makefile46
1 files changed, 25 insertions, 21 deletions
diff --git a/sysutils/kdeadmin4/Makefile b/sysutils/kdeadmin4/Makefile
index b5f068dc2be6..15e5de7bc6c9 100644
--- a/sysutils/kdeadmin4/Makefile
+++ b/sysutils/kdeadmin4/Makefile
@@ -1,38 +1,42 @@
-# -*-mode: makefile-*-
-# New ports collection makefile for: kdeadmin
-# Date created: 2 November 2001
-# Whom: will@cvs.kde.org
+# New ports collection Makefile for: kdeadmin
+# Date created: 2008-01-30
+# Whom: Martin Wilke <miwi@FreeBSD.org>
#
# $FreeBSD$
-#
PORTNAME= kdeadmin
-PORTVERSION= ${KDE_VERSION}
-PORTREVISION= 1
-CATEGORIES= sysutils kde
+PORTVERSION= ${KDE4_VERSION}
+CATEGORIES= sysutils kde ipv6
MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
+MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
-COMMENT= KDE applications related to system administration
+COMMENT= KDE Admin applications
+
+RUN_DEPENDS= ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
-USE_KDELIBS_VER=3
-PREFIX= ${KDE_PREFIX}
+LATEST_LINK= ${PORTNAME}4
USE_BZIP2= yes
-USE_GMAKE= yes
-USE_AUTOTOOLS= libtool:15
+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
-USE_LDCONFIG= yes
-LDCONFIG_DIRS+= %%PREFIX%%/lib/kde3
+CMAKE_ARGS+= -DBUILD_kpackage:BOOL=Off \
+ -DBUILD_lilo-config:BOOL=Off
post-patch:
+ ${MKDIR} ${WRKSRC}
${REINPLACE_CMD} -e \
- 's|pkgconfigdir =.*|pkgconfigdir = ${LOCALBASE}/libdata/pkgconfig|g' \
- ${WRKSRC}/knetworkconf/backends/Makefile.in
- ${REINPLACE_CMD} -e 's|INDEX-5|${INDEXFILE}|g' \
- ${WRKSRC}/kpackage/fbsdInterface.cpp
+ 's,$${LIB_INSTALL_DIR}/pkgconfig,libdata/pkgconfig,' \
+ ${WRKSRC}/../knetworkconf/backends/CMakeLists.txt
-.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.mk>