[57567] users/toby/objcports/port.c

toby at macports.org toby at macports.org
Sun Sep 13 03:32:48 PDT 2009


Revision: 57567
          http://trac.macports.org/changeset/57567
Author:   toby at macports.org
Date:     2009-09-13 03:32:47 -0700 (Sun, 13 Sep 2009)
Log Message:
-----------
tweaks

Modified Paths:
--------------
    users/toby/objcports/port.c

Modified: users/toby/objcports/port.c
===================================================================
--- users/toby/objcports/port.c	2009-09-13 10:30:17 UTC (rev 57566)
+++ users/toby/objcports/port.c	2009-09-13 10:32:47 UTC (rev 57567)
@@ -1,5 +1,4 @@
 #include <CoreFoundation/CoreFoundation.h>
-#include <tcl.h>
 
 #include "MPConfig.h"
 #include "MPIndex.h"
@@ -59,9 +58,7 @@
 		fprintf_cf(stdout, CFSTR("PlatformVariants:     %@\n"), tmp2);
 		CFRelease(tmp1); CFRelease(tmp2);
 
-		tmp1 = mp_port_variable(port, CFSTR("description"));
-		fprintf_cf(stdout, CFSTR("Brief Description:    %@\n"), tmp1);
-		CFRelease(tmp1);
+		fprintf_cf(stdout, CFSTR("\n"));
 
 		tmp1 = mp_port_variable(port, CFSTR("long_description"));
 		fprintf_cf(stdout, CFSTR("Description:          %@\n"), tmp1);
@@ -71,6 +68,8 @@
 		fprintf_cf(stdout, CFSTR("Homepage:             %@\n"), tmp1);
 		CFRelease(tmp1);
 		
+		fprintf_cf(stdout, CFSTR("\n"));
+
 		tmp1 = mp_port_variable(port, CFSTR("depends_build"));
 		fprintf_cf(stdout, CFSTR("Build Dependencies:   %@\n"), tmp1);
 		CFRelease(tmp1);
@@ -83,6 +82,10 @@
 		fprintf_cf(stdout, CFSTR("Platforms:            %@\n"), tmp1);
 		CFRelease(tmp1);
 
+		tmp1 = mp_port_variable(port, CFSTR("license"));
+		fprintf_cf(stdout, CFSTR("License:              %@\n"), tmp1);
+		CFRelease(tmp1);
+
 		tmp1 = mp_port_variable(port, CFSTR("maintainers"));
 		fprintf_cf(stdout, CFSTR("Maintainers:          %@\n"), tmp1);
 		CFRelease(tmp1);
@@ -111,6 +114,5 @@
 		}
 	}
 
-	pause();
-	return 0;
+	dispatch_main();
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090913/ffe44422/attachment.html>


More information about the macports-changes mailing list