Changeset 122193
- Timestamp:
- Jul 17, 2014, 3:36:29 PM (5 years ago)
- Location:
- trunk/dports/graphics/comix
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/graphics/comix/Portfile
r100337 r122193 5 5 name comix 6 6 version 4.0.4 7 revision 27 revision 3 8 8 categories graphics 9 9 maintainers perry openmaintainer 10 10 platforms darwin 11 license GPL-2 11 12 12 13 description Comix is a user-friendly, customizable image viewer. … … 16 17 compressed) as well as plain image files. It is written in \ 17 18 Python and uses GTK+ through the PyGTK bindings. 18 license GPL-2 19 19 20 homepage http://comix.sourceforge.net/ 21 22 master_sites sourceforge 23 24 checksums rmd160 48e4fba57697feed1d71977c1a0693a1aa6c3caf 20 25 21 26 livecheck.regex {Comix (.*) released} … … 23 28 livecheck.url ${homepage} 24 29 25 depends_lib port:py26-pygtk port:py26-pil port:python26 port:unrar 30 set python.version 26 31 set python.branch "[string range ${python.version} 0 end-1].[string index ${python.version} end]" 32 set python.pkgd ${frameworks_dir}/Python.framework/Versions/${python.branch}/lib/python${python.branch}/site-packages 33 set python.bin ${prefix}/bin/python${python.branch} 26 34 27 master_sites sourceforge 35 depends_lib port:py${python.version}-pygtk \ 36 path:${python.pkgd}/PIL:py${python.version}-Pillow \ 37 port:python${python.version} \ 38 port:unrar 28 39 29 checksums rmd160 48e4fba57697feed1d71977c1a0693a1aa6c3caf40 patchfiles patch-pillow-compat.diff 30 41 31 42 use_configure no … … 33 44 build {} 34 45 35 set python.bin ${prefix}/bin/python2.636 37 46 pre-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 39 49 } 40 50 41 destroot.cmd ${python.bin} install.py --dir ${destroot}${prefix} --no-mime 51 destroot.cmd \ 52 ${python.bin} install.py --dir ${destroot}${prefix} --no-mime 53 42 54 destroot.destdir {}
Note: See TracChangeset
for help on using the changeset viewer.