44 lines
1.4 KiB
Makefile
44 lines
1.4 KiB
Makefile
PORTNAME= okular
|
|
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics kde kde-applications
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= KDE universal document viewer
|
|
|
|
LICENSE= GPLv2
|
|
|
|
BUILD_DEPENDS= markdown:textproc/discount
|
|
RUN_DEPENDS= markdown:textproc/discount
|
|
LIB_DEPENDS= libchm.so:misc/chmlib \
|
|
libdjvulibre.so:graphics/djvulibre \
|
|
libepub.so:textproc/ebook-tools \
|
|
libfreetype.so:print/freetype2 \
|
|
libqmobipocket.so:graphics/kdegraphics-mobipocket \
|
|
libpoppler.so:graphics/poppler \
|
|
libpoppler-qt5.so:graphics/poppler-qt5 \
|
|
libspectre.so:print/libspectre \
|
|
libtiff.so:graphics/tiff \
|
|
libzip.so:archivers/libzip
|
|
|
|
USES= cmake compiler:c++11-lib desktop-file-utils \
|
|
gettext jpeg kde:5 cpe pkgconfig qca qt:5 tar:xz
|
|
USE_KDE= activities archive auth bookmarks codecs completion config \
|
|
configwidgets coreaddons crash dbusaddons emoticons i18n \
|
|
iconthemes init itemmodels itemviews jobwidgets js \
|
|
kdelibs4support khtml kio libkexiv2 parts pty \
|
|
service solid sonnet textwidgets threadweaver wallet \
|
|
widgetsaddons windowsystem xmlgui \
|
|
ecm_build
|
|
USE_QT= concurrent core dbus declarative gui network phonon4 printsupport speech \
|
|
svg widgets xml \
|
|
buildtools_build qmake_build testlib_build
|
|
|
|
OPTIONS_DEFINE= DOCS PURPOSE
|
|
OPTIONS_DEFAULT= PURPOSE
|
|
|
|
PURPOSE_DESC= Enable 'Share' menu
|
|
PURPOSE_USE= KDE=purpose
|
|
PURPOSE_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_KDEExperimentalPurpose
|
|
|
|
.include <bsd.port.mk>
|