Ignore:
Timestamp:
Sep 30, 2014, 11:36:38 AM (5 years ago)
Author:
jmr@…
Message:

sitemap_gen: use unified python portgroup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/www/sitemap_gen/Portfile

    r87969 r125959  
    22
    33PortSystem          1.0
    4 PortGroup           python26 1.0
     4PortGroup           python 1.0
     5
    56name                sitemap_gen
    67version             1.5
     
    89categories          www python
    910platforms           darwin
     11supported_archs     noarch
    1012maintainers         google.com:mstokely
    1113description         sitecopy website maintenance utility
     
    2426
    2527extract.mkdir       yes
     28
     29python.default_version  26
     30
    2631patchfiles          patch-sitemap_gen_py.diff
    2732post-destroot {
     
    3641
    3742    xinstall -m 0755 ${worksrcpath}/${name}.py ${destroot}${prefix}/bin/${name}
    38     reinplace "s|#!/usr/bin/env python|#!${prefix}/bin/python2.6|" \
     43    reinplace "s|#!/usr/bin/env python|#!${prefix}/bin/python${python.branch}|" \
    3944        ${destroot}${prefix}/bin/sitemap_gen
    4045}
Note: See TracChangeset for help on using the changeset viewer.