pkgsrc/cad/pcb/Makefile
dmcmahill f8f0d4cd92 Update to pcb-20091103
========================================================================
Release Notes for PCB snapshot 20091103
========================================================================
This release represents almost 200 commits and as such this summary
clearly is not complete.  See the ChangeLog file for the complete list
of changes.

- [feature] Add attributes to layers
- [bugfix]  Remove memory leak in attributes
- [bugfix]  Avoid layer buttons getting confused (GTK)
- [bugfix]  Fix dereference bug in hid_find_action()
- [feature] Speed up some polygon operations
- [bugfix]  Don't let DRC change the grid setting
- [bugfix]  Correct URL's in some dialogs and output
- [feature] Add filters to load file chooser dialog (GTK)
- [bugfix]  Avoid segfaults with png HID with newer versions of libgd
- [bugfix]  Don't disperse locked elements
- [feature] Added experimental topological autorouter
- [feature] Added the beginning of a testsuite.
- [docs]    Document FreeRotateBuffer()
- [docs]    Add some additional notes on the usage of the existing
            autorouter
- [feature] Add --png-bloat option
- [bugfix]  Fix several bugs found with valgrind
- [bugfix]  Improve the pre-install wrapper script
- [bugfix]  Several fixes to the autorouter
- [feature] Allow quoted strings and escaped characters in action
            arguments
- [footprints] Add missing INDC3216M, remove duplicated RESC3216M
- [feature] Added the ability to customize mouse events via gpcb-menu.res
            in the GTK HID.
- [feature] Added the ability to use mod1 (alt)(option) in
            HIDs.  Useful on OSX.
- [bugfix]  Fix compilation issues on centos
- [bugfix]  Make the detection of tools and build system around
            building the documentation be more robust.  Users should
            not be worrying about --disable-doc or --enable-maintainer-mode
            anymore
- [footprints] Add T018, T039, fix pinout of T092 to match JEDEC
- [bugfix]  Speed up rendering of DRC violation previews under GTK
- [bugfix]  Fix some crashing bugs related to polygons and thindraw mode
- [feature] Added a DRC refresh button
- [bugfix]  Fix some pango markup in the GTK DRC dialog
- [bugfix]  Fix cursor warping on flipped boards (GTK)
- [feature] Added preview images in the DRC violations window (GTK)
- [feature] Add a DrcViolationType structure and add hooks to allow HID's to use this
- [bugfix]  Fix some polygon memory leaks
- [feature] Add an API for registering actions with a context to support scripting
            languages like GPMI.
- [bugfix]  Fix a bug with the Report(NetLength) action and NULL pin/pad names
- [bugfix]  Allow exporters to work with hairlines (width of 0)
- [tools]   Increase autoconf version to 2.60 since we were using some features of it
- [bugfix]  Fix a number of polygon related issues
- [bugfix]  Fix a number of gcc warnings
- [feature] Don't display undocumented options in help output.  This helps
            the transition when deprecating an option.
- [feature] Add outline mode for photo-mode exporting
- [footprints] Put the mark on pin 1 for axial footprints to make them more likely
               to fall on grid
- [bugfix]  Fix flipping of arcs
- [bugfix]  Fix parsing of old-syntax arcs
- [bugfix]  Include explicit text/lines on silk layers in the assembly drawing output
- [feature] '--ben-mode' has been renamed to '--photo-mode'
- [bugfix]  Fix some crashign bugs on boards with a large number of rats
- [bugfix]  Fix an off-by-one bug in the GTK netlist window
- [docs]    Add getting started guide
- [feature] Add support for parsing suffixes on numbers ("um", "mm", "in", "mil")
- [bugfix]  Fix some configure/build issues when cross compiling
- [bugfix]  Fix some improperly used automake conditionals
- [bugfix]  Fix some uninstall of shortcuts issues under windows Vista
- [feature] Add additional crosshair shapes
- [bugfix]  Various windows build script improvements
2009-11-06 02:29:59 +00:00

77 lines
2.4 KiB
Makefile

# $NetBSD: Makefile,v 1.47 2009/11/06 02:29:59 dmcmahill Exp $
#
DISTNAME= pcb-20091103
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pcb/}
MAINTAINER= dmcmahill@NetBSD.org
HOMEPAGE= http://pcb.sourceforge.net/
COMMENT= Printed circuit board layout system
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= gettext-tools>=0.14.6:../../devel/gettext-tools
CONFLICTS+= pcb-current-[0-9]*
GNU_CONFIGURE= yes
CONFIGURE_ENV+= WISH=${TOOLS_PATH.wish}
# work around a problem where the configure script uses
# AM_PROG_LEX and follows it with an AC_PATH_PROG to try
# and make sure that lex really does exist. Unfortunately
# that test is thrown off by pkgsrc giving a full path for LEX.
# so, bypass the test and put our desired result directly into the
# configure cache. Same for YACC.
CONFIGURE_ENV+= ac_cv_path_LEX_PATH=${TOOLS_PATH.lex}
CONFIGURE_ENV+= ac_cv_path_YACC_PATH=${TOOLS_PATH.bison}
CONFIGURE_ARGS+= --disable-update-desktop-database
CONFIGURE_ARGS+= --disable-update-mime-database
USE_TOOLS+= bison gm4:run gmake intltool lex wish:run pkg-config
USE_PKGLOCALEDIR= yes
INFO_FILES= yes
PKG_OPTIONS_VAR= PKG_OPTIONS.pcb
PKG_SUPPORTED_OPTIONS= png
PKG_OPTIONS_REQUIRED_GROUPS= gui
PKG_OPTIONS_GROUP.gui= batch gtk motif
PKG_SUGGESTED_OPTIONS= gtk png
.include "../../mk/bsd.prefs.mk"
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mmotif)
.include "../../mk/motif.buildlink3.mk"
CONFIGURE_ARGS+= --with-gui=lesstif
.elif !empty(PKG_OPTIONS:Mgtk)
.include "../../x11/gtk2/buildlink3.mk"
CONFIGURE_ARGS+= --with-gui=gtk
.elif !empty(PKG_OPTIONS:Mbatch)
CONFIGURE_ARGS+= --with-gui=none
.else
PKG_FAIL_REASON= Invalid options
.endif
EXPORTERS= bom gerber ps
.if !empty(PKG_OPTIONS:Mpng)
EXPORTERS+= png
.include "../../graphics/gd/buildlink3.mk"
.endif
CONFIGURE_ARGS+= --with-exporters=${EXPORTERS:Q}
post-extract:
${CHMOD} -R go-w ${WRKSRC}
# remove some stuff that is either broken or unmaintained
# and would require another runtime depends
post-install:
${RM} ${DESTDIR}${PREFIX}/share/pcb/tools/PCB2HPGL
${RM} ${DESTDIR}${PREFIX}/share/pcb/tools/tgo2pcb.tcl
# NOTE: glib is needed by the core of pcb and not just the GTK gui.
.include "../../devel/glib2/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"