| 1 | # $Id$ |
|---|
| 2 | |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | |
|---|
| 5 | name signing-party |
|---|
| 6 | version 1.0 |
|---|
| 7 | categories mail security |
|---|
| 8 | maintainers milosh openmaintainer |
|---|
| 9 | platforms darwin |
|---|
| 10 | description Various OpenPGP related tools |
|---|
| 11 | long_description \ |
|---|
| 12 | signing-party is a collection for all kinds of PGP/GnuPG related things, \ |
|---|
| 13 | including signing scripts, party preparation scripts, etc. |
|---|
| 14 | |
|---|
| 15 | homepage http://pgp-tools.alioth.debian.org/ |
|---|
| 16 | master_sites http://ftp.de.debian.org/debian/pool/main/s/signing-party/ |
|---|
| 17 | distname ${name}_${version} |
|---|
| 18 | worksrcdir ${name}-${version} |
|---|
| 19 | extract.suffix .orig.tar.gz |
|---|
| 20 | checksums md5 fcfb3fd403e4e6ce0e95adf7b7d69717 \ |
|---|
| 21 | sha1 caffdd9f48cf0b2d3c5651ed1f6845e5cac56c67 |
|---|
| 22 | use_configure no |
|---|
| 23 | |
|---|
| 24 | depends_lib path:bin/perl:perl5 \ |
|---|
| 25 | port:p5-gnupg-interface \ |
|---|
| 26 | port:p5-text-iconv \ |
|---|
| 27 | port:p5-text-template \ |
|---|
| 28 | port:p5-mime-tools |
|---|
| 29 | depends_run bin:gpg:gnupg port:dialog |
|---|
| 30 | |
|---|
| 31 | pre-build { |
|---|
| 32 | reinplace "s|/usr/bin/perl|${prefix}/bin/perl|" \ |
|---|
| 33 | ${worksrcpath}/caff/caff ${worksrcpath}/caff/pgp-clean \ |
|---|
| 34 | ${worksrcpath}/caff/pgp-fixkey ${worksrcpath}/gpg-key2ps/gpg-key2ps \ |
|---|
| 35 | ${worksrcpath}/gpglist/gpglist ${worksrcpath}/gpgsigs/gpgsigs \ |
|---|
| 36 | ${worksrcpath}/keylookup/keylookup ${worksrcpath}/sig2dot/sig2dot \ |
|---|
| 37 | ${worksrcpath}/springgraph/springgraph |
|---|
| 38 | } |
|---|
| 39 | |
|---|
| 40 | destroot { |
|---|
| 41 | xinstall -m 0755 ${worksrcpath}/caff/caff ${worksrcpath}/caff/pgp-clean ${worksrcpath}/caff/pgp-fixkey ${destroot}${prefix}/bin |
|---|
| 42 | xinstall -m 0755 ${worksrcpath}/gpg-key2ps/gpg-key2ps ${worksrcpath}/gpg-mailkeys/gpg-mailkeys ${worksrcpath}/gpglist/gpglist ${worksrcpath}/gpgparticipants/gpgparticipants ${worksrcpath}/gpgsigs/gpgsigs ${worksrcpath}/keylookup/keylookup ${worksrcpath}/sig2dot/sig2dot ${worksrcpath}/springgraph/springgraph ${destroot}${prefix}/bin |
|---|
| 43 | xinstall -m 0644 ${worksrcpath}/caff/caff.1 ${worksrcpath}/caff/pgp-clean.1 ${worksrcpath}/caff/pgp-fixkey.1 ${destroot}${prefix}/share/man/man1 |
|---|
| 44 | xinstall -m 0644 ${worksrcpath}/gpg-key2ps/gpg-key2ps.1 ${worksrcpath}/gpg-mailkeys/gpg-mailkeys.1 ${worksrcpath}/gpglist/gpglist.1 ${worksrcpath}/gpgparticipants/gpgparticipants.1 ${worksrcpath}/sig2dot/sig2dot.1 ${worksrcpath}/springgraph/springgraph.1 ${worksrcpath}/gpgsigs/gpgsigs.1 ${worksrcpath}/keylookup/keylookup.1 ${destroot}${prefix}/share/man/man1 |
|---|
| 45 | xinstall -d ${destroot}${prefix}/share/doc/signing-party |
|---|
| 46 | xinstall -m 0644 ${worksrcpath}/caff/caffrc.sample ${worksrcpath}/gpg-mailkeys/example.gpg-mailkeysrc ${destroot}${prefix}/share/doc/signing-party |
|---|
| 47 | } |
|---|
| 48 | |
|---|
| 49 | livecheck.check regex |
|---|
| 50 | livecheck.url http://packages.debian.org/unstable/misc/${name} |
|---|
| 51 | livecheck.regex ${name} .(\[0-9.\]+) |
|---|