pkgsrc/x11/kdelibs4/Makefile
markd 0e4c4f6b89 Update to kde4 4.3.5
* A number of bugs in KIO have been squashed, making updating of shown
  directories work again and solving some other stability issues
* A crash when creating an avatar from the webcam in Kopete has been fixed
* kded taking 100% CPU time in certain situations has been cured
2010-01-27 10:38:38 +00:00

88 lines
2.8 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2010/01/27 10:38:41 markd Exp $
DISTNAME= kdelibs-${_KDE_VERSION}
CATEGORIES= x11
COMMENT= Support libraries for the KDE integrated X11 desktop
#PATCH_SITES= ftp://ftp.kde.org/pub/kde/security_patches/ \
# http://mirrors.isc.org/pub/kde/security_patches/
#PATCHFILES= post-kde-4.0.3-khtml.diff
.include "../../meta-pkgs/kde4/Makefile.kde4"
CONFLICTS= kdelibs-[0-9]*
# BUILD_MAKE_FLAGS+= VERBOSE=1
CMAKE_DEPENDENCIES_REWRITE= _KDE_build/KDELibsDependencies.cmake
CMAKE_DEPENDENCIES_REWRITE+= _KDE_build/KDELibsDependenciesInternal.cmake
CMAKE_MODULE_PATH_OVERRIDE+= kjsembed/qtonly/CMakeLists.txt
CMAKE_ARGS+= -DKDE_DISTRIBUTION_TEXT:STRING="NetBSD pkgsrc"
CMAKE_ARGS+= -DWITH_Avahi:BOOL=off
MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg/menus
CONF_FILES+= ${PREFIX}/share/examples/kdelibs4/applications.menu \
${PKG_SYSCONFDIR}/xdg/menus/applications.menu
INSTALLATION_DIRS+= ${PKGMANDIR}/man1 ${PKGMANDIR}/man7 ${PKGMANDIR}/man8
REPLACE_PERL+= \
kio/proxytype.pl \
kio/useragent.pl \
kio/misc/fileshareset \
kdeui/preparetips \
plasma/plasma_popupapplet_fix_groups.pl
CHECK_PORTABILITY_SKIP+=kate/tests/highlight.sh
SUBST_CLASSES+= kdelibsfix
SUBST_STAGE.kdelibsfix= pre-configure
SUBST_MESSAGE.kdelibsfix= Fixing hardcoded paths.
SUBST_FILES.kdelibsfix= \
kde3support/kdeui/k3sconfig.cpp \
kio/kssl/kopenssl.cpp
SUBST_SED.kdelibsfix= -e 's:@LOCALBASE@:${LOCALBASE}:g'
USE_TOOLS+= flex
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
# make sure zone.tab is installed
DEPENDS+= zonetab-[0-9]*:../../time/zonetab
.endif
BUILDLINK_DEPMETHOD.qt4-tools= full
.include "../../meta-pkgs/kde4/kde4.mk"
BUILDLINK_API_DEPENDS.strigi+= strigi>=0.5.11
BUILDLINK_API_DEPENDS.soprano+= soprano>=2.3.0
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../sysutils/strigi/buildlink3.mk"
.include "../../textproc/soprano/buildlink3.mk"
.include "../../databases/shared-mime-info/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/jasper/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/libungif/buildlink3.mk"
.include "../../graphics/openexr/buildlink3.mk"
.include "../../multimedia/phonon/buildlink3.mk"
# Avahi ? rather than mDNSResponder
.include "../../net/mDNSResponder/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/fam.buildlink3.mk"
.include "../../textproc/aspell/buildlink3.mk"
.include "../../textproc/enchant/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../x11/libXinerama/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXtst/buildlink3.mk"
.include "../../mk/krb5.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"