81bfbd62f7
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/
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# 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>
|