# $Id: Portfile 114293 2013-12-04 12:30:30Z ryandesign@macports.org $

PortSystem          1.0

name                xgsch2pcb
version             0.1.3
revision            2
categories          cad science electronics
license             GPL-2+
maintainers         nomaintainer
description         intuitive and user-friendly graphical interface to gsch2pcb
long_description    xgsch2pcb provides an intuitive, user-friendly graphical interface to \
                    the gsch2pcb command-line tool which is used to generate and update a \
                    PCB layout. It works with schematics created by gschem, and layouts \
                    created by pcb. xgsch2pcb also features a "template" functionality for \
                    creating new projects.

homepage            http://geda.seul.org/wiki/geda:download
platforms           darwin
supported_archs     noarch
master_sites        http://geda.seul.org/dist/
checksums           md5     caf84bc0f17b75a2984fea2a64fc2c81 \
                    sha1    5bddd5973c2ecf8c43e03ee3f9484de44f649572
distname            geda-${name}-${version}
depends_build       port:intltool \
                    port:desktop-file-utils
depends_lib         port:pcb \
                    port:py27-pygtk \
                    port:dbus-python27
configure.python    ${prefix}/bin/python2.7

post-destroot {
    file delete  ${destroot}${prefix}/share/applications/mimeinfo.cache
}
