Ignore:
Timestamp:
Feb 14, 2012, 10:45:44 PM (7 years ago)
Author:
and.damore@…
Message:

port mongrel2: version upgrade, removed patchfiles merged upstream, setting homepage to current URI -old one gives 404

File:
1 edited

Legend:

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

    r78228 r89911  
    55
    66name                mongrel2
    7 version             1.5
     7version             1.7.5
     8license             BSD
    89categories          www
    910platforms           darwin
     
    1516    technologies.
    1617
    17 homepage            http://mongrel2.org/home
    18 master_sites        http://mongrel2.org/static/downloads
     18homepage            http://mongrel2.org
     19# MEMO sources are available on github as well
     20master_sites        ${homepage}/static/downloads
    1921use_bzip2           yes
    20 checksums           md5     b699ffc7ef922ad7d703fcd39a897910 \
    21                     sha1    f179c11702556ed6bf10fe092ba7a4e1cdce2c67 \
    22                     rmd160  72bc262b1556b3ed6a0a60585c0d7f4285d7eeb2
     22checksums           md5     c243efc59e5972fa381bd13a7eeafdc7 \
     23                    sha1    456561fe04f1c0ee4a996cfc9deadab8c57ee6dc \
     24                    rmd160  e623bb17a42dfa509d9d14c1208b8fb6047f22a2
    2325
    2426use_configure       no
     
    2729                    port:sqlite3
    2830
    29 patchfiles          patch-Makefile.diff \
    30                     patch-tools_m2sh_Makefile.diff
    31 
    32 post-patch {
    33     reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/Makefile
    34     reinplace "s|/opt/local|${prefix}|g" ${worksrcpath}/Makefile
    35     reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/tools/m2sh/Makefile
    36 }
    37 
    38 #build.target        macports
     31# override variables in Makefile for build and destroot phases
     32build.args-append   PREFIX=${prefix} \
     33                    CC=${configure.cc} \
     34                    OPTFLAGS="${configure.cflags} -I${prefix}/include [get_canonical_archflags cc]" \
     35                    OPTLIBS="${configure.ldflags} -L${prefix}/lib [get_canonical_archflags ld]"
     36destroot.args-append    PREFIX=${prefix}
    3937
    4038post-destroot {
     
    4846    eval file copy [glob ${worksrcpath}/examples/*] ${destroot}${prefix}/share/examples/${name}
    4947}
     48
Note: See TracChangeset for help on using the changeset viewer.