Changeset 122193


Ignore:
Timestamp:
Jul 17, 2014, 3:36:29 PM (5 years ago)
Author:
petr@…
Message:

graphics/comix @4.0.4_2: switch from py*-pil to path-based dependency, add patch, revision bump due to patch, some reformating, ticket #44284

Location:
trunk/dports/graphics/comix
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/comix/Portfile

    r100337 r122193  
    55name                comix
    66version             4.0.4
    7 revision            2
     7revision            3
    88categories          graphics
    99maintainers         perry openmaintainer
    1010platforms           darwin
     11license             GPL-2
    1112
    1213description         Comix is a user-friendly, customizable image viewer.
     
    1617                    compressed) as well as plain image files. It is written in \
    1718                    Python and uses GTK+ through the PyGTK bindings.
    18 license             GPL-2
     19
    1920homepage            http://comix.sourceforge.net/
     21
     22master_sites        sourceforge
     23
     24checksums           rmd160 48e4fba57697feed1d71977c1a0693a1aa6c3caf
    2025
    2126livecheck.regex     {Comix (.*) released}
     
    2328livecheck.url       ${homepage}
    2429
    25 depends_lib         port:py26-pygtk port:py26-pil port:python26 port:unrar
     30set python.version  26
     31set python.branch   "[string range ${python.version} 0 end-1].[string index ${python.version} end]"
     32set python.pkgd     ${frameworks_dir}/Python.framework/Versions/${python.branch}/lib/python${python.branch}/site-packages
     33set python.bin      ${prefix}/bin/python${python.branch}
    2634
    27 master_sites        sourceforge
     35depends_lib         port:py${python.version}-pygtk \
     36                    path:${python.pkgd}/PIL:py${python.version}-Pillow \
     37                    port:python${python.version} \
     38                    port:unrar
    2839
    29 checksums           rmd160 48e4fba57697feed1d71977c1a0693a1aa6c3caf
     40patchfiles          patch-pillow-compat.diff
    3041
    3142use_configure       no
     
    3344build               {}
    3445
    35 set python.bin      ${prefix}/bin/python2.6
    36 
    3746pre-destroot {
    38     reinplace "s|^#!/usr/bin/env python\$|#!${python.bin}|" ${worksrcpath}/src/comix.py
     47    reinplace "s|^#!/usr/bin/env python\$|#!${python.bin}|" \
     48        ${worksrcpath}/src/comix.py
    3949}
    4050
    41 destroot.cmd        ${python.bin} install.py --dir ${destroot}${prefix} --no-mime
     51destroot.cmd        \
     52        ${python.bin} install.py --dir ${destroot}${prefix} --no-mime
     53
    4254destroot.destdir    {}
Note: See TracChangeset for help on using the changeset viewer.