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 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup github 1.0 |
---|
6 | PortGroup qt4 1.0 |
---|
7 | |
---|
8 | github.setup LibreCAD LibreCAD 2.0.2 |
---|
9 | categories cad |
---|
10 | platforms darwin |
---|
11 | maintainers rvt.dds.nl:librecad \ |
---|
12 | gmail.com:dongxuli2011 |
---|
13 | |
---|
14 | license GPL-2+ |
---|
15 | |
---|
16 | description LibreCAD is a free Open Source CAD application. |
---|
17 | |
---|
18 | long_description LibreCAD is a free Open Source CAD application for \ |
---|
19 | Windows, Apple and Linux. Support and documentation is \ |
---|
20 | free from our large, dedicated community of users, \ |
---|
21 | contributors and developers. You, too, can also get \ |
---|
22 | involved! |
---|
23 | |
---|
24 | homepage http://librecad.org/ |
---|
25 | |
---|
26 | checksums rmd160 30ae8dc909fbc34f9b1f0f448b499813ab573c40 \ |
---|
27 | sha256 75460c0d959245d4257734bdbcac69887d6ebc91312499ed228d1c4b60d0b928 |
---|
28 | |
---|
29 | depends_lib-append port:boost \ |
---|
30 | port:muparser \ |
---|
31 | port:freetype |
---|
32 | |
---|
33 | configure.cmd ${prefix}/bin/qmake |
---|
34 | configure.pre_args |
---|
35 | configure.universal_args |
---|
36 | |
---|
37 | variant universal {} |
---|
38 | |
---|
39 | build.args CC="${configure.cc} [get_canonical_archflags cc]" \ |
---|
40 | CXX="${configure.cxx} [get_canonical_archflags cxx]" \ |
---|
41 | LINK="${configure.cxx} [get_canonical_archflags cxx]" |
---|
42 | |
---|
43 | destroot { |
---|
44 | system -W ${worksrcpath} "macdeployqt LibreCAD.app" |
---|
45 | copy ${worksrcpath}/LibreCAD.app ${destroot}${applications_dir} |
---|
46 | } |
---|