1 | # $Id: Portfile 13083 2006-07-14 11:12:09Z lefevre $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup perl5 1.0 |
---|
5 | |
---|
6 | perl5.setup Net-Dict 2.07 |
---|
7 | maintainers vincent-opdarw@vinc17.org |
---|
8 | categories-append textproc |
---|
9 | description Simple client API for the DICT protocol |
---|
10 | long_description Perl class implementing a simple client API for the \ |
---|
11 | DICT protocol defined in RFC2229 |
---|
12 | checksums md5 fb57f694455549861c3c602521162956 \ |
---|
13 | sha1 e96735711be9704b83f165470813bd23f1be7ca5 |
---|
14 | platforms darwin |
---|
15 | |
---|
16 | depends_lib-append port:p5-appconfig-std port:p5-digest-md5 |
---|
17 | configure.env C_INCLUDE_PATH="${prefix}/include" \ |
---|
18 | LIBRARY_PATH="${prefix}/lib" |
---|
19 | |
---|
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. |
---|
24 | variant dict_altname { |
---|
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 | } |
---|
30 | } |
---|