Lines 2-7
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME= xpdf |
3 |
PORTNAME= xpdf |
4 |
PORTVERSION= 4.02 |
4 |
PORTVERSION= 4.02 |
|
|
5 |
PORTREVISION= 1 |
5 |
CATEGORIES= graphics print |
6 |
CATEGORIES= graphics print |
6 |
MASTER_SITES= http://www.xpdfreader.com/dl/ |
7 |
MASTER_SITES= http://www.xpdfreader.com/dl/ |
7 |
.if !defined(MASTERDIR) |
8 |
.if !defined(MASTERDIR) |
Lines 26-32
Link Here
|
26 |
CMAKE_ARGS+= -DOPI_SUPPORT:BOOL=ON -DCMAKE_DISABLE_FIND_PACKAGE_Qt4:BOOL=ON \ |
27 |
CMAKE_ARGS+= -DOPI_SUPPORT:BOOL=ON -DCMAKE_DISABLE_FIND_PACKAGE_Qt4:BOOL=ON \ |
27 |
-DUSE_LCMS:BOOL=OFF -DSYSTEM_XPDFRC=${PREFIX}/etc/xpdfrc |
28 |
-DUSE_LCMS:BOOL=OFF -DSYSTEM_XPDFRC=${PREFIX}/etc/xpdfrc |
28 |
|
29 |
|
29 |
OPTIONS_DEFINE= TYPE1 LIBPAPER GUI |
30 |
OPTIONS_DEFINE= TYPE1 LIBPAPER GUI PRINT |
30 |
OPTIONS_DEFAULT= TYPE1 GUI |
31 |
OPTIONS_DEFAULT= TYPE1 GUI |
31 |
OPTIONS_SUB= yes |
32 |
OPTIONS_SUB= yes |
32 |
|
33 |
|
Lines 43-48
Link Here
|
43 |
GUI_CMAKE_ARGS+= -DNO_TEXT_SELECT:BOOL=OFF |
44 |
GUI_CMAKE_ARGS+= -DNO_TEXT_SELECT:BOOL=OFF |
44 |
GUI_USE= QT5=buildtools_build,qmake_build,concurrent,core,gui,widgets,printsupport |
45 |
GUI_USE= QT5=buildtools_build,qmake_build,concurrent,core,gui,widgets,printsupport |
45 |
|
46 |
|
|
|
47 |
PRINT_CMAKE_ON= -DXPDFWIDGET_PRINTING:BOOL=ON -DCUPS:BOOL=ON |
48 |
PRINT_CMAKE_OFF= -DXPDFWIDGET_PRINTING:BOOL=OFF -DCUPS:BOOL=OFF |
49 |
PRINT_DESC= Print support (CUPS dependency) |
50 |
PRINT_LDFLAGS= -L${LOCALBASE}/lib |
51 |
PRINT_LIB_DEPENDS= libcups.so:print/cups |
52 |
|
46 |
post-install: |
53 |
post-install: |
47 |
@cd ${STAGEDIR}${PREFIX}; \ |
54 |
@cd ${STAGEDIR}${PREFIX}; \ |
48 |
${LN} -sf ../libexec/xpdf/xpdf bin/xpdf |
55 |
${LN} -sf ../libexec/xpdf/xpdf bin/xpdf |