How to find replaced ports?

Anders F Björklund afb at macports.org
Sun Jul 31 07:55:26 PDT 2011


Marko Käning wrote:

> I know that I can find ports with launchpad homepage like this:
> 
> 	$ port list 'homepage:.*https://launchpad.*'
> 
> but when I do this to find ports being actually replaced by some other port:
> 
> 	$ port list 'replaced_by:.*'
> 
> it does not work. :-(
> 
> What I am doing wrong here?

Nothing much, just that "replaced_by" is missing from selectors...

Index: src/port/port.tcl
===================================================================
--- src/port/port.tcl	(revision 81464)
+++ src/port/port.tcl	(working copy)
@@ -1282,6 +1282,7 @@
         ^depends_run:       -
         ^depends_extract:   -
         ^depends_fetch:     -
+        ^replaced_by:       -
         ^revision:          -
         ^license:           { # Handle special port selectors
             advance


--anders




More information about the macports-dev mailing list