Source
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
name feh
version 3.2.1
revision 1
categories graphics
platforms darwin
maintainers nomaintainer
license MIT
description Fast lightweight image viewer
long_description Simple and fast image viewer using imlib2 with file list \
and recursive file opening.
homepage https://feh.finalrewind.org/
master_sites ${homepage}
use_bzip2 yes
checksums rmd160 af6c251ea98cdd53d9fa4dd603e795b1e4a27259 \
sha256 8f9741399b4b184ba28698c0fd7722638e79abac8e6c27eb526cc52b11ee0a1c \
size 2112281
depends_lib-append port:curl \
port:imlib2 \
port:jpeg \
port:libexif \
port:libpng \
port:xorg-libXinerama \
port:xorg-libXt \
port:zlib
# Correct permissions
post-extract {
system "chmod -R 755 ${worksrcpath}"
}
use_configure no
variant universal {}
# exif=1 - enable auto-rotate
# verscmp=0 - disable strverscmp
build.args PREFIX=${prefix} \
'exif=1' \
'verscmp=0'
build.env CC=${configure.cc} \
"CFLAGS=${configure.cflags} [get_canonical_archflags cc]" \
CPPFLAGS=${configure.cppflags} \
"LDFLAGS=${configure.ldflags} [get_canonical_archflags ld]"
destroot.args PREFIX=${prefix}
livecheck.type regex
livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}