c2e25e5e92
(from FreeBSD) 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. requested by jsg@ ok jasper@
42 lines
1.0 KiB
Makefile
42 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2011/10/04 07:28:36 ajacoutot Exp $
|
|
|
|
COMMENT= command line utility to transform jpeg files
|
|
|
|
V= 2.08
|
|
DISTNAME= fbida-${V}
|
|
|
|
PKGNAME= exiftran-${V}
|
|
|
|
CATEGORIES= graphics
|
|
|
|
HOMEPAGE= http://www.kraxel.org/blog/linux/fbida/
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB += c exif jpeg m
|
|
|
|
MASTER_SITES= http://www.kraxel.org/releases/fbida/
|
|
|
|
LIB_DEPENDS= graphics/libexif \
|
|
graphics/jpeg
|
|
|
|
post-patch:
|
|
mkdir -p ${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
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/build/exiftran/exiftran \
|
|
${PREFIX}/bin/exiftran
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/build/thumbnail.cgi/thumbnail.cgi \
|
|
${PREFIX}/bin/thumbnail.cgi
|
|
${INSTALL_MAN} ${WRKSRC}/exiftran.man ${PREFIX}/man/man1/exiftran.1
|
|
|
|
.include <bsd.port.mk>
|