source: trunk/dports/devel/qtsharp/Portfile

Last change on this file was 94176, checked in by jmr@…, 5 years ago

qtsharp: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 94176 2012-06-11 15:53:06Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            qtsharp
6version         0.7.1
7categories      devel
8license         GPL-2+
9platforms       darwin
10supported_archs i386 ppc
11maintainers     nomaintainer
12description     Qt bindings for C#
13long_description        A cross-platform GUI toolkit for Mono and Portable.Net which provides set of classes that bind any CIL language to the Qt toolkit.
14homepage        http://qtcsharp.sourceforge.net/
15master_sites    sourceforge:project/qtcsharp/qtsharp/${version}
16checksums       md5 d5433e139f9362231119b0c742f67b64
17depends_run     bin:cscc:pnet
18depends_lib     lib:libqt.3.3:qt3-mac \
19                lib:libqtc.1:qtc-qtsharp
20use_bzip2       yes
21worksrcdir      qtsharp
22configure.cmd   qmake
23configure.pre_args      INSTALLDIR=${prefix}/lib CSC=cscc CLI=ilrun
24build.env       QTDIR=${prefix} PREFIX=${prefix} CSC=cscc CLI=ilrun
25destroot.env    QTDIR=${prefix} INSTALL_ROOT=${destroot}
26post-configure {
27        system "cd ${worksrcpath}/src && ${prefix}/bin/qmake src.pro INSTALLDIR=${prefix}/lib CSC=cscc CLI=ilrun -o Makefile"
28        system "cd ${worksrcpath}/src/libqtsharp && ${prefix}/bin/qmake libqtsharp.pro INSTALLDIR=${prefix}/lib CSC=cscc CLI=ilrun -o Makefile"
29        system "cd ${worksrcpath}/src/generator && ${prefix}/bin/qmake generator.pro INSTALLDIR=${prefix}/lib CSC=cscc CLI=ilrun -o Makefile"
30        system "cd ${worksrcpath}/src/bindings && ${prefix}/bin/qmake bindings.pro INSTALLDIR=${prefix}/lib CSC=cscc CLI=ilrun -o Makefile"
31        system "cd ${worksrcpath} && patch -p0 < ${filespath}/patch-src-Makefile"
32        system "cd ${worksrcpath} && patch -p0 < ${filespath}/patch-generator-Makefile"
33        system "cd ${worksrcpath} && patch -p0 < ${filespath}/patch-bindings-Makefile"
34}
Note: See TracBrowser for help on using the repository browser.