[27905] trunk/dports/devel/agsocket/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Wed Aug 15 15:19:02 PDT 2007


Revision: 27905
          http://trac.macosforge.org/projects/macports/changeset/27905
Author:   nox at macports.org
Date:     2007-08-15 15:19:01 -0700 (Wed, 15 Aug 2007)

Log Message:
-----------
agsocket:
 * Ported to xcode portgroup.
 * Disabled universal support.
 * Added sha1 and rmd160 checksums.

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

Modified: trunk/dports/devel/agsocket/Portfile
===================================================================
--- trunk/dports/devel/agsocket/Portfile	2007-08-15 21:56:21 UTC (rev 27904)
+++ trunk/dports/devel/agsocket/Portfile	2007-08-15 22:19:01 UTC (rev 27905)
@@ -1,11 +1,16 @@
 # $Id$
+
 PortSystem		1.0
+PortGroup		xcode 1.0
+
 name			agsocket
+set my_name		AGSocket
 version			0.3
 categories		devel framework
 platforms		darwin
-maintainers		nomaintainer at macports.org
+maintainers		nomaintainer
 description		yet another BSD sockets framework for use in Cocoa applications
+
 long_description	AGSocket is yet another BSD sockets framework for \
 					use in Cocoa applications. The primary class is \
 					AGSocket, this can be used for TCP sockets, UDP \
@@ -17,29 +22,23 @@
 					primarily designed for asynchronous I/O thanks to \
 					the underlying CFSocket API (though there's nothing \
 					stopping you from using it for normal synchronous \
-					I/O if you are so inclined). 
+					I/O if you are so inclined).
+
 homepage		http://agkit.sourceforge.net/
 master_sites	sourceforge:agkit
-set framework	AGSocket
-distname		${framework}-${version}
+distname		${my_name}-${version}
 extract.suffix	.tgz
-checksums		md5 6bc6840a84d8549774fb584db1ea8b2c
-worksrcdir		${framework}
 
-use_configure	no
+worksrcdir		${my_name}
 
-build.type		pbx
-build.target	-target ${framework}
-build.args		-buildstyle Deployment
-post-build {
-	system "install_name_tool \
-		-id /Library/Frameworks/${framework}.framework/${framework} \
-		${worksrcpath}/build/${framework}.framework/${framework}"
-}
+checksums		md5 6bc6840a84d8549774fb584db1ea8b2c \
+				sha1 bbec9d15492a322d6604b8e8ea2c5d0520f3b850 \
+				rmd160 204559b0c2f79e044d773d074e34bdc3204df15e
 
-destroot {
-	xinstall -d -m 0755 ${destroot}/Library/Frameworks
-	system "cp -R ${worksrcpath}/build/${framework}.framework \
-		${destroot}/Library/Frameworks"
-}
+xcode.target		${my_name}
+xcode.destroot.type	framework
 
+universal_variant no
+
+livecheck.regex	"<title>${my_name} ${my_name}-(\\d+(?:\\.\\d+)*) released.*</title>"
+

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


More information about the macports-changes mailing list