mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
54 lines
2.0 KiB
Tcl
54 lines
2.0 KiB
Tcl
# -*- 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 exiftran
|
|
version 2.14
|
|
revision 2
|
|
categories graphics
|
|
platforms darwin
|
|
maintainers nomaintainer
|
|
license GPL-2+
|
|
|
|
description A tool for transformations on JPEG from fbida
|
|
long_description A command line tool for lossless transformations of JPEG images \
|
|
images. exiftran is similar to jpegtran, but respects EXIF data. \
|
|
This utility is part of the fbida project.
|
|
|
|
homepage https://www.kraxel.org/blog/linux/fbida/
|
|
master_sites https://www.kraxel.org/releases/fbida/
|
|
distname fbida-${version}
|
|
|
|
checksums rmd160 9efb457253558b7cd10e8cddbdef24585c0726f7 \
|
|
sha256 95b7c01556cb6ef9819f358b314ddfeb8a4cbe862b521a3ed62f03d163154438 \
|
|
size 296826
|
|
|
|
patchfiles patch-cflags.diff \
|
|
patch-jpeg-version.diff \
|
|
patch-autoconfmk.diff \
|
|
patch-makefile.diff
|
|
|
|
depends_build port:pkgconfig
|
|
|
|
depends_lib path:include/turbojpeg.h:libjpeg-turbo \
|
|
port:libexif \
|
|
path:lib/pkgconfig/pixman-1.pc:libpixman
|
|
|
|
use_configure no
|
|
|
|
build.target exiftran
|
|
build.args verbose=yes \
|
|
CC="${configure.cc}" \
|
|
EXTRA_CFLAGS="${configure.cflags} [get_canonical_archflags cc] ${configure.cppflags}" \
|
|
LIB="lib"
|
|
build.env-append CC=${configure.cc} \
|
|
CPPFLAGS=${configure.cppflags}
|
|
|
|
destroot {
|
|
xinstall -m 0755 ${worksrcpath}/exiftran ${destroot}${prefix}/bin/exiftran
|
|
xinstall -m 0755 ${worksrcpath}/man/exiftran.1 ${destroot}${prefix}/share/man/man1/exiftran.1
|
|
}
|
|
|
|
livecheck.url [lindex ${master_sites} 0]
|
|
livecheck.regex {fbida-(\d+(?:\.\d+)*)}
|