diff --git a/print/Makefile b/print/Makefile index a4bc42432fc8..a2d7eff21cd0 100644 --- a/print/Makefile +++ b/print/Makefile @@ -1,273 +1,274 @@ COMMENT = Desktop publishing SUBDIR += R-cran-knitr SUBDIR += R-cran-textshaping SUBDIR += R-cran-tinytex SUBDIR += a2pdf SUBDIR += a2ps SUBDIR += abcm2ps SUBDIR += adobe-cmaps SUBDIR += afm SUBDIR += alignmargins SUBDIR += ansiprint SUBDIR += asprint SUBDIR += auctex SUBDIR += bibcursed SUBDIR += bibview SUBDIR += brlaser SUBDIR += c2ps SUBDIR += catdvi SUBDIR += cdlabelgen SUBDIR += cups SUBDIR += cups-bjnp SUBDIR += cups-filters SUBDIR += cups-fxlinuxprint SUBDIR += cups-pdf SUBDIR += cups-pk-helper SUBDIR += cups-smb-backend SUBDIR += deforaos-pdfviewer SUBDIR += derelict-ft SUBDIR += detex SUBDIR += dot2tex SUBDIR += dvi2tty SUBDIR += dvips2ascii SUBDIR += dvisvg SUBDIR += dymo-cups-drivers SUBDIR += easylatex SUBDIR += enscript-a4 SUBDIR += enscript-letter SUBDIR += enscript-letterdj SUBDIR += epson-inkjet-printer-201207w SUBDIR += epson-inkjet-printer-201401w SUBDIR += epson-inkjet-printer-201601w SUBDIR += epson-inkjet-printer-escpr SUBDIR += epson-inkjet-printer-escpr2 SUBDIR += epsonepl + SUBDIR += extractpdfmark SUBDIR += fig2dev SUBDIR += flpsed SUBDIR += font-amsfonts SUBDIR += font2svg SUBDIR += fontforge SUBDIR += foo2zjs SUBDIR += foomatic-db SUBDIR += foomatic-db-engine SUBDIR += foomatic-db-hpijs SUBDIR += foomatic-filters SUBDIR += fpdf SUBDIR += freetype2 SUBDIR += ft2demos SUBDIR += ghostscript10 SUBDIR += gimp-gutenprint SUBDIR += gl2ps SUBDIR += gsfonts SUBDIR += gspdf SUBDIR += gtklp SUBDIR += gutenprint SUBDIR += gv SUBDIR += harfbuzz SUBDIR += harfbuzz-cairo SUBDIR += harfbuzz-icu SUBDIR += hp2xx SUBDIR += hplip SUBDIR += hplip-plugin SUBDIR += hs-hscolour SUBDIR += html2latex SUBDIR += html2ps SUBDIR += hyperlatex SUBDIR += indexinfo SUBDIR += ipp-usb SUBDIR += kde_poster SUBDIR += latex-beamer SUBDIR += latex-biber SUBDIR += latex-ltablex SUBDIR += latex-resume SUBDIR += latex2rtf SUBDIR += latexdiff SUBDIR += libharu SUBDIR += libijs SUBDIR += libmspub01 SUBDIR += libotf SUBDIR += libpagemaker SUBDIR += libpaper SUBDIR += libraqm SUBDIR += libspectre SUBDIR += lilypond SUBDIR += lilypond-devel SUBDIR += limereport SUBDIR += linux-c7-cups-libs SUBDIR += linux-c7-freetype SUBDIR += linux-c7-harfbuzz SUBDIR += linux-jabref SUBDIR += linux-rl9-cups-libs SUBDIR += linux-rl9-freetype SUBDIR += linux-rl9-harfbuzz SUBDIR += lout SUBDIR += lprps SUBDIR += lyx SUBDIR += magicfilter SUBDIR += makeindex SUBDIR += mftrace SUBDIR += microtex SUBDIR += miktex SUBDIR += min12xxw SUBDIR += mp-a4 SUBDIR += mp-letter SUBDIR += mpage SUBDIR += muttprint SUBDIR += nenscript SUBDIR += okc321 SUBDIR += openprinting SUBDIR += p5-Font-FreeType SUBDIR += p5-Net-CUPS SUBDIR += p5-Net-Printer SUBDIR += p5-PDF-Template SUBDIR += p5-PDFLib SUBDIR += p5-PostScript SUBDIR += p5-PostScript-PPD SUBDIR += p5-PostScript-Simple SUBDIR += p5-Text-PDF SUBDIR += p5-XML-ApacheFOP SUBDIR += p5-XML-Handler-AxPoint SUBDIR += p910nd SUBDIR += papersize-default-a4 SUBDIR += papersize-default-letter SUBDIR += paps SUBDIR += pcal SUBDIR += pdf-redact-tools SUBDIR += pdf-renderer SUBDIR += pdf-tools SUBDIR += pdf4tcl SUBDIR += pdfarranger SUBDIR += pdfbox SUBDIR += pdfchain SUBDIR += pdfcpu SUBDIR += pdflib SUBDIR += pdflib-perl SUBDIR += pdfmixtool SUBDIR += pdfstitch SUBDIR += pdftk SUBDIR += pear-File_PDF SUBDIR += pfbtopfa SUBDIR += photoprint SUBDIR += pic2fig SUBDIR += pkfonts118 SUBDIR += pkfonts240 SUBDIR += pkfonts300 SUBDIR += pkfonts360 SUBDIR += pkfonts400 SUBDIR += pkfonts600 SUBDIR += plasma6-print-manager SUBDIR += pnm2ppa SUBDIR += posterazor SUBDIR += print-manager SUBDIR += ps2eps SUBDIR += pscal SUBDIR += psdim SUBDIR += pslib SUBDIR += pstotext SUBDIR += psutils SUBDIR += py-PyMuPDF SUBDIR += py-collidoscope SUBDIR += py-dehinter SUBDIR += py-font-v SUBDIR += py-fontaine SUBDIR += py-fontbakery SUBDIR += py-fontparts SUBDIR += py-fontpens SUBDIR += py-fonttools SUBDIR += py-fpdf SUBDIR += py-freetype-py SUBDIR += py-frescobaldi SUBDIR += py-glyphsets SUBDIR += py-glyphtools SUBDIR += py-pollyreports SUBDIR += py-preppy SUBDIR += py-psautohint SUBDIR += py-pycups SUBDIR += py-pydyf SUBDIR += py-pypdf SUBDIR += py-pypdf2 SUBDIR += py-pypdf3 SUBDIR += py-python-ly SUBDIR += py-relatorio SUBDIR += py-reportlab SUBDIR += py-rtf SUBDIR += py-ttfautohint-py SUBDIR += py-ufolib2 SUBDIR += py-uharfbuzz SUBDIR += py-vharfbuzz SUBDIR += py-weasyprint SUBDIR += qpdf SUBDIR += qpdfview SUBDIR += qt5-printsupport SUBDIR += qt6-pdf SUBDIR += rlpr SUBDIR += rtf2latex2e SUBDIR += rubygem-afm SUBDIR += rubygem-color SUBDIR += rubygem-color-tools SUBDIR += rubygem-color_diff SUBDIR += rubygem-pdf-core SUBDIR += rubygem-pdf-core09 SUBDIR += rubygem-pdf-reader SUBDIR += rubygem-pdf-writer SUBDIR += rubygem-prawn SUBDIR += rubygem-prawn-core SUBDIR += rubygem-prawn-flexible-table SUBDIR += rubygem-prawn-format SUBDIR += rubygem-prawn-graph SUBDIR += rubygem-prawn-icon SUBDIR += rubygem-prawn-js SUBDIR += rubygem-prawn-layout SUBDIR += rubygem-prawn-security SUBDIR += rubygem-prawn-svg SUBDIR += rubygem-prawn-table SUBDIR += rubygem-prawn-templates SUBDIR += rubygem-prawn24 SUBDIR += rubygem-prawn_shapes SUBDIR += rubygem-rbpdf SUBDIR += rubygem-rbpdf-font SUBDIR += rubygem-ttfunk SUBDIR += rubygem-ttfunk17 SUBDIR += scribus SUBDIR += scribus-devel SUBDIR += sgf2tex SUBDIR += shrinkpdf SUBDIR += simple-fb2-reader SUBDIR += sioyek SUBDIR += splix SUBDIR += system-config-printer SUBDIR += t1utils SUBDIR += tex-basic-engines SUBDIR += tex-dvipdfmx SUBDIR += tex-dvipsk SUBDIR += tex-formats SUBDIR += tex-jadetex SUBDIR += tex-luatex SUBDIR += tex-ptexenc SUBDIR += tex-xdvik SUBDIR += tex-xetex SUBDIR += tex-xmltex SUBDIR += texinfo SUBDIR += texlive-base SUBDIR += texlive-docs SUBDIR += texlive-full SUBDIR += texlive-texmf SUBDIR += texlive-texmf-source SUBDIR += texlive-tlmgr SUBDIR += texvc SUBDIR += tgif2tex SUBDIR += transfig SUBDIR += trueprint SUBDIR += ttf2pt1 SUBDIR += ttfautohint SUBDIR += txtbdf2ps SUBDIR += typetools SUBDIR += utopia SUBDIR += xmbibtex SUBDIR += xpdfopen SUBDIR += xreader SUBDIR += xtexsh SUBDIR += yatex .include diff --git a/print/extractpdfmark/Makefile b/print/extractpdfmark/Makefile new file mode 100644 index 000000000000..c046ffef7ef3 --- /dev/null +++ b/print/extractpdfmark/Makefile @@ -0,0 +1,24 @@ +PORTNAME= extractpdfmark +DISTVERSIONPREFIX= v +DISTVERSION= 1.1.1 +CATEGORIES= print + +MAINTAINER= m.ne@gmx.net +COMMENT= Extract page mode and named destinations as PDFmark from PDF +WWW= https://github.com/trueroad/extractpdfmark/ + +LICENSE= GPLv3+ + +LIB_DEPENDS= libpoppler-cpp.so:graphics/poppler + +USES= autoreconf gettext-tools pkgconfig +USE_GITHUB= yes +GH_ACCOUNT= trueroad + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-poppler=cpp + +post-patch: + @${TOUCH} ${WRKSRC}/config.rpath + +.include diff --git a/print/extractpdfmark/distinfo b/print/extractpdfmark/distinfo new file mode 100644 index 000000000000..031b5fa68209 --- /dev/null +++ b/print/extractpdfmark/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1718533626 +SHA256 (trueroad-extractpdfmark-v1.1.1_GH0.tar.gz) = 9dab715fdd4ce0c34a3d83899c4263a2ab59f649df0f221d335535d6c9546191 +SIZE (trueroad-extractpdfmark-v1.1.1_GH0.tar.gz) = 44875 diff --git a/print/extractpdfmark/pkg-descr b/print/extractpdfmark/pkg-descr new file mode 100644 index 000000000000..552a466490c5 --- /dev/null +++ b/print/extractpdfmark/pkg-descr @@ -0,0 +1,13 @@ +PDFmarks is a technique that accompanies PDF and that is used to +store metadata such as author or title, but also structural information +such as bookmarks or hyperlinks. + +When Ghostscript reads the main PDF generated by the TEX system +with embedded PDF files and outputs the final PDF, the PDF page +mode and name targets etc. are not preserved. Therefore, when you +open the final PDF, it is not displayed correctly. Also, remote PDF +links do not work correctly. + +This program is able to extract the page mode and named targets as +PDFmark from PDF. In this way, you can obtain embedded PDF files +that have kept this information. diff --git a/print/extractpdfmark/pkg-plist b/print/extractpdfmark/pkg-plist new file mode 100644 index 000000000000..6c138aae1fa4 --- /dev/null +++ b/print/extractpdfmark/pkg-plist @@ -0,0 +1,2 @@ +bin/extractpdfmark +share/man/man1/extractpdfmark.1.gz