# $Id: Portfile 67918 2010-05-21 15:06:24Z jmr@macports.org $

PortSystem	1.0

name		jpeg
version     	8a
categories	graphics
maintainers	waqar
description	Library for manipulating JPEG images
long_description	\
	This distribution contains the eighth public release of the 	\
	Independent JPEG Group's free JPEG software. You are welcome 	\
	to redistribute this software and to use it for any purpose, 	\
	subject to the conditions under LEGAL ISSUES, below. 		\
	Serious users of this software (particularly those 		\
	incorporating it into larger programs) should contact IJG at 	\
	jpeg-info@uunet.uu.net to be added to our electronic mailing 	\
	list.  Mailing list members are notified of updates and have 	\
	a chance to participate in technical discussions, etc.

homepage        http://www.ijg.org/
platforms       darwin freebsd sunos
master_sites    http://www.ijg.org/files/ \
                ftp://ftp.uu.net/graphics/jpeg/

distname        ${name}src.v${version}
worksrcdir      ${name}-${version}
                
checksums       md5     5146e68be3633c597b0d14d3ed8fa2ea \
                sha1    78077fb22f0b526a506c21199fbca941d5c671a9 \
                rmd160  cdf6c356ea1a631e37256893e80206ad6ecc3fab

configure.ldflags-delete	-L${prefix}/lib
configure.cppflags-delete	-I${prefix}/include
if {![variant_isset universal]} {
    configure.ldflags-append   ${configure.cc_archflags}
}

livecheck.type  regex
livecheck.url   [lindex $master_sites 0]/?M=D
livecheck.regex [suffix ${name}src.v(.*?)]
