# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup perl5 1.0 perl5.branches 5.16 5.18 5.20 5.22 perl5.setup Net-Dict 2.19 ../../authors/id/N/NE/NEILB/ maintainers nomaintainer categories-append textproc license {Artistic-1 GPL} description Simple client API for the DICT protocol long_description Perl class implementing a simple client API for the \ DICT protocol defined in RFC2229 platforms darwin checksums rmd160 beb1892dd33e72c1d27e5f49f74845a2abb561aa \ sha256 49165fa7685303cbc2f95b55ed4dc59603c5070e6e3e353c474fd214abe57b6a if {${perl5.major} != ""} { depends_build-append \ port:p${perl5.major}-test-differences depends_lib-append \ port:p${perl5.major}-appconfig-std supported_archs noarch # This variant avoids a conflict with the dict port, if one wishes to # install p5-net-dict together with the dict port. The end user can # later add symbolic links in /usr/local or in his home directory to # choose which dict program (and man page) he wishes to use. For this # reason, the dict documentation is not modified to reflect this new # program name. # Even though there is no filename conflict for the man page, it is # better to rename it too for consistency when running "man dict". # Even "man 1 dict" would select the dict.1pm version. variant dict_altname description {Avoid a conflict with the dict port} { post-destroot { set d ${destroot}${prefix} set m ${d}/share/man/man1 file rename ${d}/bin/dict ${d}/bin/dict.perl file rename ${m}/dict.1pm ${m}/dict.perl.1pm } } }