Ticket #18730: Portfile.2

File Portfile.2, 1.2 KB (added by nerdling (Jeremy Lavergne), 15 years ago)

added post-patch reinplace of @PREFIX@

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$
3
4PortSystem          1.0
5
6name                despotify
7version             r761
8categories          multimedia
9maintainers         mail@carljohancrafoord.se
10description         Open source Spotify client
11long_description    An open source Spotify client and gateway to their service
12homepage            http://despotify.se/
13
14platforms           darwin
15depends_lib         port:ncurses \
16                    port:openssl \
17                    port:zlib \
18                    port:libvorbis \
19                    port:expat \
20                    port:gstreamer \
21                    port:gst-plugins-base
22
23master_sites        sourceforge
24checksums           md5 05a0e497717ad9fb6cc0c7b592f257f6 \
25                    sha1 014679badd64ef392c58502251bcf3cc767dd724 \
26                    rmd160 7ecc7c98aa2b29ea2b08838c6a2bd7ce767fe974
27
28patchfiles          patch-Makefile.diff
29post-patch {
30    reinplace s|@PREFIX@|${prefix}|g Makefile
31}
32
33use_configure       no
34
35destroot {
36          xinstall -m 0755 ${worksrcpath}/gateway ${destroot}${prefix}/bin
37          xinstall -m 0755 ${worksrcpath}/despotify ${destroot}${prefix}/bin
38}