Commit graph

109 commits

Author SHA1 Message Date
Pietro Cerutti
07e27e6281 - Convert to USES=tk
- STAGE-clean
- Fix spaces in Makefile
- Register conflict with graphics/gts
2014-01-29 09:52:04 +00:00
Baptiste Daroussin
56fcf8379f Fix properties on pkg-plist 2014-01-21 23:18:05 +00:00
Baptiste Daroussin
d164d228e5 Reduce over inclusion of bsd.port.mk 2014-01-15 23:14:38 +00:00
Baptiste Daroussin
a327ff430a In preparation for making libtool generate libraries with a sane name, fix all
LIB_DEPENDS in cad

With hat:	portmgr
2013-12-11 14:53:20 +00:00
Baptiste Daroussin
8e91f3161f Add NO_STAGE all over the place in preparation for the staging support (cat: cad) 2013-09-20 15:58:41 +00:00
Boris Samorodov
9f7e7e1326 Introduce ICONV_CONFIGURE_ARG variable defined at Uses/iconv.mk.
It's value is "--with-libiconv-prefix=/usr/local" for systems
before 100043 with ports libiconv and to use at systems post
100043 with base iconv it's value is "" (NULL).

Co-authors:	bapt, madpilot and bsam (me)
2013-09-04 20:01:05 +00:00
Baptiste Daroussin
9880c1a378 Add an explicit dependency on pkgconf 2013-09-02 21:27:53 +00:00
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Dirk Meyer
b83d7bf933 - update libdg to 2.1.0 2013-08-09 14:05:52 +00:00
John Marino
bcf15de284 cad/pcb: unbreak after USES= gmake
The makefile already had USES defined in the NLS option.
After replacing USE_GMAKE with "USES= gmake", the value of USES is
subsequently overwritten by the default-on NLS option.  Change the
NLS option to USES+= to fix.

