print/pdfcpu: New port: PDF processor written in Go

PDF processing library providing both an API and a CLI with focus on
strong support for batch processing and scripting via a rich
command-line. Common functions such as extract assets, merge, split,
rotate, trim, validate, watermark PDF files are supported and many more.

Website: https://github.com/pdfcpu/pdfcpu
This commit is contained in:
Daniel Engberg 2023-10-23 20:08:48 +02:00
parent a00a9c8064
commit eadcbcb177
4 changed files with 31 additions and 0 deletions

View file

@ -139,6 +139,7 @@
SUBDIR += pdfarranger
SUBDIR += pdfbox
SUBDIR += pdfchain
SUBDIR += pdfcpu
SUBDIR += pdflib
SUBDIR += pdflib-perl
SUBDIR += pdfmixtool

21
print/pdfcpu/Makefile Normal file
View file

@ -0,0 +1,21 @@
PORTNAME= pdfcpu
DISTVERSIONPREFIX= v
DISTVERSION= 0.5.0
CATEGORIES= print
MAINTAINER= diizzy@FreeBSD.org
COMMENT= PDF processor written in Go
WWW= https://github.com/pdfcpu/pdfcpu
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= go:modules
GO_MODULE= github.com/${PORTNAME}/${PORTNAME}
PLIST_FILES= bin/pdfcpu
GO_TARGET= ./cmd/${PORTNAME}
.include <bsd.port.mk>

5
print/pdfcpu/distinfo Normal file
View file

@ -0,0 +1,5 @@
TIMESTAMP = 1698012245
SHA256 (go/print_pdfcpu/pdfcpu-v0.5.0/v0.5.0.mod) = bd1f3e5cedaca62187d34f73aa7f2f9e0cbbcb68aebf0ede87dcd48c559d6857
SIZE (go/print_pdfcpu/pdfcpu-v0.5.0/v0.5.0.mod) = 319
SHA256 (go/print_pdfcpu/pdfcpu-v0.5.0/v0.5.0.zip) = dbda196a444c313ae06181c417ebbb73f52a4d29bdcbdc6dbba582e0e0988876
SIZE (go/print_pdfcpu/pdfcpu-v0.5.0/v0.5.0.zip) = 293287851

4
print/pdfcpu/pkg-descr Normal file
View file

@ -0,0 +1,4 @@
PDF processing library providing both an API and a CLI with focus on strong
support for batch processing and scripting via a rich command-line. Common
functions such as extract assets, merge, split, rotate, trim, validate,
watermark PDF files are supported and many more.