[27903] trunk/dports/devel/agregex/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Wed Aug 15 14:49:18 PDT 2007


Revision: 27903
          http://trac.macosforge.org/projects/macports/changeset/27903
Author:   nox at macports.org
Date:     2007-08-15 14:49:18 -0700 (Wed, 15 Aug 2007)

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

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

Modified: trunk/dports/devel/agregex/Portfile
===================================================================
--- trunk/dports/devel/agregex/Portfile	2007-08-15 21:22:24 UTC (rev 27902)
+++ trunk/dports/devel/agregex/Portfile	2007-08-15 21:49:18 UTC (rev 27903)
@@ -1,39 +1,36 @@
 # $Id$
+
 PortSystem		1.0
+PortGroup		xcode 1.0
+
 name			agregex
+set my_name		AGRegex
 version			0.4
 categories		devel framework
-platforms		darwin
-maintainers		nomaintainer at macports.org
+maintainers		nomaintainer
 description		a Perl-compatible regex framework for using the PCRE library
+
 long_description	AGRegex provides Perl-compatible pattern matching to \
 					Cocoa applications.  Regular expression support is \
 					provided by the PCRE library package, which is open \
 					source software, written by Philip Hazel, and \
 					copyright by the University of Cambridge, England.
-homepage		http://sourceforge.net/projects/agkit/
+
+homepage		http://agkit.sourceforge.net/
 master_sites	sourceforge:agkit
-set framework	AGRegex
-distname		${framework}-${version}
+distname		${my_name}-${version}
 extract.suffix	.tgz
-checksums		md5 b6bcc0b77c9c72bf3af876147b7ac034
-worksrcdir		${framework}
 
-use_configure	no
+worksrcdir		${my_name}
 
-build.type		pbx
-build.target	${framework}
-build.pre_args	-target ${build.target}
-build.args		-configuration Deployment
-post-build {
-	system "install_name_tool \
-		-id /Library/Frameworks/${framework}.framework/${framework} \
-		${worksrcpath}/build/Deployment/${framework}.framework/${framework}"
-}
+checksums		md5 b6bcc0b77c9c72bf3af876147b7ac034 \
+				sha1 2998cc28111105ee99f3028acbc3c734f82c54e4 \
+				rmd160 00ec02d198d42f7df93a60e5ad1b6f5b1e565f4b
 
-destroot {
-	xinstall -d -m 0755 ${destroot}/Library/Frameworks
-	system "cp -R ${worksrcpath}/build/Deployment/${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/36326c6c/attachment.html


More information about the macports-changes mailing list