freebsd-ports/graphics/okular/Makefile
Tobias C. Berner 1d16d53e19 Introduce new extensible virtual categories for KDE
A lot of KDE Ports share MASTERSITES, LICENSE and so one, as they are
released as a bundle upstream, however, there was not really a clean
way to share this information.

Using these new categories, we can simplify the Makefiles for the diverse
KDE ports.
At the moment we support the virtual category
	* kde-kde4
In the future, this will be extended to
	* kde-frameworks
	* kde-plasma
	* kde-applications

PR:						213406
Differential Revision:	https://reviews.freebsd.org/D7645
Exp-run by :			antoine
Reviewed by:			mat, rakuco
Approved by: 			portmgr (mat), rakuco (mentor)
2016-10-18 17:22:35 +00:00

35 lines
902 B
Makefile

# $FreeBSD$
PORTNAME= okular
PORTVERSION= ${KDE4_VERSION}
PORTREVISION= 5
CATEGORIES= graphics kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE 4 universal document viewer
LIB_DEPENDS= libdjvulibre.so:graphics/djvulibre \
libkscreen.so:graphics/libkscreen \
libqca.so:devel/qca \
libtiff.so:graphics/tiff \
libpoppler-qt4.so:graphics/poppler-qt4 \
libspectre.so:print/libspectre \
libchm.so:misc/chmlib \
libfreetype.so:print/freetype2 \
libepub.so:textproc/ebook-tools \
libqmobipocket.so:graphics/kdegraphics4-mobipocket
USES= cmake:outsource jpeg kde:4 pkgconfig tar:xz
USE_KDE= kdelibs automoc4 qimageblitz kactivities \
libkexiv2
USE_QT4= corelib declarative gui opengl xml \
qmake_build moc_build uic_build rcc_build
USE_LDCONFIG= yes
OPTIONS_DEFINE= DVI
DVI_DESC= Device independent TeX files support (requires teTeX)
DVI_USE= TEX=latex
.include <bsd.port.mk>