You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
54 lines
1.8 KiB
Plaintext
54 lines
1.8 KiB
Plaintext
PortSystem 1.0
|
|
|
|
name comix
|
|
version 4.0.4
|
|
revision 5
|
|
categories graphics
|
|
maintainers nomaintainer
|
|
platforms darwin
|
|
license GPL-2
|
|
|
|
description Comix is a user-friendly, customizable image viewer.
|
|
long_description ${description} It is specifically designed to handle comic \
|
|
books, but also serves as a generic viewer. It reads \
|
|
images in ZIP, RAR or tar archives (also gzip or bzip2 \
|
|
compressed) as well as plain image files. It is written in \
|
|
Python and uses GTK+ through the PyGTK bindings.
|
|
|
|
homepage http://comix.sourceforge.net/
|
|
|
|
master_sites sourceforge
|
|
|
|
checksums rmd160 48e4fba57697feed1d71977c1a0693a1aa6c3caf
|
|
|
|
livecheck.regex {Comix (.*) released}
|
|
livecheck.type regex
|
|
livecheck.url ${homepage}
|
|
|
|
set python.version 27
|
|
set python.branch "[string range ${python.version} 0 end-1].[string index ${python.version} end]"
|
|
set python.pkgd ${frameworks_dir}/Python.framework/Versions/${python.branch}/lib/python${python.branch}/site-packages
|
|
set python.bin ${prefix}/bin/python${python.branch}
|
|
|
|
depends_lib port:py${python.version}-pygtk \
|
|
path:${python.pkgd}/PIL:py${python.version}-Pillow \
|
|
port:python${python.version} \
|
|
port:unrar
|
|
|
|
patchfiles patch-pillow-compat.diff \
|
|
patch-pillow-version-compat.diff
|
|
|
|
use_configure no
|
|
|
|
build {}
|
|
|
|
pre-destroot {
|
|
reinplace "s|^#!/usr/bin/env python\$|#!${python.bin}|" \
|
|
${worksrcpath}/src/comix.py
|
|
}
|
|
|
|
destroot.cmd \
|
|
${python.bin} install.py --dir ${destroot}${prefix} --no-mime
|
|
|
|
destroot.destdir {}
|