[24415] trunk/dports/python/py-spreadmodule/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Mon Apr 23 22:54:48 PDT 2007


Revision: 24415
          http://trac.macosforge.org/projects/macports/changeset/24415
Author:   stechert at macports.org
Date:     2007-04-23 22:54:48 -0700 (Mon, 23 Apr 2007)

Log Message:
-----------
get rid of FLAGS as requested by portmgr, change dep spec to use port: instead of ancient lib:, and patch setup.py so that it expects spread to be in the path provided by the spread port

Modified Paths:
--------------
    trunk/dports/python/py-spreadmodule/Portfile

Modified: trunk/dports/python/py-spreadmodule/Portfile
===================================================================
--- trunk/dports/python/py-spreadmodule/Portfile	2007-04-24 05:52:26 UTC (rev 24414)
+++ trunk/dports/python/py-spreadmodule/Portfile	2007-04-24 05:54:48 UTC (rev 24415)
@@ -5,6 +5,7 @@
 
 name			py-spreadmodule
 version			1.5.0
+revision		1
 categories		python
 platforms		darwin
 maintainers		stechert at macports.org
@@ -19,6 +20,8 @@
 extract.suffix          .tgz
 checksums		md5 4c953e0f9f08635fb47dd04a23e222dc
 
-build.env               CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
-
-depends_lib-append	lib:libspread:spread
+depends_build		port:spread
+pre-configure {
+	cd ${worksrcpath}
+	reinplace "s#SPREAD_DIR = \"/usr/local\"#SPREAD_DIR = \"$prefix\"#" setup.py
+}

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


More information about the macports-changes mailing list