Changeset 82487
- Timestamp:
- 08/14/11 08:15:07 (4 years ago)
- File:
-
- 1 edited
-
trunk/dports/perl/p5-net-dict/Portfile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/perl/p5-net-dict/Portfile
r82023 r82487 5 5 6 6 perl5.setup Net-Dict 2.08 ../../authors/id/N/NE/NEILB/ 7 revision 1 7 8 maintainers vinc17 openmaintainer 8 9 categories-append textproc … … 21 22 LIBRARY_PATH="${prefix}/lib" 22 23 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. 27 33 variant dict_altname description {Avoid a conflict with the dict port} { 28 34 post-destroot { 29 35 set d ${destroot}${prefix} 36 set m ${d}/share/man/man1 30 37 file rename ${d}/bin/dict ${d}/bin/dict.perl 38 file rename ${m}/dict.1pm ${m}/dict.perl.1pm 31 39 } 32 40 }
Note: See TracChangeset
for help on using the changeset viewer.

