source: trunk/dports/mail/signing-party/Portfile @ 116691

Last change on this file since 116691 was 116691, checked in by cal@…, 6 years ago

signing-party: update to 1.15

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 4.6 KB
Line 
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: Portfile 116691 2014-02-03 20:08:03Z cal@macports.org $
3
4PortSystem          1.0
5
6name                signing-party
7version             1.1.5
8checksums           rmd160  e1bb708697b83dc20dafbc3621b56796ecc46e27 \
9                    sha256  af67052373996d8c34f9a4eb4822305c4d5f1dab6c807722f4b04fb5035c1363
10
11categories          mail security
12maintainers         cal openmaintainer
13platforms           darwin
14description         Various OpenPGP related tools
15long_description    signing-party is a collection for all kinds of PGP/GnuPG \
16                    related things, including signing scripts, party \
17                    preparation scripts, etc.
18
19homepage            http://pgp-tools.alioth.debian.org/
20license             BSD GPL-2 GPL-2+
21master_sites        debian:s/signing-party/
22distname            ${name}_${version}
23worksrcdir          ${name}-${version}
24extract.suffix      .orig.tar.gz
25
26patchfiles          gpgwrap-makefile-usingtherightcompiler.patch \
27                    keyanalyze-makefile-usingtherightcompiler.patch
28
29use_configure       no
30
31depends_lib         port:perl5.16 \
32                    port:p5.16-class-methodmaker \
33                    port:p5.16-mailtools \
34                    port:p5.16-term-readkey \
35                    port:p5.16-gnupg-interface \
36                    port:p5.16-text-iconv \
37                    port:p5.16-text-template \
38                    port:p5.16-mime-tools \
39                    port:qprint
40depends_run         bin:gpg:gnupg \
41                    port:dialog
42
43variant universal   {}
44
45build.env-append    CC=${configure.cc} \
46                    CFLAGS="${configure.cflags} [get_canonical_archflags]"
47
48pre-build {
49    reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.16|" \
50        ${worksrcpath}/caff/caff \
51        ${worksrcpath}/caff/pgp-clean \
52        ${worksrcpath}/caff/pgp-fixkey \
53        ${worksrcpath}/gpg-key2ps/gpg-key2ps \
54        ${worksrcpath}/gpgdir/bump_version.pl \
55        ${worksrcpath}/gpgdir/gpgdir \
56        ${worksrcpath}/gpgdir/install.pl \
57        ${worksrcpath}/gpglist/gpglist \
58        ${worksrcpath}/gpgsigs/gpgsigs \
59        ${worksrcpath}/keylookup/keylookup \
60        ${worksrcpath}/sig2dot/sig2dot \
61        ${worksrcpath}/springgraph/springgraph
62}
63
64platform macosx {
65    post-patch {
66        reinplace "s!getent.*$!dscl . -read /Users/\$USER \| awk \'\{print \$2\}\'\`!" ${worksrcpath}/gpg-mailkeys/gpg-mailkeys
67    }
68}
69
70destroot {
71        # install executables
72        xinstall -m 0755 \
73            ${worksrcpath}/caff/caff \
74            ${worksrcpath}/caff/pgp-clean \
75            ${worksrcpath}/caff/pgp-fixkey \
76            ${worksrcpath}/gpg-key2ps/gpg-key2ps \
77            ${worksrcpath}/gpg-mailkeys/gpg-mailkeys \
78            ${worksrcpath}/gpglist/gpglist \
79            ${worksrcpath}/gpgparticipants/gpgparticipants \
80            ${worksrcpath}/gpgsigs/gpgsigs \
81            ${worksrcpath}/gpgwrap/bin/gpgwrap \
82            ${worksrcpath}/keyanalyze/keyanalyze \
83            ${worksrcpath}/keyanalyze/process_keys \
84            ${worksrcpath}/keylookup/keylookup \
85            ${worksrcpath}/sig2dot/sig2dot \
86            ${worksrcpath}/springgraph/springgraph \
87            ${destroot}${prefix}/bin
88        # install manpages
89        xinstall -m 0644 \
90            ${worksrcpath}/caff/caff.1 \
91            ${worksrcpath}/caff/pgp-clean.1 \
92            ${worksrcpath}/caff/pgp-fixkey.1 \
93            ${worksrcpath}/gpg-key2ps/gpg-key2ps.1 \
94            ${worksrcpath}/gpg-mailkeys/gpg-mailkeys.1 \
95            ${worksrcpath}/gpglist/gpglist.1 \
96            ${worksrcpath}/gpgparticipants/gpgparticipants.1 \
97            ${worksrcpath}/gpgwrap/doc/gpgwrap.1 \
98            ${worksrcpath}/sig2dot/sig2dot.1 \
99            ${worksrcpath}/springgraph/springgraph.1 \
100            ${worksrcpath}/gpgsigs/gpgsigs.1 \
101            ${worksrcpath}/keyanalyze/keyanalyze.1 \
102            ${worksrcpath}/keylookup/keylookup.1 \
103            ${destroot}${prefix}/share/man/man1
104        # install example configurations in share/doc
105        xinstall -d \
106            ${destroot}${prefix}/share/doc/signing-party
107        xinstall -m 0644 \
108            ${worksrcpath}/caff/caffrc.sample \
109            ${worksrcpath}/gpg-mailkeys/example.gpg-mailkeysrc \
110            ${worksrcpath}/gpgsigs/gpgsigs-eps-helper \
111            ${destroot}${prefix}/share/doc/signing-party
112}
113
114notes               "Some example configuration files have been installed to ${prefix}/share/doc/signing-party."
115
116livecheck.type      regex
117livecheck.url       http://packages.debian.org/unstable/misc/${name}
118livecheck.regex     ${name} .(\[0-9.\]+)
Note: See TracBrowser for help on using the repository browser.