Ticket #38240: Portfile

File Portfile, 1.7 KB (added by ryandesign (Ryan Carsten Schmidt), 12 years ago)

improved still not working portfile

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           qt4 1.0
6
7name                tiled
8version             0.9.0
9categories          devel games aqua
10platforms           darwin
11maintainers         nomaintainer
12# I'm not going to risk indicating the wrong license and making the port
13# distributable when it shouldn't be. Someone else please figure it out.
14#license             {BSD GPL-2 LGPL-2}
15
16description         general purpose tile map editor
17
18long_description    ${name} is a ${description}, built to be flexible and \
19                    easy to use. In addition to its own map format, Tiled \
20                    supports read/write plugins for using it with \
21                    proprietary map formats or formats used by other editors.
22
23homepage            http://www.mapeditor.org/
24master_sites        sourceforge:project/tiled/tiled-qt/${version}
25distname            ${name}-qt-${version}
26
27checksums           md5     e2e21a54ff17e34b49b8a330cc8b657e \
28                    sha1    389c846bf81adf411cb004329028924432b4b2cd \
29                    rmd160  3faf36f22187b82943640bfb833d14c617487c01 \
30                    sha256  ffc8831be72eede7a2fca64909560124452370457214d811d6c7030e057a1a33
31
32# Doesn't use the right compiler
33
34# Doesn't use -arch flags
35universal_variant no
36
37# Everything has the wrong install_name
38
39configure.cmd       ${qt_qmake_cmd}
40configure.pre_args  PREFIX=${prefix}
41configure.universal_args-delete --disable-dependency-tracking
42configure.args      RPATH=no
43
44post-destroot {
45    # Apps get installed in the wrong place
46    eval move [glob ${destroot}${prefix}/bin/*.app] ${destroot}${applications_dir}
47}