From now on, ports that depend on Qt4 will have to set USES= qt:4 USE_QT= foo bar ports depending on Qt5 will use USES= qt:5 USE_QT= foo bar PR: 229225 Exp-run by: antoine Reviewed by: mat Approved by: portmgr (antoine) Differential Revision: →https://reviews.freebsd.org/D15540
42 lines
1.3 KiB
Makefile
42 lines
1.3 KiB
Makefile
# Created by: arved
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= kdepimlibs
|
|
PORTVERSION= ${KDE4_KDEPIM_VERSION}
|
|
PORTREVISION= 20
|
|
CATEGORIES= deskutils kde
|
|
MASTER_SITES= KDE/${KDE4_APPLICATIONS_BRANCH}/applications/${KDE4_APPLICATIONS_VERSION}/src
|
|
DIST_SUBDIR= KDE/${PORTVERSION}
|
|
PKGNAMESUFFIX= -kde4
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= KDE PIM Libraries
|
|
|
|
BUILD_DEPENDS= xsltproc:textproc/libxslt
|
|
LIB_DEPENDS= libgpgme.so:security/gpgme \
|
|
libsasl2.so:security/cyrus-sasl2 \
|
|
libboost_thread.so:devel/boost-libs \
|
|
libical.so:devel/libical \
|
|
libuuid.so:misc/e2fsprogs-libuuid \
|
|
libprison.so:graphics/prison \
|
|
libqjson.so:devel/qjson@qt4
|
|
|
|
USES= cmake:outsource kde:4 qt:4 shared-mime-info shebangfix tar:xz
|
|
USE_KDE= kdelibs akonadi \
|
|
automoc4 ontologies soprano
|
|
SHEBANG_FILES= mailtransport/kconf_update/migrate-transports.pl
|
|
USE_OPENLDAP= yes
|
|
USE_QT= corelib dbus declarative designer_build gui network sql xml \
|
|
qmake_build moc_build rcc_build uic_build
|
|
USE_LDCONFIG= yes
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
|
|
${PATCH_WRKSRC}/cmake/modules/*.cmake
|
|
${REINPLACE_CMD} -e 's|%%KDE_PREFIX%%|${KDE_PREFIX}|g' \
|
|
${PATCH_WRKSRC}/cmake/modules/FindQGpgme.cmake
|
|
# Prevent updating MIME during build.
|
|
${REINPLACE_CMD} -e '/^update_xdg_mimetypes/ d' \
|
|
${PATCH_WRKSRC}/CMakeLists.txt
|
|
|
|
.include <bsd.port.mk>
|