Ticket #51845: Portfile

File Portfile, 872 bytes (added by denis-fr (Denis), 8 years ago)

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           github 1.0
6
7github.setup        texane stlink 96554d9
8categories          cross devel
9license             BSD
10maintainers         nomaintainer
11description         Stlink Tools Texane
12long_description    Open source version of the STMicroelectronics Stlink Tools.
13platforms           darwin
14
15fetch.type          git
16
17use_autoconf        yes
18autoconf.cmd        ${worksrcpath}/autogen.sh
19use_configure       yes
20
21depends_build-append    port:autogen
22depends_lib-append      port:libusb
23
24#default_variants +gui
25variant gui description "Add stlink-gui" {
26    configure.args-append   --with-gtk-gui
27    depends_lib-append       port:gtk3
28    depends_lib-append       port:adwaita-icon-theme
29}