Ticket #51650: gnupg21.symlinks.patch

File gnupg21.symlinks.patch, 891 bytes (added by larryv (Lawrence Velázquez), 8 years ago)

install suffixless symlinks

  • dports/mail/gnupg21/Portfile

    diff --git a/dports/mail/gnupg21/Portfile b/dports/mail/gnupg21/Portfile
    index e9aa87f..5842f1c 100644
    a b PortSystem 1.0 
    55
    66name                gnupg21
    77version             2.1.12
     8revision            1
    89categories          mail security
    910maintainers         jann ionic openmaintainer
    1011license             GPL-3+
    test.run yes 
    8182test.dir            ${worksrcpath}/tests
    8283test.target         check
    8384
     85post-destroot {
     86    ln -s gpg2 ${destroot}${prefix}/bin/gpg
     87    ln -s gpgv2 ${destroot}${prefix}/bin/gpgv
     88    ln -s gpg2.1.gz ${destroot}${prefix}/share/man/man1/gpg.1.gz
     89    ln -s gpgv2.1.gz ${destroot}${prefix}/share/man/man1/gpgv.1.gz
     90}
     91
    8492livecheck.type      regex
    8593livecheck.url       ftp://ftp.gnupg.org/gcrypt/gnupg/
    8694livecheck.regex     gnupg-(2\\.1\\.\\d+)