Revision: 144286 https://trac.macports.org/changeset/144286 Author: mojca@macports.org Date: 2016-01-05 15:56:08 -0800 (Tue, 05 Jan 2016) Log Message: ----------- shelldap: upgrade to 1.3.1, switch to perl5.22 (#48365) Modified Paths: -------------- trunk/dports/net/shelldap/Portfile Modified: trunk/dports/net/shelldap/Portfile =================================================================== --- trunk/dports/net/shelldap/Portfile 2016-01-05 23:39:34 UTC (rev 144285) +++ trunk/dports/net/shelldap/Portfile 2016-01-05 23:56:08 UTC (rev 144286) @@ -2,10 +2,10 @@ # $Id$ PortSystem 1.0 +PortGroup perl5 1.0 name shelldap -version 0.5 -revision 1 +version 1.3.1 categories net sysutils license BSD @@ -18,28 +18,36 @@ platforms darwin supported_archs noarch -master_sites http://www.martini.nu/misc/ +master_sites http://code.martini.nu/shelldap/archive/ homepage http://projects.martini.nu/shelldap/ -checksums md5 6400c5bba80fb154d06c57385c6e748f \ - sha1 f06fabca2e3b7c41360cd9c2bbddbc45f8836ca4 \ - rmd160 2aae3bfc0f8d00dec4cdd9ad9634606b49a185c2 -depends_lib-append port:p5.16-perl-ldap \ - port:p5.16-term-shell \ - port:p5.16-yaml-syck \ - port:p5.16-algorithm-diff \ - port:p5.16-digest-hmac \ - port:p5.16-term-readline-gnu \ - port:p5.16-term-readkey +# some ugly hack to fetch tarballs from mercurial +use_bzip2 yes +distname v${version} +worksrcdir ${name}-v${version} -patch { - reinplace "s|#!.*perl|#!${prefix}/bin/perl5.16|" ${worksrcpath}/shelldap +checksums rmd160 d6bd91dd4ccdbd4f98d77dd80f0e2a479cd85113 \ + sha256 a637a3a941338b5dd6cf184e5a3d640b880ebbea7a9c90edb252f893601aea0d + +perl5.branches 5.22 +depends_build port:perl${perl5.major} +depends_run port:perl${perl5.major} \ + port:p${perl5.major}-algorithm-diff \ + port:p${perl5.major}-digest-md5 \ + port:p${perl5.major}-perl-ldap \ + port:p${perl5.major}-term-readkey \ + port:p${perl5.major}-term-readline-gnu \ + port:p${perl5.major}-term-shell \ + port:p${perl5.major}-yaml-syck + +post-patch { + reinplace "s|#!.*perl|#!${perl5.bin}|" ${worksrcpath}/shelldap } use_configure no build { - system "pod2man-5.16 ${worksrcpath}/shelldap ${worksrcpath}/shelldap.1" + system "pod2man-${perl5.major} ${worksrcpath}/shelldap ${worksrcpath}/shelldap.1" } destroot { @@ -47,3 +55,6 @@ xinstall -m 0755 -d ${destroot}${prefix}/share/man/man1 xinstall -m 0644 ${worksrcpath}/shelldap.1 ${destroot}${prefix}/share/man/man1 } + +livecheck.url http://code.martini.nu/shelldap/tags +livecheck.regex {<b>v([\d.]+)</b>}
participants (1)
-
mojca@macports.org