[31797] trunk/dports/devel/bazaar-ng/Portfile

ram at macports.org ram at macports.org
Fri Dec 7 11:43:09 PST 2007


Revision: 31797
          http://trac.macosforge.org/projects/macports/changeset/31797
Author:   ram at macports.org
Date:     2007-12-07 11:42:48 -0800 (Fri, 07 Dec 2007)

Log Message:
-----------
devel/bazaar-ng: depend on port:bzr, don't uninstall port:bazaar-ng and
install port:bzr during install{} to avoid a deadlock in activate{},
display a message saying that bazaar-ng needs to be uninstalled manually

Modified Paths:
--------------
    trunk/dports/devel/bazaar-ng/Portfile

Modified: trunk/dports/devel/bazaar-ng/Portfile
===================================================================
--- trunk/dports/devel/bazaar-ng/Portfile	2007-12-07 19:12:43 UTC (rev 31796)
+++ trunk/dports/devel/bazaar-ng/Portfile	2007-12-07 19:42:48 UTC (rev 31797)
@@ -14,24 +14,14 @@
 
 homepage      http://bazaar-vcs.org/
 
-fetch {
+depends_lib   port:bzr
+
+pre-fetch {
   ui_msg ""
   ui_msg "Port bazaar-ng has been superseeded by port bzr"
-  ui_msg "bzr will be installed after removing bazaar-ng"
+  ui_msg "please uninstall bazaar-ng"
   ui_msg ""
+  return -code error "bazaar-ng port is obsolete"
 }
-checksum {}
-configure {}
-build {}
-destroot {}
-archive {}
-install {
-  ui_msg "Removing bazaar-ng"
-  system "port -f uninstall bazaar-ng"
-  ui_msg "Installing bzr"
-  system "port install bzr"
-  ui_msg "Port bzr has been installed"
-}
-activate {}
 
 universal_variant no

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071207/74b86f14/attachment.html


More information about the macports-changes mailing list