source: trunk/dports/perl/p5-http-negotiate/Portfile @ 122209

Last change on this file since 122209 was 122209, checked in by mf2k@…, 6 years ago

p5-algorithm-dependency p5-anyevent p5-app-rad p5-auth-yubikey_webclient p5-business-isbn p5-business-isbn-data p5-capture-tiny p5-common-sense p5-config-json p5-data-dumper p5-date-calc p5-datetime-format-mail p5-datetime-format-w3cdtf p5-dbd-mock p5-digest-nilsimsa p5-fey p5-fey-dbimanager p5-fey-loader p5-fey-orm p5-fey-test p5-flickr-api p5-flickr-upload p5-gssapi p5-hash-fieldhash p5-html-encoding p5-http-cookies p5-http-daemon p5-http-date p5-http-lite p5-http-message p5-http-negotiate p5-io-socket-ssl p5-iterator p5-iterator-util p5-list-allutils p5-locale-gettext p5-lwp-protocol-http10 p5-mac-applescript p5-mail-sender p5-mailtools p5-math-bezier p5-math-round p5-mojolicious p5-moosex-classattribute p5-moosex-role-parameterized p5-moosex-role-strict p5-moosex-singleton p5-moosex-strictconstructor p5-net-http p5-net-ident p5-object-id p5-patchreader p5-php-serialization p5-ppix-utilities p5-regexp-common p5-smart-comments p5-snmp_session p5-soap-lite p5-string-shellquote p5-test-inter p5-test-output p5-test-sharedfork p5-test-taint p5-test-tcp p5-text-tabsxwrap p5-time-duration p5-time-progress p5-timedate p5-uri p5-www-wolframalpha p5-xml-libxml p5-xml-parser-easytree p5-zeromq: Port abandoned. (#44276)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 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 122209 2014-07-17 20:07:46Z mf2k@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7perl5.branches      5.8 5.10 5.12 5.14 5.16 5.18
8perl5.setup         HTTP-Negotiate 6.01
9platforms           darwin
10maintainers         nomaintainer
11license             {Artistic GPL}
12supported_archs     noarch
13
14description         HTTP content negotiation
15
16long_description    ${description}
17
18checksums           rmd160  bfc839ac4ff7ef24b7154f2702cdb107c882e8c6 \
19                    sha256  1c729c1ea63100e878405cda7d66f9adfd3ed4f1d6cacaca0ee9152df728e016
20
21if {${perl5.major} != ""} {
22depends_lib-append  port:p${perl5.major}-http-message
23}
24# This hack is needed because of the libwww-perl 6.0 breakup (Trac #28865)
25pre-activate {
26    if {[file exists ${perl5.lib}/HTTP/Negotiate.pm]
27      && ![catch {set vers [lindex [registry_active p5-libwww-perl] 0]}]
28      && [vercmp [lindex $vers 1] 6.0] < 0} {
29        ui_warn "Deactivating old, pre-6.x libwww-perl to activate ${name}"
30        registry_deactivate_composite p5-libwww-perl "" [list ports_nodepcheck 1]
31    }
32}
Note: See TracBrowser for help on using the repository browser.