source: trunk/dports/net/shelldap/Portfile

Last change on this file was 151858, checked in by mojca@…, 15 months ago

shelldap: switch to perl5.24 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.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 151858 2016-08-23 12:28:52Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7name                shelldap
8version             1.3.1
9revision            1
10
11categories          net sysutils
12license             BSD
13maintainers         nomaintainer
14description         a handy shell-like interface for browsing and editing LDAP entries
15long_description    Shelldap is a handy shell-like interface for browsing \
16                    LDAP servers and editing their content. Among its features: history, sane \
17                    autocompletes, credential caching, site-wide and individual config, \
18                    it's in perl, it's fun to say!  shelldap! shelldap! shelldap!
19
20platforms           darwin
21supported_archs     noarch
22master_sites        http://code.martini.nu/shelldap/archive/
23homepage            http://projects.martini.nu/shelldap/
24
25# some ugly hack to fetch tarballs from mercurial
26use_bzip2           yes
27distname            v${version}
28worksrcdir          ${name}-v${version}
29
30checksums           rmd160  d6bd91dd4ccdbd4f98d77dd80f0e2a479cd85113 \
31                    sha256  a637a3a941338b5dd6cf184e5a3d640b880ebbea7a9c90edb252f893601aea0d
32
33perl5.branches      5.24
34depends_build       port:perl${perl5.major}
35depends_run         port:perl${perl5.major} \
36                    port:p${perl5.major}-algorithm-diff \
37                    port:p${perl5.major}-digest-md5 \
38                    port:p${perl5.major}-perl-ldap \
39                    port:p${perl5.major}-term-readkey \
40                    port:p${perl5.major}-term-readline-gnu \
41                    port:p${perl5.major}-term-shell \
42                    port:p${perl5.major}-yaml-syck
43
44post-patch {
45    reinplace "s|#!.*perl|#!${perl5.bin}|" ${worksrcpath}/shelldap
46}
47
48use_configure       no
49
50build {
51    system "pod2man-${perl5.major} ${worksrcpath}/shelldap ${worksrcpath}/shelldap.1"
52}
53
54destroot {
55    xinstall -m 755 ${worksrcpath}/shelldap ${destroot}${prefix}/bin/
56    xinstall -m 0755 -d ${destroot}${prefix}/share/man/man1
57    xinstall -m 0644 ${worksrcpath}/shelldap.1 ${destroot}${prefix}/share/man/man1
58}
59
60livecheck.url       http://code.martini.nu/shelldap/tags
61livecheck.regex     {<b>v([\d.]+)</b>}
Note: See TracBrowser for help on using the repository browser.