diff options
| author | Teddy Wing | 2023-04-29 02:12:17 +0200 |
|---|---|---|
| committer | Teddy Wing | 2023-04-29 02:14:46 +0200 |
| commit | e5ec236d6a668017a72aea101dd9fa5a36a3dce0 (patch) | |
| tree | ec46df469bbf79e60b41ada843e6298ab5c32205 | |
| parent | 4e8d6da96d41d82d2cb3003af1f03b1d9a9fea6c (diff) | |
| download | macports-ports-e5ec236d6a668017a72aea101dd9fa5a36a3dce0.tar.bz2 | |
pdf-form-replace-font2 0.0.1
Thanks to the finance/portfolio-performance port for the
`maven_local_repository` idea.
| -rw-r--r-- | print/pdf-form-replace-font2/Portfile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/print/pdf-form-replace-font2/Portfile b/print/pdf-form-replace-font2/Portfile new file mode 100644 index 0000000..06ff8d4 --- /dev/null +++ b/print/pdf-form-replace-font2/Portfile @@ -0,0 +1,44 @@ +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 + +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. + +PortSystem 1.0 +PortGroup github 1.0 +PortGroup java 1.0 + +github.setup teddywing pdf-form-replace-font2 0.0.1 v +github.tarball_from archive + +categories print office +platforms darwin +license GPL-3+ +maintainers @teddywing + +description Replace fonts in a PDF's interactive form fields +long_description Update an existing PDF replacing the font used in its \ + interactive form fields with a different one. + +checksums rmd160 c277e45c00c316a85ba46e547c34c26b273ff436 \ + sha256 32e122343e33c7bd1fc244b833e027f82e4eb33581bdbed86dab46b7a21ebe1e \ + size 17770 + +supported_archs noarch +java.version 1.8+ +java.fallback openjdk11 + +depends_build port:maven3 + +use_configure no + +set maven_local_repository ${worksrcpath}/.m2/repository +pre-build { + file mkdir ${maven_local_repository} +} + +build.target package +build.env MVNFLAGS=-Dmaven.repo.local=${maven_local_repository} \ + prefix=${prefix} + +destroot.destdir prefix=${destroot}${prefix} |
