[27821] trunk/dports/aqua/a52decX/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Tue Aug 14 12:21:23 PDT 2007


Revision: 27821
          http://trac.macosforge.org/projects/macports/changeset/27821
Author:   nox at macports.org
Date:     2007-08-14 12:21:23 -0700 (Tue, 14 Aug 2007)

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

Modified Paths:
--------------
    trunk/dports/aqua/a52decX/Portfile

Modified: trunk/dports/aqua/a52decX/Portfile
===================================================================
--- trunk/dports/aqua/a52decX/Portfile	2007-08-14 18:41:32 UTC (rev 27820)
+++ trunk/dports/aqua/a52decX/Portfile	2007-08-14 19:21:23 UTC (rev 27821)
@@ -1,33 +1,38 @@
 # $Id$
 
-PortSystem 1.0
+PortSystem		1.0
+PortGroup		xcode 1.0
 
 name			a52decX
 version			0.25
 categories		aqua multimedia
-platforms		darwin
-maintainers		nomaintainer at macports.org
+maintainers		nomaintainer
 homepage		http://homepage1.nifty.com/~toku/software_en.html#a52decX
 description		Converts AC-3 file to an AIFF file
 
 long_description	a52decX converts an AC-3 file being used for the sound of \
 			DVD-Video into an AIFF file.
-			
-			
+
 master_sites		http://homepage1.nifty.com/~toku/software/
-checksums		md5 7760780873de9b9c4d13e7d396f31b54
 
-use_configure		no
+checksums			md5 7760780873de9b9c4d13e7d396f31b54 \
+					sha1 329aa192645ddf81214c191a35c680cce7a61dc3 \
+					rmd160 3e8f1b8a958b444aa0f9a8d298ddf0091c926bdc
 
-pre-build {		system "cd ${worksrcpath}/a52dec/ ; make \
-				&& cd ${worksrcpath}/lame/ ; make"
-			}
+post-patch {
+	reinplace -E "/#define uint/d" ${worksrcpath}/lame/config.h
+}
 
-build.type		pbx
-build.target
+pre-build {
+	foreach {subdir} {a52dec lame} {
+		cd ${worksrcpath}/${subdir}
+		system "make"
+	}
+}
 
-destroot {		xinstall -d -m 755 ${destroot}/Applications/MacPorts
-			file copy ${worksrcpath}/build/${name}.app \
-				${destroot}/Applications/MacPorts/${name}.app
-			}
+universal_variant no
 
+livecheck.check	regex
+livecheck.url	[strsed ${homepage} {/#.*//}]
+livecheck.regex "${name} (\\d+(?:\\.\\d+)*)"
+

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


More information about the macports-changes mailing list