[51003] trunk/dports/devel/roboctl/Portfile

macsforever2000 at macports.org macsforever2000 at macports.org
Thu May 14 20:36:58 PDT 2009


Revision: 51003
          http://trac.macports.org/changeset/51003
Author:   macsforever2000 at macports.org
Date:     2009-05-14 20:36:57 -0700 (Thu, 14 May 2009)
Log Message:
-----------
Changed checksums into single command and moved them next to master_sites. Simplified reinplace into single command. Moved platforms command.

Modified Paths:
--------------
    trunk/dports/devel/roboctl/Portfile

Modified: trunk/dports/devel/roboctl/Portfile
===================================================================
--- trunk/dports/devel/roboctl/Portfile	2009-05-15 03:26:01 UTC (rev 51002)
+++ trunk/dports/devel/roboctl/Portfile	2009-05-15 03:36:57 UTC (rev 51003)
@@ -5,15 +5,21 @@
 name		roboctl
 version		0.3.5
 categories	devel
+platforms	darwin
 maintainers	tds.net:jwbacon
+
 description	Communication tools for Lego and VEX robots
 long_description	Tools for communicating with and controlling Lego \
 			Mindstorms and VEX robotics controllers.
+
 homepage	http://personalpages.tds.net/~jwbacon/Ports
 master_sites	http://personalpages.tds.net/~jwbacon/Ports/distfiles/ \
 		http://jbacon.dyndns.org/~bacon/Ports/distfiles/
+checksums    md5 60dcbaea81d06a632493ff0ddb2e0cdc \
+             sha1 7c6c84a6bc7328ca95c07f12702387d404d44db1 \
+             rmd160 a188c924bf4ba01049cb2e0eadc91aeb31f47741
+
 use_configure	no
-platforms	darwin
 
 depends_lib	port:libusb
 
@@ -24,11 +30,9 @@
 post-patch {
 	reinplace "s|-lbluetooth||g" "${worksrcpath}/Commands/Legoctl/Makefile"
 	if {${os.major} == 9} {
-		reinplace "s|echo -e|echo|g" "${worksrcpath}/Commands/Legoctl/Makefile"
-		reinplace "s|echo -e|echo|g" "${worksrcpath}/Commands/Vexctl/Makefile"
-		reinplace "s|echo -e|echo|g" "${worksrcpath}/Libs/C/Makefile"
+        reinplace "s|echo -e|echo|g" \
+            ${worksrcpath}/Commands/Legoctl/Makefile \
+            ${worksrcpath}/Commands/Vexctl/Makefile \
+            ${worksrcpath}/Libs/C/Makefile
 	}
 }
-checksums	 md5 60dcbaea81d06a632493ff0ddb2e0cdc
-checksums	 sha1 7c6c84a6bc7328ca95c07f12702387d404d44db1
-checksums	 rmd160 a188c924bf4ba01049cb2e0eadc91aeb31f47741
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090514/7ab97d32/attachment.html>


More information about the macports-changes mailing list