mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
exiftran is a command line utility to transform digital image jpeg images.
It can do lossless rotations like jpegtran, but unlike jpegtran it cares about the EXIF data: It can rotate images automatically by checking the exif orientation tag, it updates the exif informaton if needed (image dimension, orientation), it also rotates the exif thumbnail. It can process multiple images at once. WWW: http://www.kraxel.org/blog/linux/fbida/
This commit is contained in:
parent
be3682b91d
commit
81bfbd62f7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=275024
@ -165,6 +165,7 @@
|
||||
SUBDIR += exif
|
||||
SUBDIR += exifprobe
|
||||
SUBDIR += exiftags
|
||||
SUBDIR += exiftran
|
||||
SUBDIR += exiv2
|
||||
SUBDIR += exrtools
|
||||
SUBDIR += f-spot
|
||||
|
41
graphics/exiftran/Makefile
Normal file
41
graphics/exiftran/Makefile
Normal file
@ -0,0 +1,41 @@
|
||||
# New ports collection makefile for: exiftran
|
||||
# Date created: June 03 2011
|
||||
# Whom: Martin Matuska <mm@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= exiftran
|
||||
DISTNAME= fbida-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
|
||||
PORTVERSION= 2.08
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= http://www.kraxel.org/releases/fbida/
|
||||
|
||||
MAINTAINER= mm@FreeBSD.org
|
||||
COMMENT= Command line utility to transform jpeg files
|
||||
|
||||
LIB_DEPENDS= exif.12:${PORTSDIR}/graphics/libexif \
|
||||
jpeg:${PORTSDIR}/graphics/jpeg
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
MAKE_JOBS_SAFE= yes
|
||||
MAKE_ARGS+= WRKSRC=${WRKSRC} BINDIR=${PREFIX}/bin MANDIR=${MANPREFIX}/man
|
||||
|
||||
PLIST_FILES= bin/exiftran bin/thumbnail.cgi
|
||||
MAN1= exiftran.1
|
||||
|
||||
post-patch:
|
||||
@${MKDIR} ${WRKSRC}/build/exiftran ${WRKSRC}/build/thumbnail.cgi
|
||||
@${CP} ${FILESDIR}/Makefile ${WRKSRC}/Makefile
|
||||
@${CP} ${FILESDIR}/Makefile.exiftran \
|
||||
${WRKSRC}/build/exiftran/Makefile
|
||||
@${CP} ${FILESDIR}/Makefile.thumbnail.cgi \
|
||||
${WRKSRC}/build/thumbnail.cgi/Makefile
|
||||
|
||||
post-install:
|
||||
@${INSTALL_MAN} ${WRKSRC}/exiftran.man \
|
||||
${MANPREFIX}/man/man1/exiftran.1
|
||||
|
||||
.include <bsd.port.mk>
|
2
graphics/exiftran/distinfo
Normal file
2
graphics/exiftran/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (fbida-2.08.tar.gz) = 298e7f3545e33596a5876f6b9c3da7ef475c2692e5fab0df824fbcd7a489cd80
|
||||
SIZE (fbida-2.08.tar.gz) = 241283
|
6
graphics/exiftran/files/Makefile
Normal file
6
graphics/exiftran/files/Makefile
Normal file
@ -0,0 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
SUBDIR= build/exiftran build/thumbnail.cgi
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
20
graphics/exiftran/files/Makefile.exiftran
Normal file
20
graphics/exiftran/files/Makefile.exiftran
Normal file
@ -0,0 +1,20 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../..
|
||||
PROG= exiftran
|
||||
SRCS= exiftran.c genthumbnail.c jpegtools.c filter.c op.c readers.c
|
||||
|
||||
.PATH: ${.CURDIR}/../../jpeg/80
|
||||
SRCS+= transupp.c
|
||||
|
||||
.PATH: ${.CURDIR}/../../rd
|
||||
SRCS+= read-jpeg.c
|
||||
|
||||
LDADD= -L${PREFIX}/lib -ljpeg -lexif
|
||||
|
||||
CFLAGS+= -I${PREFIX}/include -I${.CURDIR}/../../jpeg/80 \
|
||||
-I${.CURDIR}/../.. -DHAVE_NEW_EXIF
|
||||
|
||||
MAN=
|
||||
|
||||
.include <bsd.prog.mk>
|
13
graphics/exiftran/files/Makefile.thumbnail.cgi
Normal file
13
graphics/exiftran/files/Makefile.thumbnail.cgi
Normal file
@ -0,0 +1,13 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= thumbnail.cgi
|
||||
|
||||
.PATH: ${.CURDIR}/../..
|
||||
SRCS+= thumbnail.cgi.c
|
||||
|
||||
CFLAGS+= -I${PREFIX}/include -DHAVE_NEW_EXIF
|
||||
LDADD= -L${PREFIX}/lib -lexif
|
||||
|
||||
MAN=
|
||||
|
||||
.include <bsd.prog.mk>
|
9
graphics/exiftran/pkg-descr
Normal file
9
graphics/exiftran/pkg-descr
Normal file
@ -0,0 +1,9 @@
|
||||
exiftran is a command line utility to transform digital image jpeg images.
|
||||
|
||||
It can do lossless rotations like jpegtran, but unlike jpegtran it cares
|
||||
about the EXIF data: It can rotate images automatically by checking the exif
|
||||
orientation tag, it updates the exif informaton if needed (image dimension,
|
||||
orientation), it also rotates the exif thumbnail.
|
||||
It can process multiple images at once.
|
||||
|
||||
WWW: http://www.kraxel.org/blog/linux/fbida/
|
Loading…
Reference in New Issue
Block a user