freebsd-ports/cad/pcb/Makefile

42 lines
877 B
Makefile
Raw Normal View History

# New ports collection makefile for: PCB
# Date created: 19 October 1994
# Whom: mr
#
1999-08-25 06:58:03 +02:00
# $FreeBSD$
#
PORTNAME= pcb
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 11:52:05 +02:00
PORTVERSION= 20060822
PORTREVISION= 1
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= hrs@FreeBSD.org
2003-02-20 18:07:10 +01:00
COMMENT= X11 interactive printed circuit board layout system
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 08:38:55 +02:00
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4
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 08:38:55 +02:00
.if defined(WITH_MOTIF_GUI)
USE_MOTIF= yes
CONFIGURE_ARGS+= --with-gui=lesstif
.else
USE_GNOME= gtk20
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 08:38:55 +02:00
.endif
GNU_CONFIGURE= yes
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 08:38:55 +02:00
USE_GMAKE= yes
USE_TK_RUN= 83
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib -L${X11BASE}/lib"
.if !defined(NOPORTDOCS)
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 08:38:55 +02:00
INFO= pcb
MAN1= pcb.1
.else
CONFIGURE_ARGS+= --disable-doc
.endif
.include <bsd.port.mk>