1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/deskutils/kdepim44/Makefile
Martin Wilke 745199b54e - Mark all kde4 ports MAKE_JOBS_UNSAFE
Approved by:	portmgr (pav)
2009-04-17 13:10:42 +00:00

72 lines
1.9 KiB
Makefile

# New ports collection Makefile for: kdepimp4
# Date created: 2008-31-05
# Whom: miwi
#
# $FreeBSD$
PORTNAME= kdepim
PORTVERSION= ${KDE4_VERSION}
CATEGORIES= deskutils kde ipv6
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= Libraries for KDE-PIM applications
BUILD_DEPENDS= libassuan>=1.0.4:${PORTSDIR}/security/libassuan
LIB_DEPENDS= gpgme:${PORTSDIR}/security/gpgme \
sasl2:${PORTSDIR}/security/cyrus-sasl2 \
boost_python:${PORTSDIR}/devel/boost-python \
mal.1:${PORTSDIR}/palm/libmal \
pisock.9:${PORTSDIR}/palm/pilot-link \
qca.2:${PORTSDIR}/devel/qca
LATEST_LINK= ${PORTNAME}4
USE_KDE4= kdelibs pimlibs kdebase akonadi kdeprefix kdehier automoc4
KDE4_BUILDENV= yes
USE_BZIP2= yes
USE_QT_VER= 4
QT_COMPONENTS= corelib opengl dbus qt3support designer network svg qtestlib \
qmake_build moc_build rcc_build uic_build
USE_OPENLDAP= yes
MAKE_JOBS_UNSAFE= yes
#fix build when kdepim3 is here
CMAKE_ARGS+= -DGPGME_LIBRARY_DIR:PATH="${KDE4_PREFIX}/lib"
MAN1= kabcclient.1
OPTIONS= GNOKII "KAdressbook import/export for Nokia phones" off
# KITCHENSYNC "PIM synchronization utility" off
.include <bsd.port.pre.mk>
.if defined(WITH_GNOKII)
LIB_DEPENDS+= gnokii:${PORTSDIR}/comms/gnokii
PLIST_SUB+= GNOKII=""
.else
CMAKE_ARGS+= -DWITH_GNOKII:BOOL=off
PLIST_SUB+= GNOKII="@comment "
.endif
# kitchensync is disabled in KDE 4.2
# .if defined(WITH_KITCHENSYNC)
# LIB_DEPENDS+= opensync.1:${PORTSDIR}/devel/libopensync
# PLIST_SUB+= KITCHENSYNC=""
# .else
# CMAKE_ARGS+= -DWITH_Opensync:BOOL=off
# PLIST_SUB+= KITCHENSYNC="@comment "
# .endif
post-extract:
${MKDIR} ${WRKSRC}
pre-configure:
#respect prefix
${FIND} ${WRKSRC}/.. -type f -name CMakeLists.txt | ${XARGS} \
${REINPLACE_CMD} -e '/^install/s,KDE4_DBUS_INTERFACES_DIR,DBUS_INTERFACES_INSTALL_DIR,g'
.include <bsd.port.post.mk>