Ticket #39877: Portfile

File Portfile, 1.2 KB (added by kurthindenburg (Kurt Hindenburg), 11 years ago)

update per comment #4

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
5PortGroup           qmake 1.0
6PortGroup           github 1.0
7
8github.setup        ayoy qoauth 1.0.1
9
10categories          devel
11platforms           darwin
12license             GPL-3
13maintainers         nomaintainer
14description         Qt-based client implementation of the OAuth standard
15long_description    ${description}
16
17depends_build       port:qt4-mac \
18                    port:qca \
19                    port:qca-ossl
20
21master_sites        http://files.ayoy.net/qoauth/${version}
22distname            ${name}-$version-src
23
24use_bzip2           yes
25
26checksums           rmd160 f6cb736a4c4ca036f7bb3bc840243cf005febd3b \
27                    sha256 b8579a77cecb07928e557c4a019db902a0f040b22f7926f147299e87ac5a54fd
28
29# The qoauth frameworks in src/src.pro doesn't really work - use the unix part
30post-patch {
31        # Dummy to force use of the unix part
32        reinplace "s|^macx|macxNOFRAMEWORKS|g" ${worksrcpath}/src/src.pro
33        # Don't use lib64
34        reinplace "s|lib64|lib|g" ${worksrcpath}/src/src.pro
35}
36
37