pkgsrc/cad/pcb/Makefile
dmcmahill 8fbc583348 update to pcb-20080202
========================================================================
Release Notes for PCB snapshot 20080202
========================================================================
This release represents over 180 commits and as such this summary
clearly is not complete.  See the ChangeLog file for the complete list
of changes.

- Added a footprin preview in the library window
- Added gnome/kde desktop integration files (app and mime icons, and
  .desktop file)
- Added i18n support
- Updated dbus support
- Fix a number of GCC 4 compiler warnings
- Make the gtk gui more robust against malformed menu resource files
- Added checking for duplicate hot key definitions in the menu resource
  file in the gtk gui.
- Improved support for building on win32.
- Removed automake/autoconf generated files from cvs
- Fixed some parallel make bugs
- Fixed some scrolling/panning bugs in the gtk gui.
- Added the ability to load edif netlists
- Closed a number of bugs in the sourceforge tracker
- Fix a bg in the x-y output files where the y values were mirrored and offset
- Add XRENDER support to the lesstif HID to support layer transparency
- Fix some polygon dicer bugs
- Fix a handful of bugs in the png export HID
- Avoid vias snapping to pins and moving elements snapping to their own
  pins/pads
- Fix a number of undo bugs
- Fix printer calibration
- Add global puller
- Various improvements to the postscript export HID
- Improve all the GetXY prompts in the menu resource files
- Improved the pin/via report
- Improved pin/pad vs grid snapping
- Various footprint improvements
  o fixed some drill sizes
  o fixed some silk sizes
  o Added a handful of QFP family footprints
  o Converted the QFP family to the hi-res format
- Several other bug fixes
2008-02-02 04:50:20 +00:00

71 lines
2.2 KiB
Makefile

# $NetBSD: Makefile,v 1.42 2008/02/02 04:50:20 dmcmahill Exp $
#
DISTNAME= pcb-20080202
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
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 "../../devel/glib2/buildlink3.mk"
.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}
# remove some stuff that is either broken or unmaintained
# and would require another runtime depends
post-install:
${RM} ${PREFIX}/share/pcb/tools/PCB2HPGL ${PREFIX}/share/pcb/tools/tgo2pcb.tcl
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"