Opened 12 years ago

Closed 8 years ago

#36898 closed defect (fixed)

apbs: fix documentation installation directory

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: howarth.at.macports@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: kurthindenburg (Kurt Hindenburg)
Port: apbs

Description

It was 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 updating the apbs port to a newer version.

Change History (4)

comment:1 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:2 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)

Currently 1.4.0 installs this

  /opt/local/share/apbs/doc/CMakeLists.txt
  /opt/local/share/apbs/doc/README
  /opt/local/share/apbs/doc/index.html
  /opt/local/share/apbs/doc/license/LICENSE.txt
  /opt/local/share/apbs/doc/license/license.html
  /opt/local/share/apbs/doc/programmer/Doxyfile.in
  /opt/local/share/apbs/doc/programmer/mainpage.h

comment:3 Changed 10 years ago by petrrr

Owner: changed from howarth@… to howarth.at.macports@…

comment:4 Changed 8 years ago by dstrubbe (David Strubbe)

Resolution: fixed
Status: newclosed

Looks like this is not an issue since 1.4.0.

Note: See TracTickets for help on using tickets.