Ignore:
Timestamp:
Sep 23, 2014, 2:39:43 PM (5 years ago)
Author:
ryandesign@…
Message:

pure-1.0.tcl: use bitbucket portgroup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/pure-1.0.tcl

    r111394 r125644  
    22# $Id$
    33#
    4 # Copyright (c) 2009-2013 The MacPorts Project
     4# Copyright (c) 2009-2014 The MacPorts Project
    55# All rights reserved.
    66#
     
    3737#
    3838#   PortGroup               pure 1.0
    39 #   pure.setup              module version
     39#   pure.setup              module module_version
    4040#
    41 # where module is the name of the module (e.g. gsl) and version is its
     41# where module is the name of the module (e.g. gsl) and module_version is its
    4242# version.
    4343
    4444
    45 proc pure.setup {module version} {
     45PortGroup                       bitbucket 1.0
     46
     47proc pure.setup {module module_version} {
    4648    global name homepage
    4749
     50    bitbucket.setup             purelang pure-lang ${module_version}
    4851    name                        pure-${module}
    49     version                     ${version}
    5052    homepage                    https://bitbucket.org/purelang/pure-lang/wiki/Addons#markdown-header-${name}
    51     master_sites                http://cdn.bitbucket.org/purelang/pure-lang/downloads/
     53    bitbucket.tarball_from      downloads
     54    default distname            ${name}-${module_version}
    5255
    53     depends_lib                 path:lib/libpure.dylib:pure
     56    depends_lib-append          port:pure
    5457
    5558    use_configure               no
     
    7780        }
    7881    }
    79 
    80     livecheck.type              regex
    81     default livecheck.url       {https://bitbucket.org/purelang/pure-lang/downloads}
    82     default livecheck.regex     {${name}-(\[0-9.\]+)\\.tar}
    8382}
Note: See TracChangeset for help on using the changeset viewer.