How remove port info but not installed files?

Murray Eisenberg murrayeisenberg at gmail.com
Wed Apr 18 09:01:12 PDT 2012


Short version: how do I go about deleting downloaded installation files 
from a port and remove it from the list of installed ports -- _without_ 
actually uninstalling the deployed binaries, etc.?

Long version:

1. Without using MacPorts, I directly installed TeXLive 2011 (as part of 
MacTeX).

I didn't realize that that distribution included the source files and 
build/install instructions for the asymptote application. So ...

2. I used MacPorts to install asymptote.

That automatically did a MacPorts install of texlive 2011 (which, via 
#1, was already installed), on which it depended.

Now I have apparently have a great deal of duplication from texlive in 
general, and asymptote in particular, between directories

   /opt/local/var/macports/distfiles/texlive-*
   /opt/local/var/macports/software/texlive
   /opt/local/var/macports/software/texlive-*

on the one hand, and the normal texlive location tree starting at:

   /usr/local/texlive/2011

Also, _I think_, duplications between

   /opt/local/bin

from MacPorts and:

   /usr/local/texlive/2011/bin

What's the simplest way to get rid of the macports files from texlive 
and aysmpotote _WITHOUT_ disturbing the original files from the direct 
TeXLive 2011 installation?

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


More information about the macports-users mailing list