[54369] trunk/dports/graphics/jpeg

mcalhoun at macports.org mcalhoun at macports.org
Sat Jul 25 10:17:44 PDT 2009


Revision: 54369
          http://trac.macports.org/changeset/54369
Author:   mcalhoun at macports.org
Date:     2009-07-25 10:17:43 -0700 (Sat, 25 Jul 2009)
Log Message:
-----------
jpeg: Update version 6b -> 7.
Fixes #20193 (maintainer timeout).

Modified Paths:
--------------
    trunk/dports/graphics/jpeg/Portfile

Removed Paths:
-------------
    trunk/dports/graphics/jpeg/files/

Modified: trunk/dports/graphics/jpeg/Portfile
===================================================================
--- trunk/dports/graphics/jpeg/Portfile	2009-07-25 17:03:12 UTC (rev 54368)
+++ trunk/dports/graphics/jpeg/Portfile	2009-07-25 17:17:43 UTC (rev 54369)
@@ -3,8 +3,7 @@
 PortSystem	1.0
 
 name		jpeg
-version     	6b
-revision	3
+version     	7
 categories	graphics
 maintainers	waqar
 description	Library for manipulating JPEG images
@@ -22,47 +21,26 @@
 homepage        http://www.ijg.org/
 platforms       darwin freebsd sunos
 master_sites    http://www.ijg.org/files \
-                ftp://ftp.uu.net/graphics/jpeg \
-                http://sylvana.net/jpegcrop/:drop
+                ftp://ftp.uu.net/graphics/jpeg
 
 distname        ${name}src.v${version}
 worksrcdir      ${name}-${version}
-set jpegmain    ${distname}${extract.suffix}
-distfiles       ${jpegmain} \
-                droppatch.tar.gz:drop
                 
-checksums       ${jpegmain} md5 dbd5f3b47ed13132f04c685d608a7547 \
-                droppatch.tar.gz md5 511c39779ac96cd41ca1e0a87b239287
-extract.only    ${jpegmain}
+checksums       md5     382ef33b339c299b56baf1296cda9785 \
+                sha1    88cced0fc3dbdbc82115e1d08abce4e9d23a4b47 \
+                rmd160  6049c5fee2682c0757d4b51740abd981d1b24487
 
-patchfiles      patch-config.sub patch-config.guess patch-ltmain.sh \
-                patch-ltconfig patch-makefile.cfg patch-jpeglib.h
-post-patch {
-    system "cd ${worksrcpath} &&
-        tar zxf ${distpath}/droppatch.tar.gz"
+# See http://trac.macports.org/ticket/17865 and http://trac.macports.org/ticket/20145
+# This can be removed when r44901 (http://trac.macports.org/changeset/44901) is released.
+configure.cppflags-append  {}
+configure.ldflags-append   {}
 
-    # Reorder link flags so that so that local -L options come first (especially before -L${prefix}/lib)
-    #     (see http://trac.macports.org/ticket/16411).
-    reinplace {s|\(.*\)\($(LDFLAGS)\)\(.*\)\($(LDLIBS)\)\(.*\)|\1\4\3\2\5|} ${worksrcpath}/makefile.cfg
+# See http://trac.macports.org/ticket/16411
+configure.ldflags-delete	-L${prefix}/lib
+configure.cppflags-delete	-I${prefix}/include
 
-    # As in the case of -L, CPPFLAGS come before -I. during compilation.
-    configure.cppflags-append -isystem${prefix}/include
-    configure.cppflags-delete -I${prefix}/include
-}
-
-configure.args      --enable-shared --enable-static
-
 use_parallel_build  yes
 
-destroot.destdir    prefix=${destroot}${prefix}
-pre-destroot {
-    xinstall -d ${destroot}${prefix}/bin
-    xinstall -d ${destroot}${prefix}/share/man/man1
-    xinstall -d ${destroot}${prefix}/include
-    xinstall -d ${destroot}${prefix}/lib
-}
-
-
 livecheck.check regex
 livecheck.url   [lindex $master_sites 0]/?M=D
 livecheck.regex [suffix ${name}src.v(.*?)]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090725/d7fe8ae6/attachment-0001.html>


More information about the macports-changes mailing list