Approved by:	hrs (maintainer)
2013-07-15 05:37:39 +00:00
Baptiste Daroussin
bad37a6cd4 Convert from USE_MOTIF to USES=motif
While here:
- trim headers
- Remove indefinite article from comment
- convert USE_GMAKE to USES=gmake
2013-07-09 21:49:35 +00:00
Hiroki Sato
eb2918fe52 - Add LICENSE.
- Add MAKE_JOBS_SAFE=yes.
- Use OPTIONS_DEFINE.
- Enable NLS by default.
- Trim old-style header.
- Update WWW: in pkg-descr.
2013-04-28 21:23:56 +00:00
Pietro Cerutti
fef02240ea - Remove lang/tcl83 and x11-toolkits/tk83 (expired)
- Remove references to Tcl/Tk 8.3 from bsd.tcl.mk
- Update ports that required 8.3+ to require 8.4+ (since 8.5 is the
  default, I don't expect this change to cause much trouble)
2013-04-23 11:51:52 +00:00
Pietro Cerutti
5316d6995c - Get rid of PTHREAD_CFLAGS and PTHREAD_LIBS (category: cad)
Approved by:	portmgr
2013-02-07 14:57:49 +00:00
Steve Wills
63d09c9c9b - Convert all remaining instances of BUILD_DEPENDS=${RUN_DEPENDS} or
RUN_DEPENDS=${BUILD_DEPENDS} to use := which portlint has warned
  about for a while.

PR:		ports/168208
Approved by:	portmgr (miwi)
2012-06-10 18:42:48 +00:00
Dirk Meyer
2b74a89bc8 - update png to 1.5.10 2012-06-01 05:26:28 +00:00
Hiroki Sato
e79ea52936 Update to 20110918.
Feature safe:	yes
2012-03-17 11:31:09 +00:00
Mark Linimon
7d8608ab13 Mark broken on powerpc as well as sparc64. (In fact, on all the tier-2s.)
Hat:		portmgr
2011-11-10 05:38:32 +00:00
Dmitry Marakasov
6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00
Martin Wilke
bb86cbe5d2 - Get Rid MD5 support 2011-03-20 12:54:45 +00:00
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Ade Lovett
6abd00a86b Punt autoconf267->autoconf268 2010-10-16 11:52:47 +00:00
Hiroki Sato
0ec8087ea5 Fix build in the NOPORTDOCS=yes case.
Spotted by:	QAT
2010-10-03 13:42:06 +00:00
Hiroki Sato
99561c1326 Fix build.
Spotted by:	erwin
2010-10-03 13:08:29 +00:00
Hiroki Sato
2cac3fbf0b Fix dependency and a style clean-up.
Spotted by:	QAT
2010-10-01 02:30:10 +00:00
Hiroki Sato
9446be12c4 Update to 20100929. Changes include:
Features
--------

- PCB can directly import (forward annotate) schematics while running.
- Many places where measurements are entered now accept units, like
  "5mm", and "cm" and "in" are allowed too.
- Free Rotate Buffer added to menu
- Polygon Hole tool.
- F12 invokes the Lock tool.
- Russian translation added.
- DBUS is enabled by default when possible.
- Command-line exporters can run action scripts too.
- GTK tool tips on elements, pins, and nets.
- Command-line actions in GUIs do not require (,,) syntax.
- PCB can import footprints both in subdirectories and the named directories.
- New GCode exporter.
- Footprint files use ".fp" as the suffix; this is automatically
  searched for if needed.
- GTK dialogs do not show at startup unless requested.
- Stackup can be specified on the command line for command-line exporting.
- Reference card updated.
- The snap-point in pads is the center.
- The 's' key toggles polygons to clear/notclear all pads and pins

Bug Fixes
---------

- Various PNG export fixes.
- lesstif's magic toggle-layers-on-flip fixed.
- Arc bounding box math fixed.
- Fixed: sometimes, disabling silk also disabled the solder layer.
- "pcb --help" prints all options again
- Add mnemonic for "close without saving"
- Don't select silk on the back side when it's invisible.
- Various polygon rendering bugs fixed.
- PNG drill bloat export fixed.
- Attempts to change polygon clearance *on* polygons results in a hint.
- PNG doesn't segfault if not all graphic formats are supported.
- Various toporouter fixes and improvements
- HID_Mixed is supported in attribute dialogs
- Flipped rectangles in PS exports are drawn correctly.
- Optimizer removes micro-traces under pads.
- Vias, pins, and pads are now drawn under the mask instead of over.
2010-09-30 19:02:31 +00:00
Mark Linimon
ace3515415 Mark as broken on sparc64.
Hat:		portmgr
Feature safe:	yes
2010-06-19 07:37:47 +00:00
Hiroki Sato
73dcf863e1 Update to 20091103. 2010-05-20 20:50:04 +00:00
Dirk Meyer
de78af3ac5 - update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
2010-03-28 06:47:48 +00:00
Dirk Meyer
ca9c60461c - update to jpeg-8 2010-02-05 11:46:55 +00:00
Dmitry Marakasov
c926af277e - Switch SourceForge ports to the new File Release System: categories starting with B,C 2009-08-22 00:15:15 +00:00
Dirk Meyer
eca78ec61b - bump all port that indirectly depends on libjpeg and have not yet been bumped or updated
Requested by:	edwin
2009-07-31 13:57:52 +00:00
Hiroki Sato
0804fca67c Update to 20081128. Changes include:
- Minor bug fixes in RS274-X output.
- Bug fixes in postscript output
- DRC checks for annular ring on pads only uses the mininum annular
  ring drc setting instead of also checking minimum copper width.
- Fix postscript output for zero length lines.
- Improve the 'save before closing' dialogs.
- Fixed bugs where objects attached to the cursor vanish sometimes.
- Allow outline layers to have only arcs.
- Added "Ben Mode" png output which provides a simulated "photograph"
  of the board.  Very nice for publications.
- Fix poly clearance around rotated pads.
- Fix the batch HID which had bit rotted a little.
- Display net names hierarchically.
- Various speed improvements in the GTK HID.
- Various speed improvements in the autorouter.
- Minor improvements to the windows port.
- Other various bug fixes.
2009-03-28 20:29:35 +00:00
Martin Matuska
24bf28eff1 - Change default Tcl/Tk version to 8.5
- Bump PORTVERSION of ports affected

Tested by:	pointyhat (pav)
2009-02-23 14:46:37 +00:00
Hiroki Sato
f0cb0fe725 Fix dependency (m4>=1.4.11). The previous version of m4 (1.4.9)
has a bug in negative number handling and cad/pcb can fail in the
configuring stage due to it.
2008-06-18 04:53:55 +00:00
Hiroki Sato
5c3105143b Fix pkg-plist.
Spotted by:	QA Tindy
2008-06-10 16:11:03 +00:00
Hiroki Sato
7ff66259a2 Add a missing dependency.
Spotted by:	QA Tindy
CVS ----------------------------------------------------------------------
2008-06-10 02:36:26 +00:00
Hiroki Sato
e1b9b337bd Update to 20080202 snapshot. Changes include:
- 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

- Added keystone, C&K, Nichicon, and Optek footprint libraries
- Add attribute editor to the GTK HID
- Add a fileselect() function to the HID spec
- Fix ps output with drill helper on
- Add a visual indicater when elements are locked
- Corrections to the manual
- BOM can export in mm as well as mil
- Fix a ps output bug with arcs
- Fix some memory leaks found with Coverity
- Added autoconf test for buggy versions of m4
- Fixed some footprint drill sizes
- Add user customizable menus for the gtk HID.  The gtk HID now is
  capable of reading the same format menu resource files as the
  lesstif HID.  This represents significant rework of the menu code
  and menu callback code.
- Added Center() action
- Store the file format in the .pcb file.  This will let pcb know when
  presented with a file which is too new.  The code for checking the
  format was present in the prior snapshot.
- Fix DRC checking of square pads to square pads
- Added window panning/cursor warping
- Add the ability to directly load a footprint from a file as if it
  were a complete layout.
- Add a Popup() action
- Add polygon clipping code.  This is a big change to how polygons are
  handled.

  The new code now removes islands and correctly identifies open
  circuits caused by a trace fully cutting through a polygon.  In
  addition, the RS-274-X output is now simpler and works with some
  board houses that use older non-conforming sofware.  Different
  styles for thermal reliefs are also now supported as part of the
  polygon clipper code.
- Add support for plugins
- Many improvements to the autorouter.
- Various improvements to the trace optimizer.
- Add a fontmode for editing pcb fonts
- Add progress() hook to HID structure
- Fix a bug with non-functional windows on some window managers
  commonly found on OS-X
- Add support for controlling pcb via dbus
- Fix various bugs which would cause a crash
- Add --scale for postscript scaling
- Intercept window manager delete events with the GTK gui
- Scan the .pcb file for a FileVersion value.  This is not written out
  yet but will be in future versions.
- Warn if non-manhattan lines are trying to become pads.
- Allow no-solder paste pads to support fiducials
- Report in mm or mils as selected by user
- Allow reordering of layers
- add some more QFN packages
- fix building with sun studio c compiler
- Made a pcb installation be relocatable.
- Convert the m4 libraries to newlib libraries as part of building a
  distfile.  The m4 libraries are still considered the sources and as
  such are still distributed but this eliminates the need for m4 at
  runtime for footprints.
- Got rid of the pcb wrapper script around pcb-bin.
- Remove some old footprints of questionable naming, accuracy, or usefulness.
- Get the autosave/backup code working on all GUI's
- Fix some drill size rounding in the reports
- Changed the backup file name to be derived from the .pcb file name
- Added a command line option for DrawGrid
- Fix logic for adding new ratlines
- Fix gtk grid when board is flipped
- Add "find" and "rip-up" buttons to the netlist window
- Draw plated holes when exporting
- Fix some bugs when converting selection to element
- Fix build on cygwin
- Enhance the win32/build_pcb script used to generate a non-cygwin
  windows installer.
- Make pcb work under non-cygwin windows
2008-06-08 16:09:31 +00:00
Edwin Groothuis
090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00
Martin Wilke
3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00
Florent Thoumie
d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00
Pav Lucistnik
cfa7269b11 - Convert existing ports to a new bsd.tcl.mk order
PR:		ports/109097
Submitted by:	Martin Matuska <martin@matuska.org>
Tested on:	pointyhat exp-run
2007-04-02 22:56:15 +00:00
Hiroki Sato
4e1f580a02 Update to 20060822. Changes include:
- various manual updates
- update the INSTALL documentation
- fix a bug where pins turned into pure holes when an element
  was smashed.
- use locale-independent strtod and dtostr functions to avoid problems
  loading files saved in some locales.
- fixed various bugs which caused pcb to crash
- update the gtk status line after save/save as
- make the gerber file names be compatible with pre-HID versions
- split plated and unplated drill output
- fix various typos in menus and comments
- add a batch mode HID.
- fix drawing of box around text in the buffer
- various fixes and improvements to the trace optimizer and the
  autorouter
- fix board flipping code
- fix rounding bug when creating list of drill sizes
- add support for > 8 copper layers
- avoid strict aliasing violations encountered with gcc4
- refactor code related to handling the filenames in the export
  HID's
- fix layer group parsing code
- add the ability to user-configure mouse actions in the lesstif GUI.
- enable loaded netlists by default
- improve the positioning of the drill list in the postscript output
- various improvements to the configure script to improve robustness
  and improve error messages when thing don't go well.
- add IPC style footprints for 01005 passives.
- added a Renumber() action which will renumber all reference designators
  and produced an annotation file for backannotating to schematics.
- Draw via annulii on assembly drawings
- various other bug fixes and improvements.
2006-10-09 09:52:05 +00:00
Hiroki Sato
352cdd34df Add pthread dependency to fix a crash problem.
PR:		ports/101327
Spotted by:	Michael Glaum <mglaum@sdf.lonestar.org>
2006-09-18 18:13:42 +00:00
Hiroki Sato
a432ba19fb - Add dependency on x11-toolkits/tk83[1].
- Update to 20060414[2].

PR:		ports/101128[1]
Submitted by:	Michael Glaum[1], Tomdean[2]
2006-08-02 06:22:04 +00:00
Hiroki Sato
6b14db7984 Update to 20060414. Changes include:
** 20060414

- This is the first snapshot of the new HID version of PCB.  HID, which
  stands for Human Interface Device is the abstraction created by
  DJ Delorie which seperates the core PCB code from the graphical user
  interface.  In this release, two GUI HID's are supported, gtk and lesstif.
  In addition, there are HID exporters for postscript and encapsulated
  postscript, RS-274-X (gerber), bill of materials, centroid file, and
  png/gif/jpeg.  This represents a major restructuring of the code and
  many months of work.

- PCB's actions (the commands which drive the core of the program and
  may be directly accessed by the user) now have the documentation in-line
  in the code and the actions reference section of the manual is
  extracted from the in-line documentation.  The goal it to provide more
  complete and accurate documentation.  As always the manual is still
  a work in progress but it is getting more complete and up to date.

