katana/packaging/freebsd/katana-extraapps/Makefile

49 lines
2 KiB
Makefile
Raw Normal View History

# https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/
PORTNAME = katana-extraapps
DISTVERSION = 4.22.0.d20220512
CATEGORIES = devel x11
MAINTAINER = xakepa10@gmail.com
COMMENT = Katana extra applications
LICENSE = GPLv2 LGPL21
LICENSE_COMB = multi
MASTER_SITES = https://osdn.net/projects/kde/news/
DISTFILES = rss
DIST_SUBDIR = ${PORTNAME}
WRKSRC = ${WRKDIR}/kde-extraapps.git
USES = compiler:c++11-lang pkgconfig cmake xorg ssl gettext-tools libarchive \
ghostscript desktop-file-utils
USE_XORG = x11 xrender xtst xdamage xext xfixes
USE_PERL5 = build
USE_GETTEXT_TOOLS = build run
USE_GHOSTSCRIPT = run
USE_LDCONFIG = yes
# build and run depending on freerdp2 since the build system checks for its presence but in fact
# only the binaries are needed, speech-dispatcher is both build and runtime dependancy, qemu is
# runtime only
RUN_DEPENDS = xfreerdp:net/freerdp xsltproc:textproc/libxslt \
speech-dispatcher:accessibility/speech-dispatcher qemu-system-i386:emulators/qemu \
kpsewhich:devel/tex-kpathsea
# zlib and oss are not part of any package
LIB_DEPENDS = libKtCore.so:katana/katie libkdecore.so:katana/katanalibs \
libplasmagenericshell.so:katana/katana-workspace \
libdbusmenu-katie.so:katana/libdbusmenu-katie libgmp.so:math/gmp \
libexiv2.so:graphics/exiv2 libasound.so:audio/alsa-lib \
libspeechd.so:accessibility/speech-dispatcher libtag.so:audio/taglib \
libffmpegthumbnailer.so:multimedia/ffmpegthumbnailer \
libqalculate.so:math/libqalculate libspectre.so:print/libspectre \
libfreetype.so:print/freetype2 libdjvulibre.so:graphics/djvulibre \
libepub.so:textproc/ebook-tools libmms.so:net/libmms libvncserver.so:net/libvncserver \
libfreerdp2.so:net/freerdp libtorrent-rasterbar.so:net-p2p/libtorrent-rasterbar \
libpoppler-cpp.so:graphics/poppler
CMAKE_ARGS = -Wno-dev -DBUILD_partitionmanager=FALSE
LDFLAGS += -Wl,--as-needed
do-extract:
@rm -vrf ${WRKSRC}
@git clone --depth=1 git://git.osdn.net/gitroot/kde/kde-extraapps.git ${WRKSRC}
.include <bsd.port.mk>