--- article.sgml.orig Thu Apr 20 09:49:55 2006
+++ article.sgml Thu May 4 15:22:53 2006
@@ -2423,6 +2423,74 @@
+ Removing an Existing Port
+
+
+
+ How do I remove an existing port?
+
+
+
+ First, please read the section about repository
+ copies. Before you remove the port, you have to verify
+ there is no other port depend on it.
+
+
+ Make sure there is no dependency on the port
+ in the ports collection:
+
+
+ The port's name should appear in only line in
+ a recent INDEX file.
+
+
+ No other ports should contain any reference to
+ the port's directory or PKGNAME in their
+ Makefiles
+
+
+
+
+ Then, remove the port:
+
+
+
+ Remove the port via cvs remove.
+
+
+
+ Remove SUBDIR listing of the port
+ in the parent directory Makefile.
+
+
+
+ Remove the module entry in
+ CVSROOT/modules.
+
+
+
+ Add an entry to
+ ports/MOVED.
+
+
+
+
+ However, there is a rmport script
+ to do these steps. It will remove a port from the
+ ports collection you specify. It will perform dependency
+ checks include ports/LEGAL. It will
+ also remove the port's entry in the
+ CVSROOT/modules file and the port's
+ category Makefile. Finally it will
+ add an entry to the ports/MOVED. It
+ was written by &a.vd;, who is also the current maintainer
+ so please send questions/patches about
+ rmport to him.
+
+
+
+
+
Repository Copies
@@ -2495,9 +2563,9 @@
Add the new subdirectory to the
SUBDIR listing in the parent
- directory Makefile. You can run make
- checksubdirs in the parent directory to check
- this.
+ directory Makefile. You can run
+ make checksubdirs in the parent
+ directory to check this.