Lines 1-14
Link Here
|
1 |
PORTNAME= pdf2djvu |
1 |
PORTNAME= pdf2djvu |
2 |
DISTVERSION= 0.9.18.2 |
2 |
DISTVERSION= 0.9.19 |
3 |
PORTREVISION= 14 |
|
|
4 |
CATEGORIES= converters |
3 |
CATEGORIES= converters |
5 |
MASTER_SITES= https://github.com/jwilk/${PORTNAME}/releases/download/${PORTVERSION}/ |
4 |
MASTER_SITES= https://github.com/jwilk/${PORTNAME}/releases/download/${PORTVERSION}/ |
6 |
|
5 |
|
7 |
PATCH_SITES= https://github.com/jwilk/pdf2djvu/commit/ |
|
|
8 |
PATCHFILES= e170ad557d5f13daeeac047dfaa79347bbe5062f.diff:-p1 \ |
9 |
956fedc7e0831126b9006efedad5519c14201c52.diff:-p1 \ |
10 |
dca43e8182174bc04e107eaefcafcfdfdf9bcd61.diff:-p1 |
11 |
|
12 |
MAINTAINER= samy.mahmoudi@gmail.com |
6 |
MAINTAINER= samy.mahmoudi@gmail.com |
13 |
COMMENT= Creates DjVu files from PDF files |
7 |
COMMENT= Creates DjVu files from PDF files |
14 |
WWW= https://jwilk.net/software/pdf2djvu |
8 |
WWW= https://jwilk.net/software/pdf2djvu |
Lines 32-63
OPTIONS_SUB= yes
Link Here
|
32 |
|
26 |
|
33 |
COLOR_QUANTIZATION_DESC=Color quantization via GraphicsMagick++ |
27 |
COLOR_QUANTIZATION_DESC=Color quantization via GraphicsMagick++ |
34 |
DOCS_DESC= Generate the man page |
28 |
DOCS_DESC= Generate the man page |
35 |
NLS_DESC= Native Language Support via gettext utilities |
|
|
36 |
MULTITHREADING_DESC= Multithreading support via OpenMP |
29 |
MULTITHREADING_DESC= Multithreading support via OpenMP |
|
|
30 |
NLS_DESC= Native Language Support via gettext utilities |
37 |
XMP_DESC= XMP metadata support via Exiv2 |
31 |
XMP_DESC= XMP metadata support via Exiv2 |
38 |
|
32 |
|
39 |
COLOR_QUANTIZATION_CONFIGURE_WITH=graphicsmagick |
|
|
40 |
COLOR_QUANTIZATION_LIB_DEPENDS= \ |
33 |
COLOR_QUANTIZATION_LIB_DEPENDS= \ |
41 |
libGraphicsMagick++.so:graphics/GraphicsMagick \ |
34 |
libGraphicsMagick++.so:graphics/GraphicsMagick \ |
42 |
libGraphicsMagick.so:graphics/GraphicsMagick |
35 |
libGraphicsMagick.so:graphics/GraphicsMagick |
|
|
36 |
COLOR_QUANTIZATION_CONFIGURE_WITH=graphicsmagick |
43 |
|
37 |
|
44 |
DOCS_BUILD_DEPENDS= docbook-xsl>0:textproc/docbook-xsl \ |
38 |
DOCS_BUILD_DEPENDS= docbook-xsl>0:textproc/docbook-xsl \ |
45 |
xsltproc:textproc/libxslt |
39 |
xsltproc:textproc/libxslt |
46 |
|
40 |
|
47 |
NLS_CONFIGURE_ENABLE= nls |
|
|
48 |
NLS_USES= gettext-runtime |
49 |
|
50 |
MULTITHREADING_CONFIGURE_ENABLE=openmp |
41 |
MULTITHREADING_CONFIGURE_ENABLE=openmp |
51 |
|
42 |
|
52 |
XMP_CONFIGURE_ENABLE= xmp |
43 |
NLS_USES= gettext-runtime |
53 |
XMP_LIB_DEPENDS= libexiv2.so:graphics/exiv2 |
44 |
NLS_CONFIGURE_ENABLE= nls |
54 |
XMP_BROKEN= graphics/exiv2 and graphics/poppler disagree about usable C++ standard |
|
|
55 |
|
45 |
|
56 |
pre-configure: |
46 |
XMP_LIB_DEPENDS= libexiv2.so:graphics/exiv2 |
57 |
@cd ${WRKSRC} && ${SH} ${FILESDIR}/bootstrap |
47 |
XMP_CONFIGURE_ENABLE= xmp |
58 |
# Poppler 20.12 no longer installs the pc file for this private backend. |
|
|
59 |
# https://github.com/jwilk/pdf2djvu/issues/144 |
60 |
${REINPLACE_CMD} -e 's|poppler-splash|poppler|g' ${WRKSRC}/configure |
61 |
|
48 |
|
62 |
post-build-DOCS-on: |
49 |
post-build-DOCS-on: |
63 |
@cd ${WRKSRC}/doc && ${GMAKE} |
50 |
@cd ${WRKSRC}/doc && ${GMAKE} |