source: trunk/dports/perl/p5-perlbal/Portfile

Last change on this file was 154393, checked in by mojca@…, 9 months ago

p5-*: remove subports for perl5.22 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# -*- 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
2# $Id: Portfile 154393 2016-10-28 22:10:07Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7perl5.branches      5.24
8perl5.setup         Perlbal 1.80 ../../authors/id/D/DO/DORMANDO
9categories-append   net
10license             {Artistic-1 GPL}
11platforms           darwin
12maintainers         nomaintainer
13supported_archs     noarch
14
15description         Perl-based reverse proxy load balancer and web server
16long_description    ${description}
17
18homepage            http://www.danga.com/perlbal
19
20checksums           md5 a5bbc1d6af947ccd8bb77dc9c98f3087 \
21                    sha1 fa494ec29fd3507a481842e023c6c75085a5faa7
22
23if {${perl5.major} != ""} {
24    depends_run-append  port:p${perl5.major}-bsd-resource \
25                        port:p${perl5.major}-danga-socket \
26                        port:p${perl5.major}-libwww-perl \
27                        port:p${perl5.major}-net-netmask
28
29    post-destroot {
30        #   set sharedir ${destroot}${prefix}/share/[string tolower ${name}]-${perl5.moduleversion}
31            set sharedir ${destroot}${prefix}/share/perlbal-${perl5.moduleversion}
32            xinstall -d ${sharedir}
33            file copy ${worksrcpath}/doc ${worksrcpath}/conf ${sharedir}
34    }
35}
Note: See TracBrowser for help on using the repository browser.