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

(-)graphics/xpdf3/Makefile (-2 / +6 lines)
Lines 2-8 Link Here
2
2
3
PORTNAME=	xpdf
3
PORTNAME=	xpdf
4
PORTVERSION=	3.04
4
PORTVERSION=	3.04
5
PORTREVISION=	9
5
PORTREVISION=	10
6
CATEGORIES=	graphics print
6
CATEGORIES=	graphics print
7
MASTER_SITES=	http://mirrors.rit.edu/zi/ \
7
MASTER_SITES=	http://mirrors.rit.edu/zi/ \
8
		ftp://ftp.foolabs.com/pub/xpdf/ \
8
		ftp://ftp.foolabs.com/pub/xpdf/ \
Lines 54-60 CONFIGURE_ARGS+= --enable-a4-paper Link Here
54
.endif
54
.endif
55
55
56
X11_CONFIGURE_WITH=	x
56
X11_CONFIGURE_WITH=	x
57
X11_USES=		motif
57
X11_USES=		desktop-file-utils motif
58
X11_PLIST_SUB=		DESKTOPDIR=${DESKTOPDIR}
58
59
59
post-patch:
60
post-patch:
60
	${REINPLACE_CMD} -e 's|undef USE_COMBO_BOX|define USE_COMBO_BOX 1|' \
61
	${REINPLACE_CMD} -e 's|undef USE_COMBO_BOX|define USE_COMBO_BOX 1|' \
Lines 70-73 post-install: Link Here
70
	${INSTALL_DATA} ${WRKDIR}/xpdf-man.conf \
71
	${INSTALL_DATA} ${WRKDIR}/xpdf-man.conf \
71
		${STAGEDIR}${PREFIX}/etc/man.d/xpdf.conf
72
		${STAGEDIR}${PREFIX}/etc/man.d/xpdf.conf
72
73
74
post-install-X11-on:
75
	${INSTALL_DATA} ${FILESDIR}/xpdf.desktop ${STAGEDIR}${DESKTOPDIR}
