[39317] trunk/dports/graphics/GraphicsMagick/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun Aug 17 21:39:10 PDT 2008
Revision: 39317
http://trac.macosforge.org/projects/macports/changeset/39317
Author: ryandesign at macports.org
Date: 2008-08-17 21:39:10 -0700 (Sun, 17 Aug 2008)
Log Message:
-----------
GraphicsMagick: add variants to set the pixel quantum depth; closes #15751
Modified Paths:
--------------
trunk/dports/graphics/GraphicsMagick/Portfile
Modified: trunk/dports/graphics/GraphicsMagick/Portfile
===================================================================
--- trunk/dports/graphics/GraphicsMagick/Portfile 2008-08-18 02:10:09 UTC (rev 39316)
+++ trunk/dports/graphics/GraphicsMagick/Portfile 2008-08-18 04:39:10 UTC (rev 39317)
@@ -33,3 +33,19 @@
--with-png=yes --with-tiff=yes --with-bzlib=yes \
--with-zlib=yes --with-xml=yes --with-ttf=yes \
--enable-shared=yes --mandir=${prefix}/share/man
+
+variant q8 conflicts q16 q32 description {Use 8 bits per pixel quantum (default)} {
+ configure.args-append --with-quantum-depth=8
+}
+
+variant q16 conflicts q8 q32 description {Use 16 bits per pixel quantum} {
+ configure.args-append --with-quantum-depth=16
+}
+
+variant q32 conflicts q8 q16 description {Use 32 bits per pixel quantum} {
+ configure.args-append --with-quantum-depth=32
+}
+
+if {![variant_isset q16] && ![variant_isset q32]} {
+ default_variants +q8
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080817/f626df9f/attachment.html
More information about the macports-changes
mailing list