- Fixed a long standing segfault when saving connection data

- Fixed a DRC bug

- Fix some rounding issues when setting sizes.  Hopefully this will address
  the issue with 23.99 mil drills and related problems.

- The html manual is now in one file instead of many files

- The lesstif HID now supports loading of background images to help
  recover a layout which may exist in hardcopy form only.

** 20060321

- Add internal support for more than 8 layers.  By default PCB is still
  compiled for 8 copper layers.
- Fixed several minor bugs in the GTK user interface including fixing
  scrolling of the log window, fixed up some of the DRC reporting
  and mm/mil units.
- Fixed several key bindings.
- Updated refcard.tex to reflect the current set of key bindings.
- Fixed some minor bugs which caused compilation problems on some
  systems.
- Converted the QFN footprints to hi-res.
- Added documentation to the manual for the centroid file format and
  the algorithm used for finding the centroid and rotation.
- Fixed a bug so that the initial layer named 'component' is actually
  on the component side of the board and 'solder' is actually on the
  solder side of the board.
- Fixed the pin order in the bourns trim pots (~bourns library)
- Added actions and a script to allow command line printing.
- Added IPC-7351 recommended footprints for 0201, 0402, etc passives.
- Fixed SME5 package.
- Fixed a bug which prevented disabling nets from the ratsnest
- Fixed a bug where clearances could be set 1 below the spacing
- Fixed clearline flag so that arcs also have this property.
- Speed up rtree searches and other autorouter speedups.
- Fixed a bug in computation of the closest polygon point.
- Use rtrees for polygon handling for speed improvements.
- Add a ChangePinName() action.
- Fix a bug which caused duplicate rats names when manually adding
  rats lines.
