View | Details | Raw Unified | Return to bug 235895 | Differences between
and this patch

Collapse All | Expand All

(-)graphics/xpdf4/Makefile (-6 / +7 lines)
Lines 21-36 Link Here
21
CONFLICTS_INSTALL+=	xpdf3-*	xpdf4-*
21
CONFLICTS_INSTALL+=	xpdf3-*	xpdf4-*
22
.endif
22
.endif
23
23
24
USES=		compiler:c++11-lang cmake localbase:ldflags \
24
USES=		compiler:c++11-lang cmake localbase:ldflags
25
		desktop-file-utils qt:5
26
LIB_DEPENDS=	libfreetype.so:print/freetype2 \
25
LIB_DEPENDS=	libfreetype.so:print/freetype2 \
27
		libpng.so:graphics/png
26
		libpng.so:graphics/png
28
BUILD_DEPENDS=	${LOCALBASE}/share/ghostscript/fonts/d050000l.pfb:print/gsfonts
27
BUILD_DEPENDS=	${LOCALBASE}/share/ghostscript/fonts/d050000l.pfb:print/gsfonts
29
RUN_DEPENDS=	${LOCALBASE}/share/ghostscript/fonts/d050000l.pfb:print/gsfonts
28
RUN_DEPENDS=	${LOCALBASE}/share/ghostscript/fonts/d050000l.pfb:print/gsfonts
30
MANPREFIX=	${PREFIX}/share/xpdf
29
MANPREFIX=	${PREFIX}/share/xpdf
31
SUB_FILES=	xpdf-man.conf
30
SUB_FILES=	xpdf-man.conf
32
USE_QT=		buildtools_build concurrent core gui network printsupport \
33
		qmake_build svg widgets
34
CMAKE_ARGS+=	-DOPI_SUPPORT:BOOL=ON -DCMAKE_DISABLE_FIND_PACKAGE_Qt4:BOOL=ON \
31
CMAKE_ARGS+=	-DOPI_SUPPORT:BOOL=ON -DCMAKE_DISABLE_FIND_PACKAGE_Qt4:BOOL=ON \
35
		-DUSE_LCMS:BOOL=OFF -DSYSTEM_XPDFRC=${PREFIX}/etc/xpdfrc \
32
		-DUSE_LCMS:BOOL=OFF -DSYSTEM_XPDFRC=${PREFIX}/etc/xpdfrc \
36
		-DCMAKE_INSTALL_PREFIX=${PREFIX} \
33
		-DCMAKE_INSTALL_PREFIX=${PREFIX} \
Lines 41-48 Link Here
41
38
42
PLIST_SUB=		DESKTOPDIR="${DESKTOPDIR}"
39
PLIST_SUB=		DESKTOPDIR="${DESKTOPDIR}"
43
40
44
OPTIONS_DEFINE=		TYPE1 LIBPAPER PRINT
41
OPTIONS_DEFINE=		TYPE1 LIBPAPER PRINT GUI
45
OPTIONS_DEFAULT=	TYPE1 PRINT
42
OPTIONS_DEFAULT=	TYPE1 PRINT GUI
46
OPTIONS_SUB=		yes
43
OPTIONS_SUB=		yes
47
44
48
TYPE1_CMAKE_BOOL=	TYPE1
45
TYPE1_CMAKE_BOOL=	TYPE1
Lines 57-62 Link Here
57
PRINT_DESC=		Print support (CUPS dependency)
54
PRINT_DESC=		Print support (CUPS dependency)
58
PRINT_LDFLAGS=		-L${LOCALBASE}/lib
55
PRINT_LDFLAGS=		-L${LOCALBASE}/lib
59
PRINT_LIB_DEPENDS=	libcups.so:print/cups
56
PRINT_LIB_DEPENDS=	libcups.so:print/cups
57
58
GUI_DESC=	QT5 interface
59
GUI_USE=	QT=buildtools_build,concurrent,core,gui,network,printsupport,qmake_build,svg,widgets
60
GUI_USES=	desktop-file-utils qt:5
60
61
61
post-install:
62
post-install:
62
		@cd ${STAGEDIR}${PREFIX}; \
63
		@cd ${STAGEDIR}${PREFIX}; \
(-)graphics/xpdf4/pkg-plist (-4 / +4 lines)
Lines 7-15 Link Here
7
libexec/xpdf/pdftoppm
7
libexec/xpdf/pdftoppm
8
libexec/xpdf/pdftops
8
libexec/xpdf/pdftops
9
libexec/xpdf/pdftotext
9
libexec/xpdf/pdftotext
10
libexec/xpdf/xpdf
10
%%GUI%%libexec/xpdf/xpdf
11
bin/xpdf
11
%%GUI%%bin/xpdf
12
%%DESKTOPDIR%%/xpdf.desktop
12
%%GUI%%%%DESKTOPDIR%%/xpdf.desktop
13
etc/man.d/xpdf.conf
13
etc/man.d/xpdf.conf
14
%%DATADIR%%/man/man1/pdfdetach.1.gz
14
%%DATADIR%%/man/man1/pdfdetach.1.gz
15
%%DATADIR%%/man/man1/pdffonts.1.gz
15
%%DATADIR%%/man/man1/pdffonts.1.gz
Lines 20-25 Link Here
20
%%DATADIR%%/man/man1/pdftoppm.1.gz
20
%%DATADIR%%/man/man1/pdftoppm.1.gz
21
%%DATADIR%%/man/man1/pdftops.1.gz
21
%%DATADIR%%/man/man1/pdftops.1.gz
22
%%DATADIR%%/man/man1/pdftotext.1.gz
22
%%DATADIR%%/man/man1/pdftotext.1.gz
23
%%DATADIR%%/man/man1/xpdf.1.gz
23
%%GUI%%%%DATADIR%%/man/man1/xpdf.1.gz
24
%%DATADIR%%/man/man5/xpdfrc.5.gz
24
%%DATADIR%%/man/man5/xpdfrc.5.gz
25
@sample etc/xpdfrc.sample
25
@sample etc/xpdfrc.sample

Return to bug 235895