[23483] trunk/dports/graphics/squish
source_changes at macosforge.org
source_changes at macosforge.org
Mon Apr 2 05:19:17 PDT 2007
Revision: 23483
http://trac.macosforge.org/projects/macports/changeset/23483
Author: digdog at macports.org
Date: 2007-04-02 05:19:16 -0700 (Mon, 02 Apr 2007)
Log Message:
-----------
update to v1.10
Modified Paths:
--------------
trunk/dports/graphics/squish/Portfile
Added Paths:
-----------
trunk/dports/graphics/squish/patch-config.diff
Modified: trunk/dports/graphics/squish/Portfile
===================================================================
--- trunk/dports/graphics/squish/Portfile 2007-04-02 10:23:45 UTC (rev 23482)
+++ trunk/dports/graphics/squish/Portfile 2007-04-02 12:19:16 UTC (rev 23483)
@@ -2,7 +2,7 @@
PortSystem 1.0
name squish
-version 1.9
+version 1.10
revision 1
categories graphics
maintainers julian9 at gmail.com
@@ -19,13 +19,11 @@
distname ${name}-${version}
worksrcdir ${name}-${version}
platforms darwin
-checksums md5 ff02e9c8da406e2bad72c6ccb43b90dc
+checksums md5 53b171007aaaaf96ee277e833bb756eb
use_configure no
-post-configure {
- reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/config
-}
+patchfiles patch-config.diff
destroot {
xinstall -d -m 0755 ${destroot}/${prefix}/include
Added: trunk/dports/graphics/squish/patch-config.diff
===================================================================
--- trunk/dports/graphics/squish/patch-config.diff (rev 0)
+++ trunk/dports/graphics/squish/patch-config.diff 2007-04-02 12:19:16 UTC (rev 23483)
@@ -0,0 +1,30 @@
+--- config.orig 2007-03-31 14:44:29.000000000 -0500
++++ config 2007-03-31 14:44:41.000000000 -0500
+@@ -1,10 +1,15 @@
+ # config file used for the Makefile only
+
+-# define to 1 to use Altivec instructions
+-USE_ALTIVEC ?= 0
+-
+-# define to 1 to use SSE2 instructions
+-USE_SSE ?= 0
++export PROCESSOR = $(shell uname -p)
++ifeq ($(PROCESSOR), powerpc)
++ # define to 1 to use Altivec instructions
++ USE_ALTIVEC ?= 1
++ USE_SSE ?= 0
++else
++ # define to 1 to use SSE2 instructions
++ USE_ALTIVEC ?= 0
++ USE_SSE ?= 1
++endif
+
+ # default flags
+ CXXFLAGS ?= -O2
+@@ -18,5 +23,5 @@
+ endif
+
+ # where should we install to
+-INSTALL_DIR ?= /usr/local
++INSTALL_DIR ?= /opt/local
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070402/514cb7d2/attachment.html
More information about the macports-changes
mailing list