diff options
author | tnn <tnn@pkgsrc.org> | 2007-06-05 22:07:25 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2007-06-05 22:07:25 +0000 |
commit | 874f6337e0ae434ba8e0f2637d4eba7e1b95217f (patch) | |
tree | 4f86b88f5691ccc60c107607ba30dd61cd78b72e /graphics/jpeg/Makefile | |
parent | 1d855a4f19832ee3334596e7452199177d2ddd16 (diff) | |
download | pkgsrc-874f6337e0ae434ba8e0f2637d4eba7e1b95217f.tar.gz |
Adopt some new features from www.jpegclub.org that have already been
adopted by many Linux distributions as well as FreeBSD ports:
o jpegtran: add "-perfect" switch:
Fail if there are non-transformable edge blocks.
o jpegtran: add "-crop" switch:
Crop to a rectangular subarea.
o jpegtran: correct EXIF handling.
o jpegexiforient: Get and set the Exif Orientation Tag.
o exifautotran: Transforms Exif files so that Orientation becomes 1.
Suggested by dzoe on #NetBSD IRCNet.
Diffstat (limited to 'graphics/jpeg/Makefile')
-rw-r--r-- | graphics/jpeg/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/graphics/jpeg/Makefile b/graphics/jpeg/Makefile index fea15721bab..3bb544a9f99 100644 --- a/graphics/jpeg/Makefile +++ b/graphics/jpeg/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.35 2006/11/02 18:00:43 joerg Exp $ +# $NetBSD: Makefile,v 1.36 2007/06/05 22:07:25 tnn Exp $ # DISTNAME= jpegsrc.v6b PKGNAME= jpeg-6b -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= graphics MASTER_SITES= ftp://ftp.fu-berlin.de/unix/graphics/jpeg/ \ ftp://ftp.uu.net/graphics/jpeg/ @@ -27,7 +27,11 @@ INSTALLATION_DIRS= bin lib include ${PKGMANDIR}/man1 INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} +post-extract: + ${CP} ${FILESDIR}/jpegexiforient.c ${WRKSRC} + post-install: + ${INSTALL_SCRIPT} ${FILESDIR}/exifautotran ${PREFIX}/bin ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/jpeg ${INSTALL_DATA} ${WRKSRC}/*.doc ${DESTDIR}${PREFIX}/share/doc/jpeg ${INSTALL_DATA} ${WRKSRC}/jpegint.h ${DESTDIR}${PREFIX}/include |