- Added DRC checks for minimum drill diameter and minimum annular ring.
- Add a minimal glossary to the manual
- Fix the author name in the fab drawing
- Cause the crosshair to snap to pad ends instead of center for rat
  drawing.
- Add "join" to SetFlag, ClrFlag and ChangeFlag.
- Added inline documentation for the pcb file syntax.  The manual now
  is up to date and correctly documents the file format.  In addition
  the inline documentation will make it much easier to maintain the
  documentation.
- Remove some broken m4lib footprints
- Put the correct setting for the gschem footprint= attribute in []
  in the library window for the m4 libraries.

Submitted by:	Stanislav Sedov (ssedov at mbsd dot msk dot ru)
PR:		ports/99942
2006-07-10 06:38:55 +00:00
Edwin Groothuis
acd87b4ad8 SHA256ify
Approved by:    krion@
2006-01-22 08:34:46 +00:00
Joe Marcus Clarke
235c907ae5 Bump PORTREVISION to chase the glib20 shared library update. 2005-11-05 05:22:06 +00:00
Hiroki Sato
77ccee4fb2 Update to 20050609. Changes include:
- The GUI is now based on gtk2 instead of Xaw
 - Flags are stored symbolically in the .pcb file.
 - As part of the switch to gtk2, the user customizable menu feature has
   been temporarily broken.  Hopefully this will be fixed by the next
   snapshot.  In addition, the loading of background images has also been
   temporarily broken.

Submitted by:	des
2005-06-14 16:18:01 +00:00
Pav Lucistnik
bf9ba1de9e - Remove unneeded dependency on teTeX, add gm4 and tk as run dependency too
Submitted by:	hrs (maintainer)
2004-02-23 23:48:09 +00:00