# $Id: Portfile 123 2009-06-06 13:59:54Z kimuraw $

PortSystem 1.0
name             exiftran
version          2.06
categories       graphics
maintainers      majuterus@gmail.com
description      command line tool to do lossless transformations of JPEG images
long_description \
    command line tool to do lossless transformations of JPEG images. Works much \
    like jpegtran, but unlike jpegtran it does not ignore the EXIF data. Part of \
	fbida package.

homepage         http://linux.bytesex.org/fbida/
platforms        darwin
set pkg_name 	 fbida
distname		 ${pkg_name}-${version}
master_sites     http://dl.bytesex.org/releases/fbida/
checksums        md5    1f78e9a83fb546660a024a4bc0580ace \
				 sha1   7be6b28555b8645bf506b3f2c070244a8b9710cb \
				 rmd160 71cee41934a15c7f1e633743ba5e7499610b8377
patchfiles 		 GNUmakefile.patch
depends_lib		 port:jpeg port:libexif

configure		 {}
destroot		 { xinstall -d -m 755 ${destroot}/${prefix}/bin
				   xinstall -m 755 ${worksrcpath}/${name} \
				   			${destroot}/${prefix}/bin/${name}
				   xinstall -d m 755 ${destroot}/${prefix}/share/man/man1
				   xinstall -m 444 ${worksrcpath}/${name}.man \
				   			${destroot}/${prefix}/share/man/man1/${name}.1
				 }