[76730] trunk/dports/graphics/autotrace

ryandesign at macports.org ryandesign at macports.org
Sun Mar 6 18:28:57 PST 2011


Revision: 76730
          http://trac.macports.org/changeset/76730
Author:   ryandesign at macports.org
Date:     2011-03-06 18:28:55 -0800 (Sun, 06 Mar 2011)
Log Message:
-----------
autotrace: remove magick variant and instead always link with ImageMagick; also link with pstoedit; see #28663

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

Added Paths:
-----------
    trunk/dports/graphics/autotrace/files/
    trunk/dports/graphics/autotrace/files/pstoedit-config

Modified: trunk/dports/graphics/autotrace/Portfile
===================================================================
--- trunk/dports/graphics/autotrace/Portfile	2011-03-07 02:06:00 UTC (rev 76729)
+++ trunk/dports/graphics/autotrace/Portfile	2011-03-07 02:28:55 UTC (rev 76730)
@@ -3,7 +3,7 @@
 PortSystem			1.0
 name				autotrace
 version				0.31.1
-revision			2
+revision			3
 categories			graphics
 maintainers			nomaintainer
 description			Convert bitmap to vector graphics
@@ -22,10 +22,17 @@
 
 checksums			md5 54eabbb38d2076ded6d271e1ee4d0783
 
-depends_lib			port:libpng
+depends_lib			port:libpng port:pstoedit port:ImageMagick
 
-configure.args		--without-magick --mandir=${prefix}/share/man
+post-extract {
+	file mkdir ${workpath}/bin
+	xinstall ${filespath}/pstoedit-config ${workpath}/bin
+}
 
+configure.args		--mandir=${prefix}/share/man \
+					--with-magick \
+					--with-pstoedit-prefix=${workpath}
+
 # ccache: invalid option -- d
 configure.ccache	no
 
@@ -39,10 +46,4 @@
 		${destroot}${prefix}/share/doc/${name}
 }
 
-variant magick {
-	depends_lib-append		lib:libMagick:ImageMagick
-	configure.args-delete	--without-magick
-	configure.args-append	--with-magick
-}
-
 livecheck.distname AutoTrace

Added: trunk/dports/graphics/autotrace/files/pstoedit-config
===================================================================
--- trunk/dports/graphics/autotrace/files/pstoedit-config	                        (rev 0)
+++ trunk/dports/graphics/autotrace/files/pstoedit-config	2011-03-07 02:28:55 UTC (rev 76730)
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+args=""
+
+while [ $# -gt 0 ]; do
+    case $1 in
+        --prefix=*)
+            ;;
+        --version)
+            args="$args --modversion"
+            ;;
+        *)
+            args="$args $1"
+    esac
+    shift
+done
+
+pkg-config pstoedit $args


Property changes on: trunk/dports/graphics/autotrace/files/pstoedit-config
___________________________________________________________________
Added: svn:executable
   + *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110306/4f225765/attachment.html>


More information about the macports-changes mailing list