Ticket #8073: Portfile.2

File Portfile.2, 1.7 KB (added by ehainry@…, 18 years ago)

fixed portfile for not using a patch

Line 
1PortSystem      1.0
2name            signing-party
3version         0.4.6
4categories      mail security
5maintainers     ehainry@free.fr
6platforms       darwin
7description     Various OpenPGP related tools
8long_description        \
9        signing-party is a collection for all kinds of PGP/GnuPG related things, \
10        including signing scripts, party preparation scripts, etc.
11homepage        http://pgp-tools.alioth.debian.org/
12master_sites    http://ftp.debian.org/debian/pool/main/s/signing-party/
13distname                ${name}_${version}
14worksrcdir              ${name}-${version}
15extract.suffix  .orig.tar.gz
16checksums               md5 8ece5312f04f9ed3c3f45d19f7533ce5
17use_configure   no
18depends_lib     port:p5-gnupg-interface \
19                port:p5-text-iconv \
20                port:p5-text-template \
21                port:p5-mime-tools
22depends_run     bin:gpg:gnupg
23pre-build       {
24                reinplace "s|/usr/bin/perl|${prefix}/bin/perl|" \
25                ${worksrcpath}/caff/caff ${worksrcpath}/caff/pgp-clean \
26                ${worksrcpath}/caff/pgp-fixkey ${worksrcpath}/gpg-key2ps/gpg-key2ps \
27                ${worksrcpath}/gpglist/gpglist ${worksrcpath}/gpgsigs/gpgsigs \
28                ${worksrcpath}/keylookup/keylookup
29                }
30destroot        {
31                xinstall -m 0755 ${worksrcpath}/caff/caff ${worksrcpath}/caff/pgp-clean ${worksrcpath}/caff/pgp-fixkey ${destroot}${prefix}/bin
32                xinstall -m 0755  ${worksrcpath}/gpg-key2ps/gpg-key2ps ${worksrcpath}/gpg-mailkeys/gpg-mailkeys ${worksrcpath}/gpglist/gpglist ${worksrcpath}/gpgsigs/gpgsigs ${worksrcpath}/keylookup/keylookup ${destroot}${prefix}/bin
33                xinstall -m 0644 ${worksrcpath}/caff/caff.1 ${worksrcpath}/caff/pgp-clean.1 ${worksrcpath}/caff/pgp-fixkey.1 ${destroot}${prefix}/share/man/man1
34                xinstall -m 0644 ${worksrcpath}/gpg-key2ps/gpg-key2ps.1 ${worksrcpath}/gpg-mailkeys/gpg-mailkeys.1 ${worksrcpath}/gpglist/gpglist.1 ${worksrcpath}/gpgsigs/gpgsigs.1 ${worksrcpath}/keylookup/keylookup.1 ${destroot}${prefix}/share/man/man1
35}
36