1994-10-24 20:08:31 -04:00
|
|
|
# New ports collection makefile for: PCB
|
|
|
|
# Date created: 19 October 1994
|
|
|
|
# Whom: mr
|
|
|
|
#
|
1999-08-25 00:58:03 -04:00
|
|
|
# $FreeBSD$
|
1994-10-24 20:08:31 -04:00
|
|
|
#
|
|
|
|
|
2000-04-08 19:24:42 -04:00
|
|
|
PORTNAME= pcb
|
2012-03-17 07:31:09 -04:00
|
|
|
PORTVERSION= 20110918
|
2012-06-01 01:26:28 -04:00
|
|
|
PORTREVISION= 1
|
1996-11-15 18:31:01 -05:00
|
|
|
CATEGORIES= cad
|
2009-08-21 20:15:15 -04:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
1995-04-11 16:13:02 -04:00
|
|
|
|
2004-02-06 14:48:29 -05:00
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
2003-02-20 12:07:10 -05:00
|
|
|
COMMENT= X11 interactive printed circuit board layout system
|
1996-03-25 03:30:53 -05:00
|
|
|
|
2012-03-17 07:31:09 -04:00
|
|
|
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd \
|
|
|
|
gtkglext-x11-1.0:${PORTSDIR}/x11-toolkits/gtkglext
|
2010-09-30 22:30:10 -04:00
|
|
|
RUN_DEPENDS= m4>=1.4.11:${PORTSDIR}/devel/m4 \
|
|
|
|
${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:${PORTSDIR}/devel/dbus
|
2012-06-10 14:42:48 -04:00
|
|
|
BUILD_DEPENDS:= ${RUN_DEPENDS}
|
2003-07-23 12:41:45 -04:00
|
|
|
|
2008-06-08 12:09:31 -04:00
|
|
|
GNU_CONFIGURE= yes
|
2010-12-04 02:34:27 -05:00
|
|
|
USE_AUTOTOOLS= autoconf
|
2008-06-08 12:09:31 -04:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_TK_RUN= 83
|
|
|
|
INSTALLS_ICONS= yes
|
2011-09-23 18:26:39 -04:00
|
|
|
CONFIGURE_ENV+= INSTALL_DATA="/usr/bin/install ${COPY} ${_SHROWNGRP} -m ${SHAREMODE}"
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
|
|
LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib
|
2009-03-28 16:29:35 -04:00
|
|
|
CONFIGURE_ARGS= --docdir=${DOCSDIR} --disable-nls
|
2012-03-17 07:31:09 -04:00
|
|
|
PORTDOCS= pcb.html pcb.pdf refcard.pdf pad.png puller.png thermal.png \
|
|
|
|
examples tutorial gcode.png gcode_control_img.png \
|
|
|
|
gcode_tool_path.png
|
2008-06-08 12:09:31 -04:00
|
|
|
|
|
|
|
.if defined(WITHOUT_X11)
|
|
|
|
CONFIGURE_ARGS+= --without-gui
|
|
|
|
CONFIGURE_ENV+= WISH=${TRUE}
|
|
|
|
.elif defined(WITH_MOTIF_GUI)
|
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 02:38:55 -04:00
|
|
|
USE_MOTIF= yes
|
2008-06-08 12:09:31 -04:00
|
|
|
USE_TK_RUN= 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 02:38:55 -04:00
|
|
|
CONFIGURE_ARGS+= --with-gui=lesstif
|
2008-06-08 12:09:31 -04:00
|
|
|
CONFIGURE_ENV+= WISH=${WISH}
|
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 02:38:55 -04:00
|
|
|
.else
|
2008-06-09 22:36:26 -04:00
|
|
|
USE_GNOME= gtk20 desktopfileutils
|
2008-06-08 12:09:31 -04:00
|
|
|
USE_TK_RUN= yes
|
|
|
|
CONFIGURE_ARGS+= --with-gui=gtk
|
|
|
|
CONFIGURE_ENV+= WISH=${WISH}
|
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 02:38:55 -04:00
|
|
|
.endif
|
2001-10-04 08:35:41 -04:00
|
|
|
|
2005-06-14 12:18:01 -04:00
|
|
|
.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 02:38:55 -04:00
|
|
|
INFO= pcb
|
|
|
|
MAN1= pcb.1
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-doc
|
2005-06-14 12:18:01 -04:00
|
|
|
.endif
|
|
|
|
|
2010-06-19 03:37:47 -04:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2011-11-10 00:38:32 -05:00
|
|
|
.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
|
|
|
|
BROKEN= Does not compile on ia64, powerpc, or sparc64
|
2010-06-19 03:37:47 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|