source: trunk/dports/perl/p5-net-dict/Portfile @ 32146

Last change on this file since 32146 was 32146, checked in by vinc17@…, 10 years ago

Fixed errors and warnings from "port lint".

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
1# $Id: Portfile 32146 2007-12-18 01:23:47Z $
3PortSystem 1.0
4PortGroup perl5 1.0
6perl5.setup         Net-Dict 2.07
8categories-append   textproc
9description         Simple client API for the DICT protocol
10long_description    Perl class implementing a simple client API for the \
11                    DICT protocol defined in RFC2229
12checksums           md5 fb57f694455549861c3c602521162956 \
13                    sha1 e96735711be9704b83f165470813bd23f1be7ca5
14platforms           darwin
15depends_lib-append  port:p5-appconfig-std port:p5-digest-md5
17configure.env       C_INCLUDE_PATH="${prefix}/include" \
18                    LIBRARY_PATH="${prefix}/lib"
20# This variant avoids a conflict with the dict port, if one wishes
21# to install p5-net-dict together with the dict port. The user can
22# later add symbolic links in /usr/local or in his home directory
23# to choose which dict program if wishes to use.
24variant dict_altname description {Avoid a conflict with the dict port} {
25  post-destroot {
26        cd ${destroot}${prefix}
27        file rename bin/dict bin/dict.perl
28        file rename share/man/man1/dict.1 share/man/man1/dict.perl.1
29  }
Note: See TracBrowser for help on using the repository browser.