Ticket #42238: Portfile

File Portfile, 1.5 KB (added by librecad@…, 10 years ago)

Updated portfile according to recommendations

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