aboutsummaryrefslogtreecommitdiffstats
path: root/print/pdf-form-replace-font2/Portfile
blob: 12bc4636139d9baadd12910da103a4d605a8ca77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# -*- 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  48c62db8e0237a758bd1cd5241bc347e92f49f45 \
                    sha256  5cab2a7a71b224d19dfaeea23eea0dc010d07ff6a608bdc02b7e2e0300a8f09c \
                    size    17787

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.args          MVN=mvn3 \
                    MVNFLAGS=-Dmaven.repo.local=${maven_local_repository} \
                    prefix=${prefix}

destroot.destdir    prefix=${destroot}${prefix}