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

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

Added openmaintainer.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 67323 2010-05-05 15:51:10Z vinc17@macports.org $
2
3PortSystem 1.0
4PortGroup perl5 1.0
5
6perl5.setup         Net-Dict 2.07
7maintainers         vinc17 openmaintainer
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 \
14                    rmd160 417d440c7278e6ebb5a778e5483dc409846aaa70
15platforms           darwin
16depends_lib-append  port:p5-appconfig-std
17
18if {[info exists supported_archs]} {
19    supported_archs noarch
20} else {
21    universal_variant no
22}
23
24configure.env       C_INCLUDE_PATH="${prefix}/include" \
25                    LIBRARY_PATH="${prefix}/lib"
26
27# This variant avoids a conflict with the dict port, if one wishes
28# to install p5-net-dict together with the dict port. The user can
29# later add symbolic links in /usr/local or in his home directory
30# to choose which dict program if wishes to use.
31variant dict_altname description {Avoid a conflict with the dict port} {
32  post-destroot {
33        set d ${destroot}${prefix}
34        file rename ${d}/bin/dict ${d}/bin/dict.perl
35        file rename ${d}/share/man/man1/dict.1 ${d}/share/man/man1/dict.perl.1
36  }
37}
Note: See TracBrowser for help on using the repository browser.