freebsd-ports/deskutils/lumina-pdf/Makefile
Tobias C. Berner b1a1d38bf9 Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
From now on, ports that depend on Qt4 will have to set
	USES=		qt:4
	USE_QT=		foo bar
ports depending on Qt5 will use
	USES=		qt:5
	USE_QT=		foo bar

PR:		229225
Exp-run by:	antoine
Reviewed by:	mat
Approved by:	portmgr (antoine)
Differential Revision:	→https://reviews.freebsd.org/D15540
2018-06-28 17:39:53 +00:00

41 lines
800 B
Makefile

# $FreeBSD$
PORTNAME= lumina-pdf
PORTVERSION= 1.4.1
CATEGORIES= deskutils
MAINTAINER= jt@ixsystems.com
COMMENT= PDF viewer from the Lumina Desktop
LICENSE= BSD3CLAUSE
LIB_DEPENDS= libpoppler-qt5.so:graphics/poppler-qt5
CONFLICTS_INSTALL= lumina-1.2.*
OPTIONS_DEFINE= I18N
OPTIONS_DEFAULT= I18N
OPTIONS_SUB= yes
I18N_DESC= Install localization files
.include <bsd.port.options.mk>
MAKE_JOBS_UNSAFE=yes
USE_QT= core gui widgets network svg multimedia \
buildtools_build x11extras concurrent printsupport
USES= qmake qt:5
USE_GITHUB= yes
GH_ACCOUNT= trueos
GH_PROJECT= lumina
GH_TAGNAME= b6536c1547571ae8dd0618bed752e2e0025bf2a7
WRKSRC_SUBDIR= src-qt5/desktop-utils/${PORTNAME}
.if${PORT_OPTIONS:MI18N}
USE_QT+= linguist_build
QMAKE_ARGS+=CONFIG+=WITH_I18N
.endif
.include <bsd.port.mk>