id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,port 1324,Port uninstall doesn't work with hyphens in the version,pguyot,macports-tickets@…,"Port uninstall doesn't work with hyphens in the port version string. Case to reproduce the bug: Install fortune (current version is 4.6.2-release). Uninstall fortune. Try to install again. Installation will fail. The file /opt/local/var/db/darwinports/receipts/fortune-4.6.2-RELEASE.bz2 is not removed by uninstall. The bug is actually situated in the poor use of lindex and split that takes only the first bits after the hyphen. I suggest to replace this with a regular expression, although it surely won't work with ports with hyphens in their names (I leave that to DP2, since hyphens in port names will probably break everywhere).",defect,closed,Normal,,base,1.0,fixed,,,