From nobody Mon Oct 23 18:23:03 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SDk872PzKz4yLPG; Mon, 23 Oct 2023 18:23:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SDk871zQlz3GTC; Mon, 23 Oct 2023 18:23:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698085383; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZI2vx7rs17ypT9VaJH+teHGZsuzUrgPq+2qgYjHmBbo=; b=btvd/4n1Zptb2Uy58sBBJiZY1nK3pOTAHS2giMAOIqWb3EmuLzWOrmsnF2EVdfvZt/9zNt nNSLGyUGPlES8rVbI6e0M/9T6JFT4TzDUaJnUjHZbKKzktDHaWvbnFhxct+oSXnC8boUZs 3Z1m7yjgKzDUDsB3TFoe/gq9Z2VMJ659IZP6Z6XA2XJwPHpqjvqPyPpGpgIe74/4CurrEm JR1QwCXDH9j+v7dlBtKkhrpiit/n7MQL3WUBIRyJKzofc05Wpyvxr9vJwUdzhP77svALk/ edI+ypi2cIjpPm5zKRa4qM07OazVJZld84jRIf0KOadXSeNa5Fmgzk/siLw7dw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698085383; a=rsa-sha256; cv=none; b=JQQl2b71gMRoSBSSAMtbCICcX425Cak7nlx0FKHjqQpeGloA0m44mA2klKS9ANK5Qt7Eme 35DyeefZ2PzoPA/2cK7GDUgfHO8tI9adu0BePZb0MO4fbozPtVErTWFHgHx/OdQwuBY8Jr FcTpTPLzv66LyjBYKFkLkHiro2ct5zCvSfjT493HSMbpDtY6Z+n1LzqZk36HTptZOOTCYM E2hF9YqKnp+UTe5k5mm3XPmJXWdf4/x915idpqACMa7naKlB6w0q5EVMypwQDsvngy17WU h4a909t26lROENHU+18yAESx9ZxEY7rv+wiiBDF7AfntElA3b2GC7fYQ31I2JQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698085383; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZI2vx7rs17ypT9VaJH+teHGZsuzUrgPq+2qgYjHmBbo=; b=KZfxSnKCqvoBTN8Jc0l7qzK0BEeNUemd8DohK/whYRV59opF8K3fEa+XtplQMenGbiMPGn oM12gqxqwqvyjBzDk+OPwyMXYh6OlMf7t9P7KRKx8xyGjBrCQtqM44i8xDIaxLBqThErzZ Cb2+lr55FVmTh2nN90N9Rk1fanPyGVbqLA3aezCfZqa+YNX7FFXyd4RD48K5YqX5fHrqfY GrEDLfP1zPnd6br3QO6qTGxmDh32vAWWDdlbh8shP1rrlVNxYaZbdpcaf/vGInZsCAP0iP cpUo6IW6XPYUbPJIgYNlNOGLs5DEqHhKt0gBqVL8+rvTU0zmMgC4mzvOtjYXNA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SDk8713nWzqv0; Mon, 23 Oct 2023 18:23:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39NIN3nU064379; Mon, 23 Oct 2023 18:23:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39NIN3GJ064376; Mon, 23 Oct 2023 18:23:03 GMT (envelope-from git) Date: Mon, 23 Oct 2023 18:23:03 GMT Message-Id: <202310231823.39NIN3GJ064376@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: eadcbcb177f3 - main - print/pdfcpu: New port: PDF processor written in Go List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: eadcbcb177f3bcd18a34a637af8efd6ed0ef15d7 Auto-Submitted: auto-generated The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=eadcbcb177f3bcd18a34a637af8efd6ed0ef15d7 commit eadcbcb177f3bcd18a34a637af8efd6ed0ef15d7 Author: Daniel Engberg AuthorDate: 2023-10-23 18:08:48 +0000 Commit: Daniel Engberg CommitDate: 2023-10-23 18:22:57 +0000 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 --- print/Makefile | 1 + print/pdfcpu/Makefile | 21 +++++++++++++++++++++ print/pdfcpu/distinfo | 5 +++++ print/pdfcpu/pkg-descr | 4 ++++ 4 files changed, 31 insertions(+) diff --git a/print/Makefile b/print/Makefile index e70dbf79c4f1..9a580b29435c 100644 --- a/print/Makefile +++ b/print/Makefile @@ -139,6 +139,7 @@ SUBDIR += pdfarranger SUBDIR += pdfbox SUBDIR += pdfchain + SUBDIR += pdfcpu SUBDIR += pdflib SUBDIR += pdflib-perl SUBDIR += pdfmixtool diff --git a/print/pdfcpu/Makefile b/print/pdfcpu/Makefile new file mode 100644 index 000000000000..5579727d586d --- /dev/null +++ b/print/pdfcpu/Makefile @@ -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 diff --git a/print/pdfcpu/distinfo b/print/pdfcpu/distinfo new file mode 100644 index 000000000000..be8cb734f36a --- /dev/null +++ b/print/pdfcpu/distinfo @@ -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 diff --git a/print/pdfcpu/pkg-descr b/print/pdfcpu/pkg-descr new file mode 100644 index 000000000000..70694947e1a3 --- /dev/null +++ b/print/pdfcpu/pkg-descr @@ -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.