View | Details | Raw Unified | Return to bug 176244
Collapse All | Expand All

(-)qpdfview/Makefile (-5 / +38 lines)
Lines 2-11 Link Here
2
# $FreeBSD: ports/print/qpdfview/Makefile,v 1.4 2012/12/14 21:39:38 svnexp Exp $
2
# $FreeBSD: ports/print/qpdfview/Makefile,v 1.4 2012/12/14 21:39:38 svnexp Exp $
3
3
4
PORTNAME=	qpdfview
4
PORTNAME=	qpdfview
5
PORTVERSION=	0.3.7
5
PORTVERSION=	0.4
6
CATEGORIES=	print
6
CATEGORIES=	print
7
MASTER_SITES=	https://launchpadlibrarian.net/125207295/
7
MASTER_SITES=	https://launchpadlibrarian.net/131409309/
8
DISTNAME=	${PORTNAME}-${PORTVERSION}beta1
9
8
10
MAINTAINER=	g.veniamin@googlemail.com
9
MAINTAINER=	g.veniamin@googlemail.com
11
COMMENT=	Tabbed PDF viewer using the poppler library
10
COMMENT=	Tabbed PDF viewer using the poppler library
Lines 15-29 Link Here
15
LIB_DEPENDS=	poppler-qt4:${PORTSDIR}/graphics/poppler-qt4 \
14
LIB_DEPENDS=	poppler-qt4:${PORTSDIR}/graphics/poppler-qt4 \
16
		cups:${PORTSDIR}/print/cups-client
15
		cups:${PORTSDIR}/print/cups-client
17
16
18
USE_QT4=	corelib dbus gui moc_build qmake_build rcc sql svg xml
17
USE_QT4=	corelib dbus gui moc_build qmake_build rcc_build sql sql-sqlite3_run \
18
		svg xml
19
20
DATADIR=	${PREFIX}/share/${PORTNAME}
19
21
20
MAN1=		${PORTNAME}.1
22
MAN1=		${PORTNAME}.1
21
23
24
OPTIONS_DEFINE=	DJVU PDF PS
25
DJVU_DESC=	Enable djvu support
26
PS_DESC=	Enable post script support
27
OPTIONS_DEFAULT=	PDF
28
29
.include <bsd.port.options.mk>
30
31
.if ${PORT_OPTIONS:MDJVU}
32
PLIST_SUB+=	DJVU=""
33
LIB_DEPENDS+=	djvulibre:${PORTSDIR}/graphics/djvulibre
34
.else
35
QMAKEFLAGS+=	"CONFIG+=without_djvu"
36
PLIST_SUB+=	DJVU="@comment "
37
.endif
38
39
.if ${PORT_OPTIONS:MPDF}
40
PLIST_SUB+=	PDF=""
41
.else
42
QMAKEFLAGS+=	"CONFIG+=without_pdf"
43
PLIST_SUB+=	PDF="@comment "
44
.endif
45
46
.if ${PORT_OPTIONS:MPS}
47
PLIST_SUB+=	PS=""
48
LIB_DEPENDS+=	spectre:${PORTSDIR}/print/libspectre
49
.else
50
QMAKEFLAGS+=	"CONFIG+=without_ps"
51
PLIST_SUB+=	PS="@comment "
52
.endif
53
22
.include <bsd.port.pre.mk>
54
.include <bsd.port.pre.mk>
23
pre-configure:
55
pre-configure:
24
	${REINPLACE_CMD} -e 's#/usr#${PREFIX}#g;s#${PREFIX}/share/man#${PREFIX}/man#g' \
56
	${REINPLACE_CMD} -e 's#/usr#${PREFIX}#g;s#${PREFIX}/share/man#${PREFIX}/man#g' \
25
		${WRKSRC}/${PORTNAME}.pri
57
		${WRKSRC}/${PORTNAME}.pri
26
58
27
do-configure:
59
do-configure:
28
	cd ${WRKSRC} && ${QMAKE} ${QMAKEFLAGS}
60
	cd ${WRKSRC} && ${QMAKE} ${QMAKEFLAGS} ${PORTNAME}.pro
61
29
.include <bsd.port.post.mk>
62
.include <bsd.port.post.mk>
(-)qpdfview/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (qpdfview-0.3.7beta1.tar.gz) = 4541ea36c985bb1442329f7726fc430a93db2e364b6c303d975fc8b2d974cdce
1
SHA256 (qpdfview-0.4.tar.gz) = 6191e6ae15f228bce9ac0c58dd5032122fa2986d50f7585859cd64a7fd2b5499
2
SIZE (qpdfview-0.3.7beta1.tar.gz) = 359083
2
SIZE (qpdfview-0.4.tar.gz) = 396479
(-)qpdfview/pkg-plist (-1 / +9 lines)
Lines 1-4 Link Here
1
bin/qpdfview
1
bin/qpdfview
2
%%DJVU%%lib/qpdfview/libqpdfview_djvu.so
3
%%PDF%%lib/qpdfview/libqpdfview_pdf.so
4
%%PS%%lib/qpdfview/libqpdfview_ps.so
2
share/applications/qpdfview.desktop
5
share/applications/qpdfview.desktop
3
%%DATADIR%%/help.html
6
%%DATADIR%%/help.html
4
%%DATADIR%%/qpdfview.svg
7
%%DATADIR%%/qpdfview.svg
Lines 11-21 Link Here
11
%%DATADIR%%/qpdfview_el.qm
14
%%DATADIR%%/qpdfview_el.qm
12
%%DATADIR%%/qpdfview_en_GB.qm
15
%%DATADIR%%/qpdfview_en_GB.qm
13
%%DATADIR%%/qpdfview_es.qm
16
%%DATADIR%%/qpdfview_es.qm
17
%%DATADIR%%/qpdfview_eu.qm
14
%%DATADIR%%/qpdfview_fi.qm
18
%%DATADIR%%/qpdfview_fi.qm
15
%%DATADIR%%/qpdfview_fr.qm
19
%%DATADIR%%/qpdfview_fr.qm
16
%%DATADIR%%/qpdfview_he.qm
20
%%DATADIR%%/qpdfview_he.qm
17
%%DATADIR%%/qpdfview_hr.qm
21
%%DATADIR%%/qpdfview_hr.qm
22
%%DATADIR%%/qpdfview_id.qm
18
%%DATADIR%%/qpdfview_it.qm
23
%%DATADIR%%/qpdfview_it.qm
24
%%DATADIR%%/qpdfview_ky.qm
25
%%DATADIR%%/qpdfview_ms.qm
19
%%DATADIR%%/qpdfview_my.qm
26
%%DATADIR%%/qpdfview_my.qm
20
%%DATADIR%%/qpdfview_pl.qm
27
%%DATADIR%%/qpdfview_pl.qm
21
%%DATADIR%%/qpdfview_pt_BR.qm
28
%%DATADIR%%/qpdfview_pt_BR.qm
Lines 26-30 Link Here
26
%%DATADIR%%/qpdfview_ug.qm
33
%%DATADIR%%/qpdfview_ug.qm
27
%%DATADIR%%/qpdfview_uk.qm
34
%%DATADIR%%/qpdfview_uk.qm
28
%%DATADIR%%/qpdfview_zh_CN.qm
35
%%DATADIR%%/qpdfview_zh_CN.qm
29
@dirrmtry share/applications
30
@dirrm %%DATADIR%%
36
@dirrm %%DATADIR%%
37
@dirrmtry share/applications
38
@dirrmtry lib/qpdfview

Return to bug 176244