mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
print/extractpdfmark: New port: Extract page mode and named destinations from PDF
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. WWW: https://github.com/trueroad/extractpdfmark/
This commit is contained in:
parent
6a59610180
commit
df8d84bbba
@ -43,6 +43,7 @@
|
||||
SUBDIR += epson-inkjet-printer-escpr
|
||||
SUBDIR += epson-inkjet-printer-escpr2
|
||||
SUBDIR += epsonepl
|
||||
SUBDIR += extractpdfmark
|
||||
SUBDIR += fig2dev
|
||||
SUBDIR += flpsed
|
||||
SUBDIR += font-amsfonts
|
||||
|
24
print/extractpdfmark/Makefile
Normal file
24
print/extractpdfmark/Makefile
Normal file
@ -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 <bsd.port.mk>
|
3
print/extractpdfmark/distinfo
Normal file
3
print/extractpdfmark/distinfo
Normal file
@ -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
|
13
print/extractpdfmark/pkg-descr
Normal file
13
print/extractpdfmark/pkg-descr
Normal file
@ -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.
|
2
print/extractpdfmark/pkg-plist
Normal file
2
print/extractpdfmark/pkg-plist
Normal file
@ -0,0 +1,2 @@
|
||||
bin/extractpdfmark
|
||||
share/man/man1/extractpdfmark.1.gz
|
Loading…
Reference in New Issue
Block a user