# -*- 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: Portfile 154393 2016-10-28 22:10:07Z mojca@macports.org $ # This comment was inserted on 20160713 to force reindexing of # this port after the default homepage definition in the perl5 # PortGroup was changed to use metacpan.org (r150080). # Reindexing is necessary for the new definition to take effect. # This comment may be removed in subsequent updates of this port. PortSystem 1.0 PortGroup perl5 1.0 perl5.branches 5.24 perl5.setup Net-Dict 2.21 ../../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 52a7be276a23174151df97d3d8c672a2d1aac6ad \ sha256 4e071d1b82158b35f24e557af81f505a913c6dfe4d04fe5201236afe74be1f3b if {${perl5.major} != ""} { depends_build-append \ port:p${perl5.major}-test-differences \ port:p${perl5.major}-test-requiresinternet 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 } } }