1 | # -*- 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 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup github 1.0 |
---|
6 | |
---|
7 | github.setup OpenVPN easy-rsa 3.0.0-rc2 v |
---|
8 | categories security |
---|
9 | platforms darwin |
---|
10 | supported_archs noarch |
---|
11 | license GPL-2 |
---|
12 | maintainers dottedmag.net:dottedmag |
---|
13 | description Command-line CA tool |
---|
14 | long_description Command-line CA tool from OpenVPN project |
---|
15 | |
---|
16 | distfiles EasyRSA-${version}.tgz |
---|
17 | github.tarball_from releases |
---|
18 | checksums rmd160 34b174d90e8781e66b786f3aa944db728f256375 \ |
---|
19 | sha256 c2125415f129672977820bdc394ee3deb8dab8ea55be524bcd577660070644c2 |
---|
20 | |
---|
21 | worksrcdir EasyRSA-${version} |
---|
22 | |
---|
23 | patchfiles patch-set-macports-paths.diff |
---|
24 | |
---|
25 | use_configure no |
---|
26 | |
---|
27 | build {} |
---|
28 | |
---|
29 | destroot { |
---|
30 | xinstall -d ${destroot}${prefix}/bin |
---|
31 | xinstall -m 755 ${worksrcpath}/easyrsa ${destroot}${prefix}/bin |
---|
32 | |
---|
33 | xinstall -d ${destroot}${prefix}/share/${name}/x509-types |
---|
34 | xinstall -m 640 -W ${worksrcpath} openssl-1.0.cnf vars.example \ |
---|
35 | ${destroot}${prefix}/share/${name} |
---|
36 | eval xinstall -m 640 [glob ${worksrcpath}/x509-types/*] \ |
---|
37 | ${destroot}${prefix}/share/${name}/x509-types |
---|
38 | |
---|
39 | xinstall -d ${destroot}${prefix}/share/doc/${name} |
---|
40 | xinstall -m 640 -W ${worksrcpath} COPYING ChangeLog Licensing/gpl-2.0.txt \ |
---|
41 | README.quickstart.md ${destroot}${prefix}/share/doc/${name} |
---|
42 | eval xinstall -m 640 [glob ${worksrcpath}/doc/*] \ |
---|
43 | ${destroot}${prefix}/share/doc/${name} |
---|
44 | } |
---|