New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82487


Ignore:
Timestamp:
08/14/11 08:15:07 (4 years ago)
Author:
vinc17@…
Message:

p5-net-dict: for the dict_altname variant, rename the dict man page
again (as it was done before r77510), for consistency with the program
name (and even "man 1 dict" would select the dict.1pm version).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/perl/p5-net-dict/Portfile

    r82023 r82487  
    55 
    66perl5.setup         Net-Dict 2.08 ../../authors/id/N/NE/NEILB/ 
     7revision            1 
    78maintainers         vinc17 openmaintainer 
    89categories-append   textproc 
     
    2122                    LIBRARY_PATH="${prefix}/lib" 
    2223 
    23 # This variant avoids a conflict with the dict port, if one wishes 
    24 # to install p5-net-dict together with the dict port. The user can 
    25 # later add symbolic links in /usr/local or in his home directory 
    26 # to choose which dict program if wishes to use. 
     24# This variant avoids a conflict with the dict port, if one wishes to 
     25# install p5-net-dict together with the dict port. The end user can 
     26# later add symbolic links in /usr/local or in his home directory to 
     27# choose which dict program (and man page) he wishes to use. For this 
     28# reason, the dict documentation is not modified to reflect this new 
     29# program name. 
     30# Even though there is no filename conflict for the man page, it is 
     31# better to rename it too for consistency when running "man dict". 
     32# Even "man 1 dict" would select the dict.1pm version. 
    2733variant dict_altname description {Avoid a conflict with the dict port} { 
    2834  post-destroot { 
    2935        set d ${destroot}${prefix} 
     36        set m ${d}/share/man/man1 
    3037        file rename ${d}/bin/dict ${d}/bin/dict.perl 
     38        file rename ${m}/dict.1pm ${m}/dict.perl.1pm 
    3139  } 
    3240} 
Note: See TracChangeset for help on using the changeset viewer.