[MacPorts] #36898: apbs: fix documentation installation directory

MacPorts noreply at macports.org
Mon Nov 5 10:13:41 PST 2012


#36898: apbs: fix documentation installation directory
--------------------------+-----------------------
 Reporter:  ryandesign@…  |      Owner:  howarth@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.1.2
 Keywords:                |       Port:  apbs
--------------------------+-----------------------
 It was [http://lists.macosforge.org/pipermail/macports-
 dev/2012-November/020958.html reported on the list] that apbs 1.3.0
 installs its documentation directly into ${prefix}/share/doc:

 There are two problems:

  1. the documentation should go into ${prefix}/share/doc/${name} not
 directly in ${prefix}/share/doc
  2. the documentation installation bypasses the destroot, thus these files
 won't get uninstalled when the port is uninstalled

 So two fixes are needed:

  1. the documentation directory needs to be changed
  2. there needs to be a pre- or post-activate block to clean up the mess
 left by previous versions of the port (see the lisaem port for an example
 of how this can be done)

 When these changes are made, the port's revision needs to be increased, or
 you could combine this with [ticket:36897 updating the apbs port to a
 newer version].

-- 
Ticket URL: <https://trac.macports.org/ticket/36898>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list