[26250] trunk/dports/graphics/dcraw/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sun Jun 17 07:38:13 PDT 2007


Revision: 26250
          http://trac.macosforge.org/projects/macports/changeset/26250
Author:   takanori at macports.org
Date:     2007-06-17 07:38:12 -0700 (Sun, 17 Jun 2007)

Log Message:
-----------
Version 8.75.

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

Modified: trunk/dports/graphics/dcraw/Portfile
===================================================================
--- trunk/dports/graphics/dcraw/Portfile	2007-06-17 14:16:51 UTC (rev 26249)
+++ trunk/dports/graphics/dcraw/Portfile	2007-06-17 14:38:12 UTC (rev 26250)
@@ -2,7 +2,7 @@
 
 PortSystem      1.0
 name            dcraw
-version         8.72
+version         8.75
 categories      graphics
 maintainers     nomaintainer at macports.org
 description     Raw Digital Photo Decoding, supporting 209 cameras
@@ -11,9 +11,9 @@
 platforms       darwin
 homepage        http://www.cybercom.net/~dcoffin/dcraw/
 master_sites    http://www.cybercom.net/~dcoffin/dcraw/archive/
-checksums       md5 1b2dbeb7cdb570ee7d8273bc7b7352d7 \
-                sha1 6e02993b2e26b80cf2882910f042dd66ae093cf9 \
-                rmd160 0365d5a4badd525ee391a4c90b07fc4cbe3f3f81
+checksums       md5 43602865e73ef2e317b9e90f11cf2ebf \
+                sha1 15637972bfd6c986416d8ff6403e7ba5362056ca \
+                rmd160 636691dbf8b4aae7e8e16548e540f2b56faca505
 worksrcdir      $name
 depends_lib     port:gettext \
                 port:libiconv \
@@ -24,7 +24,11 @@
 
 build {
     cd ${worksrcpath}
-    system "cc -o dcraw -O3 dcraw.c -ljpeg -llcms -lintl -I${prefix}/include -L${prefix}/lib -DLOCALEDIR=\\\"${prefix}/share/locale/\\\""
+    if {[variant_isset universal]} {
+        system "cc -o dcraw ${configure.cflags} ${configure.universal_cflags} dcraw.c -ljpeg -llcms -lintl ${configure.cppflags} ${configure.ldflags} -DLOCALEDIR=\\\"${prefix}/share/locale/\\\""
+    } else {
+        system "cc -o dcraw ${configure.cflags} dcraw.c -ljpeg -llcms -lintl ${configure.cppflags} ${configure.ldflags} -DLOCALEDIR=\\\"${prefix}/share/locale/\\\""
+    }
 }
 
 destroot {
@@ -47,3 +51,5 @@
     ui_msg "activate, uninstall or deactivate ufraw and attempt to"
     ui_msg "activate this port again."
 }
+
+variant universal {}
\ No newline at end of file

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070617/b6157d8b/attachment.html


More information about the macports-changes mailing list