Opened 9 years ago

Closed 8 years ago

#47633 closed enhancement (fixed)

p7zip: documentation directory name should not have version number in it

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: stuartwesterman (Stuart Westerman)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: kurthindenburg (Kurt Hindenburg)
Port: p7zip

Description

p7zip installs into a versioned documentation directory. This was done briefly in some MacPorts ports many years ago, but is no longer recommended. The documentation directory name should just be ${prefix}/share/doc/${subport}/.

Change History (4)

comment:1 Changed 9 years ago by stuartwesterman (Stuart Westerman)

Okay, if I'm to understand this correctly:

I'll be changing this line in the Portfile:

DEST_SHARE_DOC=${prefix}/share/doc/${name}-${version} \

To:

DEST_SHARE_DOC=${prefix}/share/doc/${subport} \

I might also consider updating the port to the 15.05 beta version. Any problems with this?

Last edited 9 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 in reply to:  1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to stuartwesterman@…:

Okay, if I'm to understand this correctly:

I'll be changing this line in the Portfile:

DEST_SHARE_DOC=${prefix}/share/doc/${name}-${version} \

To:

DEST_SHARE_DOC=${prefix}/share/doc/${subport} \

That sounds right. Since that changes the files installed by the port, the revision or version would have to be increased in the same commit as well.

I might also consider updating the port to the 15.05 beta version. Any problems with this?

According to http://sourceforge.net/projects/p7zip/files/p7zip/, 9.38.1 is the latest version available, which is what we have in MacPorts. Usually, we want to use stable versions, not beta or development versions, unless there's some serious reason why the latest stable version is unsuitable.

comment:3 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:4 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: fixed
Status: newclosed

done r143900

Note: See TracTickets for help on using tickets.