76
73
.include <bsd.port.mk>
77
.include <bsd.port.mk>
(-)graphics/xpdf3/files/xpdf.desktop (+11 lines)
Added Link Here
1
[Desktop Entry]
2
Name=xpdf
3
GenericName=PDF viewer
4
Comment=Display PDF files
5
Exec=xpdf %f
6
Icon=xpdf
7
Terminal=false
8
Type=Application
9
MimeType=application/pdf;
10
Categories=Viewer;Graphics;
11
Keywords=Viewer;Graphics;
(-)graphics/xpdf3/pkg-plist (+1 lines)
Lines 9-14 libexec/xpdf/pdftops Link Here
9
libexec/xpdf/pdftotext
9
libexec/xpdf/pdftotext
10
%%X11%%libexec/xpdf/xpdf
10
%%X11%%libexec/xpdf/xpdf
11
%%X11%%bin/xpdf
11
%%X11%%bin/xpdf
12
%%X11%%%%DESKTOPDIR%%/xpdf.desktop
12
etc/man.d/xpdf.conf
13
etc/man.d/xpdf.conf
13
%%DATADIR%%/man/man1/pdfdetach.1.gz
14
%%DATADIR%%/man/man1/pdfdetach.1.gz
14
%%DATADIR%%/man/man1/pdffonts.1.gz
15
%%DATADIR%%/man/man1/pdffonts.1.gz
(-)graphics/xpdf4/Makefile (-1 / +7 lines)
Lines 2-7 Link Here
2
2
3
PORTNAME=	xpdf
3
PORTNAME=	xpdf
4
PORTVERSION=	4.00
4
PORTVERSION=	4.00
5
PORTREVISION=	1
5
PORTEPOCH=	1
6
PORTEPOCH=	1
6
CATEGORIES=	graphics print
7
CATEGORIES=	graphics print
7
MASTER_SITES=	https://xpdfreader-dl.s3.amazonaws.com/
8
MASTER_SITES=	https://xpdfreader-dl.s3.amazonaws.com/
Lines 45-54 GUI_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Widgets:BOOL=TRUE Link Here
45
GUI_DESC=		QT5 interface
46
GUI_DESC=		QT5 interface
46
GUI_CMAKE_ARGS+=	-DNO_TEXT_SELECT:BOOL=OFF
47
GUI_CMAKE_ARGS+=	-DNO_TEXT_SELECT:BOOL=OFF
47
GUI_USE=		QT5=buildtools_build,qmake_build,concurrent,core,gui,widgets,printsupport,svg
48
GUI_USE=		QT5=buildtools_build,qmake_build,concurrent,core,gui,widgets,printsupport,svg
49
GUI_PLIST_SUB=		DESKTOPDIR="${DESKTOPDIR}"
50
GUI_USES=		desktop-file-utils
48
51
49
PRINT_CMAKE_ON=		-DXPDFWIDGET_PRINTING:BOOL=ON -DCUPS:BOOL=ON
52
PRINT_CMAKE_ON=		-DXPDFWIDGET_PRINTING:BOOL=ON -DCUPS:BOOL=ON
50
PRINT_CMAKE_OFF=	-DXPDFWIDGET_PRINTING:BOOL=OFF -DCUPS:BOOL=OFF
53
PRINT_CMAKE_OFF=	-DXPDFWIDGET_PRINTING:BOOL=OFF -DCUPS:BOOL=OFF
51
PRINT_DESC=		 Print support (CUPS dependency)
54
PRINT_DESC=		Print support (CUPS dependency)
52
PRINT_LDFLAGS=		-L${LOCALBASE}/lib
55
PRINT_LDFLAGS=		-L${LOCALBASE}/lib
53
PRINT_LIB_DEPENDS=	libcups.so:print/cups
56
PRINT_LIB_DEPENDS=	libcups.so:print/cups
54
57
Lines 60-63 post-install: Link Here
60
		${INSTALL_DATA} ${WRKDIR}/xpdf-man.conf \
63
		${INSTALL_DATA} ${WRKDIR}/xpdf-man.conf \
61
			${STAGEDIR}${PREFIX}/etc/man.d/xpdf.conf
64
			${STAGEDIR}${PREFIX}/etc/man.d/xpdf.conf
62
65
66
post-install-GUI-on:
67
		${INSTALL_DATA} ${FILESDIR}/xpdf.desktop ${STAGEDIR}${DESKTOPDIR}
68
63
.include <bsd.port.mk>
69
.include <bsd.port.mk>
(-)graphics/xpdf4/files/xpdf.desktop (+11 lines)
Added Link Here
1
[Desktop Entry]
2
Name=xpdf
3
GenericName=PDF viewer
4
Comment=Display PDF files
5
Exec=xpdf %f
6
Icon=xpdf
7
Terminal=false
8
Type=Application
9
MimeType=application/pdf;
10
Categories=Viewer;Graphics;
11
Keywords=Viewer;Graphics;
(-)graphics/xpdf4/pkg-plist (+1 lines)
Lines 9-14 libexec/xpdf/pdftops Link Here
9
libexec/xpdf/pdftotext
9
libexec/xpdf/pdftotext
10
%%GUI%%libexec/xpdf/xpdf
10
%%GUI%%libexec/xpdf/xpdf
11
%%GUI%%bin/xpdf
11
%%GUI%%bin/xpdf
12
%%GUI%%%%DESKTOPDIR%%/xpdf.desktop
12
etc/man.d/xpdf.conf
13
etc/man.d/xpdf.conf
13
%%DATADIR%%/man/man1/pdfdetach.1.gz
14
%%DATADIR%%/man/man1/pdfdetach.1.gz
14
%%DATADIR%%/man/man1/pdffonts.1.gz
15
%%DATADIR%%/man/man1/pdffonts.1.gz

Return to bug 227627