# -*- 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
PortGroup active_variants 1.1
categories x11 graphics electronics
maintainers {gmail.com:parker.charles @technobauble}
description Printed Circuit Board Layout Tool
long_description PCB is an interactive printed circuit board editor for the \
X11 window system. PCB includes a rats nest feature, design \
rule checking, and can provide industry standard RS-274-X \
(Gerber), NC drill, and centroid data (X-Y data) output for \
use in the board fabrication and assembly process. PCB offers \
high end features such as an autorouter and trace optimizer \
which can tremendously reduce layout time.
homepage http://pcb.geda-project.org/index.html
checksums rmd160 cf98c6ab59bc12cf209683ba1311c4b011af2392 \
sha256 cd4b36df6747789775812fb433f246d6bd5a27f3a16357d78d9c4c9b59c59a43 \
patchfiles pcb-4.2.0-intltoolbug.patch
depends_build port:intltool \
# xinerama and xrender are only used if lesstif is the GUI (instead of GTK)
configure.args --mandir=${prefix}/share/man \
--infodir=${prefix}/share/info \
--disable-update-desktop-database \
--disable-update-mime-database \
file copy ${worksrcpath}/gts/gts.h ${worksrcpath}/gts/pcbgts.h
#rename pcb's builtin gts library so it won't conflict with port gts
reinplace "s|gts.h|pcbgts.h|" ${worksrcpath}/gts/Makefile.in \
${worksrcpath}/src/toporouter.h
reinplace "s|gts.a|pcbgts.a|g" ${worksrcpath}/gts/Makefile.in \