[27872] trunk/dports/aqua/a52decX

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


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

Log Message:
-----------
a52decX: Now uses a52dec and lame ports instead of using internal preconfigured tools.

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

Added Paths:
-----------
    trunk/dports/aqua/a52decX/files/
    trunk/dports/aqua/a52decX/files/patch-a52decX.pbproj-project.pbxproj

Modified: trunk/dports/aqua/a52decX/Portfile
===================================================================
--- trunk/dports/aqua/a52decX/Portfile	2007-08-15 15:33:52 UTC (rev 27871)
+++ trunk/dports/aqua/a52decX/Portfile	2007-08-15 15:47:18 UTC (rev 27872)
@@ -19,14 +19,15 @@
 					sha1 329aa192645ddf81214c191a35c680cce7a61dc3 \
 					rmd160 3e8f1b8a958b444aa0f9a8d298ddf0091c926bdc
 
-post-patch {
-	reinplace -E "/#define uint/d" ${worksrcpath}/lame/config.h
-}
+depends_run			port:a52dec \
+					port:lame
 
-pre-build {
-	foreach {subdir} {a52dec lame} {
-		cd ${worksrcpath}/${subdir}
-		system "make"
+patchfiles			patch-a52decX.pbproj-project.pbxproj
+
+post-destroot {
+	cd ${destroot}/Applications/MacPorts/${name}.app/Contents/Resources
+	foreach {exe} {a52dec lame} {
+		ln -s ${prefix}/bin/${exe}
 	}
 }
 

Added: trunk/dports/aqua/a52decX/files/patch-a52decX.pbproj-project.pbxproj
===================================================================
--- trunk/dports/aqua/a52decX/files/patch-a52decX.pbproj-project.pbxproj	                        (rev 0)
+++ trunk/dports/aqua/a52decX/files/patch-a52decX.pbproj-project.pbxproj	2007-08-15 15:47:18 UTC (rev 27872)
@@ -0,0 +1,48 @@
+--- a52decX.pbproj/project.pbxproj.orig	2007-08-15 15:32:22.000000000 +0200
++++ a52decX.pbproj/project.pbxproj	2007-08-15 15:33:26.000000000 +0200
+@@ -106,8 +106,6 @@
+ 		19C28FACFE9D520D11CA2CBB = {
+ 			children = (
+ 				17587328FF379C6511CA2CBB,
+-				F5860BC601FE85B601B02628,
+-				F507382A024227A5018F4474,
+ 			);
+ 			isa = PBXGroup;
+ 			name = Products;
+@@ -434,36 +432,12 @@
+ //F52
+ //F53
+ //F54
+-		F507382A024227A5018F4474 = {
+-			isa = PBXExecutableFileReference;
+-			name = lame;
+-			path = lame/frontend/lame;
+-			refType = 4;
+-		};
+-		F507382B024227A5018F4474 = {
+-			fileRef = F507382A024227A5018F4474;
+-			isa = PBXBuildFile;
+-			settings = {
+-			};
+-		};
+ 		F537CF5B0262C39B01B02628 = {
+ 			fileRef = F5A870F901FD2DBC01B02628;
+ 			isa = PBXBuildFile;
+ 			settings = {
+ 			};
+ 		};
+-		F5860BC601FE85B601B02628 = {
+-			isa = PBXExecutableFileReference;
+-			name = a52dec;
+-			path = a52dec/src/a52dec;
+-			refType = 4;
+-		};
+-		F5860BC701FE85B601B02628 = {
+-			fileRef = F5860BC601FE85B601B02628;
+-			isa = PBXBuildFile;
+-			settings = {
+-			};
+-		};
+ 		F5860BC801FE85B601B02628 = {
+ 			fileRef = 29B97318FDCFA39411CA2CEA;
+ 			isa = PBXBuildFile;

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


More information about the macports-changes mailing list