Lines 2-11
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= qpdfview |
4 |
PORTNAME= qpdfview |
5 |
PORTVERSION= 0.4.14 |
5 |
PORTVERSION= 0.4.16 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= print |
6 |
CATEGORIES= print |
8 |
MASTER_SITES= https://launchpad.net/qpdfview/trunk/0.4.14/+download/ |
7 |
MASTER_SITES= https://launchpadlibrarian.net/226592308/ \ |
|
|
8 |
https://launchpad.net/${PORTVERSION}/trunk/${PORTVERSION}/+download/ |
9 |
|
9 |
|
10 |
MAINTAINER= vg@FreeBSD.org |
10 |
MAINTAINER= vg@FreeBSD.org |
11 |
COMMENT= Tabbed DjVu/PDF/PS document viewer |
11 |
COMMENT= Tabbed DjVu/PDF/PS document viewer |
Lines 13-31
Link Here
|
13 |
LICENSE= GPLv2 |
13 |
LICENSE= GPLv2 |
14 |
|
14 |
|
15 |
USES= desktop-file-utils pkgconfig qmake |
15 |
USES= desktop-file-utils pkgconfig qmake |
16 |
USE_QT4= corelib dbus gui imageformats_run linguisttools_build \ |
|
|
17 |
moc_build rcc_build sql sql-sqlite3_run svg xml |
18 |
USE_LDCONFIG= yes |
16 |
USE_LDCONFIG= yes |
19 |
QMAKE_ARGS+= QMAKE_CFLAGS_RELEASE="" QMAKE_CXXFLAGS_RELEASE="" |
|
|
20 |
QMAKE_SOURCE_PATH= ${PORTNAME}.pro |
17 |
QMAKE_SOURCE_PATH= ${PORTNAME}.pro |
21 |
|
18 |
|
22 |
DATADIR= ${PREFIX}/share/${PORTNAME} |
19 |
DATADIR= ${PREFIX}/share/${PORTNAME} |
23 |
|
20 |
|
|
|
21 |
OPTIONS_SINGLE= TOOLKITS |
22 |
OPTIONS_SINGLE_TOOLKITS= QT4 QT5 |
24 |
OPTIONS_DEFINE= CUPS |
23 |
OPTIONS_DEFINE= CUPS |
25 |
OPTIONS_MULTI= BACKEND |
24 |
OPTIONS_MULTI= BACKEND |
26 |
OPTIONS_MULTI_BACKEND= DJVU PDF PS |
25 |
OPTIONS_MULTI_BACKEND= DJVU PS |
27 |
BACKEND_DESC= Documents support |
26 |
BACKEND_DESC= Additional documents support |
28 |
OPTIONS_DEFAULT= CUPS PDF |
27 |
OPTIONS_DEFAULT= QT4 CUPS PS |
29 |
OPTIONS_SUB= yes |
28 |
OPTIONS_SUB= yes |
30 |
|
29 |
|
31 |
CUPS_QMAKE_OFF= "CONFIG+=without_cups" |
30 |
CUPS_QMAKE_OFF= "CONFIG+=without_cups" |
Lines 34-42
Link Here
|
34 |
DJVU_LIB_DEPENDS= libdjvulibre.so:${PORTSDIR}/graphics/djvulibre |
33 |
DJVU_LIB_DEPENDS= libdjvulibre.so:${PORTSDIR}/graphics/djvulibre |
35 |
DJVU_QMAKE_OFF= "CONFIG+=without_djvu" |
34 |
DJVU_QMAKE_OFF= "CONFIG+=without_djvu" |
36 |
|
35 |
|
37 |
PDF_LIB_DEPENDS= libpoppler-qt4.so:${PORTSDIR}/graphics/poppler-qt4 |
36 |
QT4_USE= qt4=dbus,gui,linguisttools,sql,sql-sqlite3,svg,xml |
38 |
PDF_QMAKE_OFF= "CONFIG+=without_pdf" |
37 |
QT4_LIB_DEPENDS= libpoppler-qt4.so:${PORTSDIR}/graphics/poppler-qt4 |
39 |
|
38 |
|
|
|
39 |
QT5_USE= qt5=concurrent,linguisttools,printsupport,sql,sql-sqlite3 |
40 |
QT5_LIB_DEPENDS= libpoppler-qt5.so:${PORTSDIR}/graphics/poppler-qt5 |
41 |
|
40 |
PS_LIB_DEPENDS= libspectre.so:${PORTSDIR}/print/libspectre |
42 |
PS_LIB_DEPENDS= libspectre.so:${PORTSDIR}/print/libspectre |
41 |
PS_QMAKE_OFF= "CONFIG+=without_ps" |
43 |
PS_QMAKE_OFF= "CONFIG+=without_ps" |
42 |
|
44 |
|