[77899] trunk/dports

blb at macports.org blb at macports.org
Sat Apr 16 15:40:09 PDT 2011


Revision: 77899
          http://trac.macports.org/changeset/77899
Author:   blb at macports.org
Date:     2011-04-16 15:40:08 -0700 (Sat, 16 Apr 2011)
Log Message:
-----------
games/rott and graphics/objectmarker - fix reinplace placement and lack of Id

Modified Paths:
--------------
    trunk/dports/games/rott/Portfile
    trunk/dports/graphics/objectmarker/Portfile

Modified: trunk/dports/games/rott/Portfile
===================================================================
--- trunk/dports/games/rott/Portfile	2011-04-16 22:23:16 UTC (rev 77898)
+++ trunk/dports/games/rott/Portfile	2011-04-16 22:40:08 UTC (rev 77899)
@@ -1,3 +1,4 @@
+# $Id$
 PortSystem 1.0
 name		rott
 version		1.1.1
@@ -30,5 +31,7 @@
 	file copy ${worksrcpath}/${name} ${destroot}${prefix}/bin/
 	}
 
-reinplace       "s|LDFLAGS += -Wl,-E|LDFLAGS += -Wl|g" ${worksrcpath}/Makefile
+post-extract {
+	reinplace       "s|LDFLAGS += -Wl,-E|LDFLAGS += -Wl|g" ${worksrcpath}/Makefile
+}
 

Modified: trunk/dports/graphics/objectmarker/Portfile
===================================================================
--- trunk/dports/graphics/objectmarker/Portfile	2011-04-16 22:23:16 UTC (rev 77898)
+++ trunk/dports/graphics/objectmarker/Portfile	2011-04-16 22:40:08 UTC (rev 77899)
@@ -1,3 +1,4 @@
+# $Id$
 PortSystem 1.0
 
 name		    objectmarker
@@ -17,7 +18,6 @@
 depends_lib	    port:opencv 
 use_configure	no
 extract.only 
-reinplace		"s|#include <io.h>|#include <sys/uio.h>|g" ${distpath}/ObjectMarker.cpp
 checksums           md5     f1f032209858427156259e7a54b5fe1d \
                     sha1    ce07b8f7b58836192e478bc7f91b967878ff326b \
                     rmd160  8e026342d5b7a21627171ee589c660d49752f057
@@ -26,6 +26,7 @@
 post-extract {
 		   xinstall -d ${worksrcpath}
 	       file copy ${distpath}/ObjectMarker.cpp ${worksrcpath}/
+	       reinplace		"s|#include <io.h>|#include <sys/uio.h>|g" ${distpath}/ObjectMarker.cpp
 	    }
 build.cmd {
 	g++ ObjectMarker.cpp `pkg-config --cflags opencv` -o objectmarker `pkg-config --libs opencv`
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110416/0dc2a380/attachment.html>


More information about the macports-changes mailing list