Ticket #18758: Portfile.diff

File Portfile.diff, 2.2 KB (added by mail@…, 15 years ago)
  • Portfile

    old new  
    11# -*- 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 47835 2009-03-07 17:35:27Z snc@macports.org $
     2# $Id$
    33
    44PortSystem          1.0
    55
    66name                despotify
    7 version             r761
     7version             20090307
    88categories          multimedia
    9 maintainers         mail@carljohancrafoord.se
     9maintainers         carljohancrafoord.se:mail
    1010description         Open source Spotify client
    1111long_description    An open source Spotify client and gateway to their service
    1212homepage            http://despotify.se/
     
    1616                    port:openssl \
    1717                    port:zlib \
    1818                    port:libvorbis \
    19                     port:expat \
    20                     port:gstreamer \
    21                     port:gst-plugins-base
    22 
    23 master_sites        sourceforge
    24 checksums           md5 05a0e497717ad9fb6cc0c7b592f257f6 \
    25                     sha1 014679badd64ef392c58502251bcf3cc767dd724 \
    26                     rmd160 7ecc7c98aa2b29ea2b08838c6a2bd7ce767fe974
     19                    port:expat
     20
     21fetch.type          svn
     22svn.url             https://despotify.svn.sourceforge.net/svnroot/despotify/src
     23svn.tag             164
     24
     25worksrcdir          src
     26
     27patchfiles          patch-Makefile.diff \
     28                    patch-Makefile.local.mk.dist.diff \
     29                    patch-clients-despotify-local.mk.diff \
     30                    patch-lib-local.mk.diff
    2731
    28 patchfiles          patch-Makefile.diff
    2932post-patch {
    30     reinplace s|@PREFIX@|${prefix}|g Makefile
     33    reinplace s|@PREFIX@|${prefix}|g \
     34        ${worksrcpath}/Makefile.local.mk.dist \
     35        ${worksrcpath}/clients/despotify/local.mk \
     36        ${worksrcpath}/lib/local.mk
    3137}
    3238
    3339use_configure       no
    3440
    35 destroot {
    36           xinstall -m 0755 ${worksrcpath}/gateway ${destroot}${prefix}/bin
    37           xinstall -m 0755 ${worksrcpath}/despotify ${destroot}${prefix}/bin
     41pre-destroot {
     42    reinplace s|@DESTROOT@|${destroot}|g \
     43        ${worksrcpath}/clients/despotify/local.mk \
     44        ${worksrcpath}/lib/local.mk
    3845}