2017-09-08 04:38:35 +02:00
|
|
|
# $NetBSD: Makefile,v 1.79 2017/09/08 02:38:45 ryoon Exp $
|
2009-10-02 21:23:22 +02:00
|
|
|
|
2016-01-10 20:05:27 +01:00
|
|
|
DISTNAME= kde-runtime-15.12.0
|
|
|
|
PKGNAME= ${DISTNAME:S/-1/4-1/}
|
2017-09-08 04:38:35 +02:00
|
|
|
PKGREVISION= 16
|
2009-10-02 21:23:22 +02:00
|
|
|
CATEGORIES= x11
|
|
|
|
COMMENT= Runtime requirements for the KDE integrated X11 desktop
|
2016-01-10 20:05:27 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_KDE:=applications/15.12.0/src/}
|
2009-10-02 21:23:22 +02:00
|
|
|
|
|
|
|
.include "../../meta-pkgs/kde4/Makefile.kde4"
|
|
|
|
|
|
|
|
# BUILD_MAKE_FLAGS+= VERBOSE=1
|
2013-04-03 12:51:43 +02:00
|
|
|
CMAKE_ARGS+= -DWITH_LibSSH:BOOL=OFF
|
2016-04-22 10:04:23 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2010-11-10 11:14:42 +01:00
|
|
|
CMAKE_ARGS+= -DLIBLZMA_INCLUDE_DIR:PATH=${BUILDLINK_PREFIX.xz}/include
|
2016-04-22 10:04:23 +02:00
|
|
|
.if ${OPSYS} == "Darwin"
|
|
|
|
CMAKE_ARGS+= -DLIBLZMA_LIBRARY:FILEPATH=${BUILDLINK_PREFIX.xz}/lib/liblzma.dylib
|
|
|
|
.else
|
2010-11-10 11:14:42 +01:00
|
|
|
CMAKE_ARGS+= -DLIBLZMA_LIBRARY:FILEPATH=${BUILDLINK_PREFIX.xz}/lib/liblzma.so
|
2016-04-22 10:04:23 +02:00
|
|
|
.endif
|
2009-10-02 21:23:22 +02:00
|
|
|
|
2011-12-05 11:18:16 +01:00
|
|
|
DEPENDS+= htdig>=3.2.0:../../www/htdig
|
2009-10-02 21:23:22 +02:00
|
|
|
DEPENDS+= oxygen-icons-[0-9]*:../../graphics/oxygen-icons
|
|
|
|
|
2010-10-25 22:55:22 +02:00
|
|
|
USE_TOOLS+= gmake
|
|
|
|
|
2016-04-11 19:06:03 +02:00
|
|
|
CFLAGS.SunOS+= -DPORTMAP
|
|
|
|
LDFLAGS.SunOS+= -lsocket -lnsl
|
2015-01-07 13:20:07 +01:00
|
|
|
|
2009-10-02 21:23:22 +02:00
|
|
|
.include "options.mk"
|
|
|
|
|
2012-09-26 11:55:39 +02:00
|
|
|
# Some files are conditional on 'md5sum' or 'md5' being present.
|
|
|
|
PLIST_VARS+= md5
|
2013-05-22 09:11:58 +02:00
|
|
|
.for dir in ${PATH:C/\:/ /g}
|
|
|
|
. if exists(${dir}/md5sum) || exists(${dir}/md5)
|
2012-09-26 11:55:39 +02:00
|
|
|
PLIST.md5= yes
|
2013-05-22 09:11:58 +02:00
|
|
|
. endif
|
|
|
|
.endfor
|
2012-09-26 11:55:39 +02:00
|
|
|
|
2016-04-22 10:04:23 +02:00
|
|
|
PLIST_VARS+= polkit x11
|
|
|
|
.if ${OPSYS} != "Darwin"
|
|
|
|
PLIST.polkit= yes
|
|
|
|
PLIST.x11= yes
|
|
|
|
.endif
|
|
|
|
|
2012-03-19 20:44:01 +01:00
|
|
|
SUBST_CLASSES+= htdig
|
2009-10-02 21:23:22 +02:00
|
|
|
SUBST_STAGE.htdig= post-patch
|
|
|
|
SUBST_MESSAGE.htdig= Fix htdig paths.
|
|
|
|
SUBST_FILES.htdig= khelpcenter/searchhandlers/khc_htsearch.pl
|
|
|
|
SUBST_SED.htdig= -e s:/srv/www/cgi-bin:${PREFIX}/libexec/cgi-bin:
|
|
|
|
|
2012-03-19 20:44:01 +01:00
|
|
|
SUBST_CLASSES+= paths
|
2009-10-02 21:23:22 +02:00
|
|
|
SUBST_FILES.paths= kioslave/info/kde-info2html.conf
|
|
|
|
SUBST_SED.paths= -e 's,@LOCALBASE@,${LOCALBASE},g'
|
|
|
|
SUBST_STAGE.paths= post-patch
|
|
|
|
|
|
|
|
REPLACE_PERL+= \
|
|
|
|
khelpcenter/searchhandlers/khc_docbookdig.pl.cmake \
|
|
|
|
khelpcenter/searchhandlers/khc_htdig.pl.cmake \
|
|
|
|
khelpcenter/searchhandlers/khc_htsearch.pl \
|
|
|
|
khelpcenter/searchhandlers/khc_mansearch.pl \
|
|
|
|
kioslave/info/kde-info2html
|
|
|
|
|
2012-03-19 20:44:01 +01:00
|
|
|
CONF_FILES+= ${PREFIX}/share/examples/kde-runtime4/kde-information.menu \
|
2009-10-02 21:23:22 +02:00
|
|
|
${PKG_SYSCONFDIR}/xdg/menus/kde-information.menu
|
2010-10-25 22:55:22 +02:00
|
|
|
CONF_FILES+= ${PREFIX}/share/examples/kde4-dbus/org.kde.kcontrol.kcmremotewidgets.conf \
|
|
|
|
${PKG_SYSCONFDIR}/dbus-1/system.d/org.kde.kcontrol.kcmremotewidgets.conf
|
2009-10-02 21:23:22 +02:00
|
|
|
|
2012-05-06 00:17:34 +02:00
|
|
|
BUILDLINK_DEPMETHOD.qt4-tools= full
|
|
|
|
|
2009-10-02 21:23:22 +02:00
|
|
|
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
|
|
|
|
|
|
|
|
.include "../../meta-pkgs/kde4/kde4.mk"
|
|
|
|
|
2012-03-19 20:44:01 +01:00
|
|
|
.include "../../audio/pulseaudio/buildlink3.mk"
|
|
|
|
.include "../../audio/libcanberra/buildlink3.mk"
|
2013-04-03 12:51:43 +02:00
|
|
|
#.include "../../lang/python/application.mk"
|
2012-03-19 20:44:01 +01:00
|
|
|
# not the libssh the package wants
|
|
|
|
#.include "../../security/libssh/buildlink3.mk"
|
|
|
|
.include "../../security/qca2/buildlink3.mk"
|
2013-04-03 12:51:43 +02:00
|
|
|
.include "../../misc/kdepimlibs4/buildlink3.mk"
|
2012-03-20 02:39:55 +01:00
|
|
|
.include "../../multimedia/phonon/buildlink3.mk"
|
2010-04-10 04:45:02 +02:00
|
|
|
.include "../../archivers/xz/buildlink3.mk"
|
|
|
|
.include "../../graphics/exiv2/buildlink3.mk"
|
2009-10-02 21:23:22 +02:00
|
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
2013-11-07 14:35:56 +01:00
|
|
|
.include "../../graphics/libwebp/buildlink3.mk"
|
2010-06-17 01:11:48 +02:00
|
|
|
BUILDLINK_ABI_DEPENDS.attica?= attica>=0.1.4
|
2010-04-10 04:45:02 +02:00
|
|
|
.include "../../misc/attica/buildlink3.mk"
|
|
|
|
.include "../../multimedia/xine-lib/buildlink3.mk"
|
2009-10-02 21:23:22 +02:00
|
|
|
.include "../../net/openslp/buildlink3.mk"
|
2010-06-17 01:11:48 +02:00
|
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
2016-05-08 12:50:44 +02:00
|
|
|
.include "../../x11/libkactivities4/buildlink3.mk"
|
2009-10-02 21:23:22 +02:00
|
|
|
.include "../../x11/kdelibs4/buildlink3.mk"
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|