freebsd-ports/deskutils/kdepimlibs4/Makefile
Max Brazhnikov 2563be9e09 Fix PLIST_SUB handling.
PR:		ports/134478
Submitted by:	Dima Panov <fluffy at fluffy.khv.ru>
2009-05-16 08:55:35 +00:00

46 lines
1.1 KiB
Makefile

# New ports collection Makefile for: kdepimplibs
# Date created: 2008-01-20
# Whom: arved
#
# $FreeBSD$
PORTNAME= kdepimlibs
PORTVERSION= ${KDE4_VERSION}
PORTREVISION= 1
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
LIB_DEPENDS= gpgme:${PORTSDIR}/security/gpgme \
sasl2:${PORTSDIR}/security/cyrus-sasl2 \
boost_python:${PORTSDIR}/devel/boost-python \
ical.43:${PORTSDIR}/devel/libical
USE_KDE4= kdelibs akonadi kdeprefix kdehier automoc4
KDE4_BUILDENV= yes
USE_BZIP2= yes
USE_QT_VER= 4
QT_COMPONENTS= corelib opengl dbus qt3support \
designer network svg qtestlib help \
qmake_build moc_build rcc_build uic_build
USE_OPENLDAP= yes
MAKE_JOBS_UNSAFE= yes
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/lib/libgpgme-pth.so)
PLIST_SUB+= WITH_PTH=''
.else
PLIST_SUB+= WITH_PTH='@comment '
.endif
post-extract:
${MKDIR} ${WRKSRC}
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
${WRKSRC}/../cmake/modules/*.cmake
.include <bsd.port.post.mk>