Ticket #21381: mimms.diff

File mimms.diff, 1.1 KB (added by blb@…, 15 years ago)

diff to Portfile

  • Portfile

     
    11# $Id$
    22
    33PortSystem 1.0
    4 PortGroup python25 1.0
     4PortGroup python26 1.0
    55
    66name            mimms
    77version         3.2.1
     
    2222                sha1    279eee76dd4032cd2c1dddf1d49292a952c57b80 \
    2323                rmd160  669d5d80ae9bd318bf98c032197fa6980622182e
    2424use_bzip2       yes
    25 depends_lib     port:libmms
     25depends_lib-append    port:libmms
    2626
    2727configure {
    2828    reinplace "s|libmms.so.0|${prefix}/lib/libmms.0.dylib|g" ${worksrcpath}/libmimms/libmms.py
    2929}
    3030
     31post-destroot {
     32    foreach binfile [glob -tails -directory ${destroot}${python.prefix}/bin *] {
     33        ln -s ${python.prefix}/bin/${binfile} \
     34            ${destroot}${prefix}/bin/${binfile}
     35    }
     36    foreach manfile [glob -tails -directory ${destroot}${python.prefix}/share/man/man1 *] {
     37        ln -s ${python.prefix}/share/man/man1/${manfile} \
     38            ${destroot}${prefix}/share/man/man1/${manfile}
     39    }
     40}
     41
    3142livecheck.type  regex
    3243livecheck.url   ${homepage}
    3344livecheck.regex mimms (\\d+(\\.\\d+)*) released