# -*- 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

PortSystem          1.0
PortGroup           cmake 1.0

name                piklab
version             0.16.2
categories          devel
platforms           darwin
maintainers         nomaintainer
license             GPL-2+
use_bzip2           yes

description         IDE for applications based on Microchip PIC microcontrollers

long_description    Piklab is an integrated development environment (IDE) for \
                    applications based on Microchip PIC and dsPIC microcontrollers \
                    similar to the MPLAB environment. It integrates with several \
                    compiler and assembler toolchains (like gputils, sdcc, c18) \
                    and with the GPSim simulator. It supports the most common \
                    programmers (serial, parallel, ICD2, Pickit2, PicStart+), the \
                    ICD2 debugger, and several bootloaders (Tiny, Pickit2, and \
                    Picdem).

homepage            http://piklab.sourceforge.net/
master_sites        sourceforge:project/piklab/piklab/${version}

checksums           rmd160  addaede8899f17f192f02e445ead4ef389874e99 \
                    sha256  51de9edda8edb9d2e9d07ed1c479b83b87eb6fb17c85717477f05fac03a5740e

depends_build-append \
                    port:automoc \
                    port:pkgconfig

depends_lib         port:qt4-mac \
                    port:kdelibs4 \
                    port:libusb-compat

patchfiles          patch-src-common-port-CMakeLists.txt.diff \
                    patch-src-common-port-port.h.diff \
                    patch-src-common-port-port.cpp.diff \
                    patch-src-progs-gui-port_selector.cpp.diff
