Add Kicad, a software for the creation of electronic schematic
diagrams and printed circuit board artwork. Kicad is a set of four softwares and a project manager: * Eeschema: Schematic entry. * Pcbnew: Board editor. * Gerbview: GERBER viewer (photoplotter documents). * Cvpcb: footprint selector for components used in the circuit design. * Kicad: project manager.
This commit is contained in:
parent
9629e988aa
commit
0a7f5f4541
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=150689
19 changed files with 2771 additions and 0 deletions
|
@ -32,6 +32,7 @@
|
|||
SUBDIR += impact
|
||||
SUBDIR += irsim
|
||||
SUBDIR += iverilog
|
||||
SUBDIR += kicad
|
||||
SUBDIR += leocad
|
||||
SUBDIR += libgeda
|
||||
SUBDIR += linux-eagle
|
||||
|
|
101
cad/kicad-devel/Makefile
Normal file
101
cad/kicad-devel/Makefile
Normal file
|
@ -0,0 +1,101 @@
|
|||
# New ports collection makefile for: kicad
|
||||
# Date created: 29 November 2005
|
||||
# Whom: Thierry Thomas <thierry@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= kicad
|
||||
DISTVERSION= 2005-10-27
|
||||
CATEGORIES= cad
|
||||
MASTER_SITES= ftp://iut-tice.ujf-grenoble.fr/cao/:dat \
|
||||
ftp://ftp.lis.inpg.fr/uploads/kicad/:dat \
|
||||
http://iut-tice.ujf-grenoble.fr/cao/:dat \
|
||||
ftp://iut-tice.ujf-grenoble.fr/cao/sources/:src \
|
||||
ftp://ftp.lis.inpg.fr/uploads/kicad/sources/:src\
|
||||
http://iut-tice.ujf-grenoble.fr/cao/sources/:src
|
||||
DISTFILES= ${PORTNAME}-${DISTVERSION}.tgz:dat \
|
||||
${PORTNAME}-sources-${DISTVERSION}${EXTRACT_SUFX}:src
|
||||
DIST_SUBDIR= ${PORTNAME}
|
||||
EXTRACT_ONLY= ${PORTNAME}-sources-${DISTVERSION}${EXTRACT_SUFX}
|
||||
|
||||
MAINTAINER= thierry@FreeBSD.org
|
||||
COMMENT= Schematic and PCB editing software
|
||||
|
||||
LIB_DEPENDS= wx_gtk2_core-2.6.0:${PORTSDIR}/x11-toolkits/wxgtk26
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
DISTFILES+= doc_components-${DOCVERSION}${EXTRACT_SUFX}:dat
|
||||
DOCVERSION= 2005-09-27
|
||||
.endif
|
||||
|
||||
WRKSRC= ${WRKDIR}/kicad-dev
|
||||
MAKEFILE= makefile.gtk
|
||||
|
||||
USE_ZIP= yes
|
||||
USE_GMAKE= yes
|
||||
USE_REINPLACE= yes
|
||||
USE_GL= yes
|
||||
|
||||
MAKE_ENV= WX_CONFIG=${WX_CONFIG}
|
||||
|
||||
WX_CONFIG= wxgtk2-2.6-config
|
||||
|
||||
INSTDIR= ${PORTNAME}
|
||||
PLIST_SUB= INSTDIR=${INSTDIR} OPSYS=${OPSYS}
|
||||
|
||||
BINS= cvpcb eeschema gerbview kicad pcbnew
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if exists(${LOCALBASE}/bin/konqueror)
|
||||
RUN_DEPENDS+= konqueror:${PORTSDIR}/x11/kdebase3
|
||||
.else
|
||||
RUN_DEPENDS+= xpdf:${PORTSDIR}/graphics/xpdf
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
for f in `${FIND} ${WRKSRC} -name ${MAKEFILE}`; do \
|
||||
${CP} $$f $$f.dos && \
|
||||
${TR} -d '\r' < $$f.dos > $$f ; \
|
||||
done
|
||||
${CP} ${WRKSRC}/libs.linux ${WRKSRC}/libs.${OPSYS}
|
||||
${REINPLACE_CMD} -e 's|kicad/linux|${INSTDIR}/${OPSYS}|' \
|
||||
${WRKSRC}/libs.${OPSYS}
|
||||
|
||||
pre-configure:
|
||||
for f in `${FIND} ${WRKSRC} -name ${MAKEFILE}`; do \
|
||||
${REINPLACE_CMD} -e 's|CC = gcc|#CC = gcc|' \
|
||||
-e 's|LD = gcc|LD = ${CC}|' \
|
||||
-e 's|-O2|${CFLAGS} -I${X11BASE}/include|' \
|
||||
-e 's|wx-config|${WX_CONFIG}|' \
|
||||
-e 's|LDFLAGS =|LDFLAGS += -L${X11BASE}/lib|' \
|
||||
-e 's|libs.linux|libs.${OPSYS}|' \
|
||||
-e 's|gcc -D|${CC} -D|' $$f ; \
|
||||
done
|
||||
${REINPLACE_CMD} -e 's|kicad/linux|${INSTDIR}/${OPSYS}|' \
|
||||
-e 's|/usr/local|${PREFIX}|' ${WRKSRC}/common/gestfich.cpp
|
||||
${REINPLACE_CMD} -e 's|/usr/bin/xpdf|${X11BASE}/bin/xpdf|' \
|
||||
-e 's|/usr/bin/konqueror|${LOCALBASE}/bin/konqueror|' \
|
||||
${WRKSRC}/common/eda_doc.cpp
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${PREFIX}/${INSTDIR}/${OPSYS}/plugins
|
||||
(cd ${PREFIX} && ${TAR} -xzopf ${_DISTDIR}/${PORTNAME}-${DISTVERSION}.tgz)
|
||||
${RM} -rf ${PREFIX}/${INSTDIR}/linux ${PREFIX}/${INSTDIR}/wings3d
|
||||
${RMDIR} ${PREFIX}/${INSTDIR}/modules/packages3d/conn_HExx
|
||||
|
||||
post-install:
|
||||
${LN} -sf ${BINS:S|^|${PREFIX}/${INSTDIR}/${OPSYS}/|} ${PREFIX}/bin
|
||||
.if !defined(NOPORTDOCS)
|
||||
${UNZIP_CMD} -oq ${_DISTDIR}/doc_components-${DOCVERSION}${EXTRACT_SUFX} \
|
||||
-d ${PREFIX}/${INSTDIR}/library
|
||||
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/${INSTDIR}/library/doc
|
||||
.else
|
||||
${RM} -rf ${PREFIX}/${INSTDIR}/library/doc
|
||||
.endif
|
||||
@${ECHO_MSG}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO_MSG}
|
||||
|
||||
.include <bsd.port.post.mk>
|
9
cad/kicad-devel/distinfo
Normal file
9
cad/kicad-devel/distinfo
Normal file
|
@ -0,0 +1,9 @@
|
|||
MD5 (kicad/kicad-2005-10-27.tgz) = b6fdffb8c46756152089416ad3e8e6bb
|
||||
SHA256 (kicad/kicad-2005-10-27.tgz) = 7a083af595b3979a48ece54aaf5f503ef189189173c50958e8a2d3b3b9a2e854
|
||||
SIZE (kicad/kicad-2005-10-27.tgz) = 49383403
|
||||
MD5 (kicad/kicad-sources-2005-10-27.zip) = 316162f01f51a3c5b34580555a1d1c11
|
||||
SHA256 (kicad/kicad-sources-2005-10-27.zip) = 77f61f02069e237ee065031195c801bc1900f3d65031bbea00b2ba8b3e947852
|
||||
SIZE (kicad/kicad-sources-2005-10-27.zip) = 1318994
|
||||
MD5 (kicad/doc_components-2005-09-27.zip) = d510bc5cebcfdccf0d971d715226df4a
|
||||
SHA256 (kicad/doc_components-2005-09-27.zip) = 3bc0388432abc724626c3e9db8ac59cc00240398611c878878ea2f132204256c
|
||||
SIZE (kicad/doc_components-2005-09-27.zip) = 52052663
|
17
cad/kicad-devel/files/patch-include__fctsys.h
Normal file
17
cad/kicad-devel/files/patch-include__fctsys.h
Normal file
|
@ -0,0 +1,17 @@
|
|||
--- ./include/fctsys.h.orig Tue Mar 22 15:30:28 2005
|
||||
+++ ./include/fctsys.h Thu Dec 1 21:50:58 2005
|
||||
@@ -18,8 +18,12 @@
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
-#ifndef __DARWIN__
|
||||
-#include <malloc.h> // MacOSX (DARWIN): malloc() and free() are in stdlib.h
|
||||
+#ifdef __FreeBSD__
|
||||
+#include <stdlib.h>
|
||||
+#else
|
||||
+# ifndef __DARWIN__
|
||||
+# include <malloc.h> // MacOSX (DARWIN): malloc() and free() are in stdlib.h
|
||||
+# endif
|
||||
#endif
|
||||
#include <time.h>
|
||||
#include <math.h>
|
74
cad/kicad-devel/files/patch-libs.FreeBSD
Normal file
74
cad/kicad-devel/files/patch-libs.FreeBSD
Normal file
|
@ -0,0 +1,74 @@
|
|||
--- libs.FreeBSD.orig Tue Oct 4 10:54:26 2005
|
||||
+++ libs.FreeBSD Thu Dec 1 23:43:58 2005
|
||||
@@ -1,5 +1,5 @@
|
||||
#Configuration for build kicad
|
||||
-KICAD_BIN = /usr/local/kicad/FreeBSD
|
||||
+KICAD_BIN = ${PREFIX}/kicad/FreeBSD
|
||||
|
||||
|
||||
SRCSUFF = .cpp
|
||||
@@ -13,11 +13,16 @@
|
||||
# KICAD_STATIC_LINK = 1
|
||||
|
||||
# path and version definition for wxWidgets and mesa libs
|
||||
-MESALIBSPATH = /usr/local/lib
|
||||
-WXPATH = `wx-config --prefix`/lib
|
||||
-PREFIX_WX_LIBS = lib`wx-config --basename`
|
||||
-SUFFIX_WX_LIBSTD = `wx-config --utility=`
|
||||
+MESALIBSPATH = ${LOCALBASE}/lib
|
||||
+WXPATH = `${WX_CONFIG} --prefix`/lib
|
||||
+ifdef KICAD_STATIC_LINK
|
||||
+PREFIX_WX_LIBS = lib`${WX_CONFIG} --basename`
|
||||
SUFFIX_WX_LIBGL = _gl-$(LIBVERSION).a
|
||||
+else
|
||||
+PREFIX_WX_LIBS = `${WX_CONFIG} --basename`
|
||||
+SUFFIX_WX_LIBGL = _gl-$(LIBVERSION)
|
||||
+endif
|
||||
+#SUFFIX_WX_LIBSTD = `${WX_CONFIG} --utility=`
|
||||
|
||||
# Use static link for libstdc++.a (sometimes also libsupc++.a)
|
||||
# locate libstdc++.a and copy it in kicad_dev/syslibs
|
||||
@@ -29,13 +34,13 @@
|
||||
LIBSTDC = -lstdc++
|
||||
endif
|
||||
|
||||
-LIBVERSION=`wx-config --release`
|
||||
+LIBVERSION=`${WX_CONFIG} --release`
|
||||
|
||||
# use link static for wxWidgets
|
||||
ifdef KICAD_STATIC_LINK
|
||||
WXSYSLIB= $(WXPATH)/$(PREFIX_WX_LIBS)-$(LIBVERSION).a \
|
||||
- /usr/X11R6/lib/libXinerama.a \
|
||||
- /usr/X11R6/lib/libXxf86vm.a \
|
||||
+ ${X11BASE}/lib/libXinerama.a \
|
||||
+ ${X11BASE}/lib/libXxf86vm.a \
|
||||
-lgtk-x11-2.0 -lgdk-x11-2.0 \
|
||||
-latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lgthread-2.0\
|
||||
-lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl\
|
||||
@@ -44,20 +49,20 @@
|
||||
|
||||
else
|
||||
#or use "standard command" for wxWidgets
|
||||
-WXSYSLIB= `wx-config --libs`
|
||||
+WXSYSLIB= `${WX_CONFIG} --libs`
|
||||
endif
|
||||
|
||||
|
||||
# attention à l'ordre des libairies
|
||||
-LIBS = -L/usr/local/lib -L/usr/X11R6/lib\
|
||||
+LIBS = -L${LOCALBASE}/lib -L${X11BASE}/lib\
|
||||
$(EXTRALIBS) $(WXSYSLIB)\
|
||||
- $(WXPATH)/libwxpng-$(LIBVERSION).a\
|
||||
- $(WXPATH)/libwxjpeg-$(LIBVERSION).a\
|
||||
- $(WXPATH)/libwxzlib-$(LIBVERSION).a\
|
||||
+ -lpng\
|
||||
+ -ljpeg\
|
||||
+ -lz\
|
||||
$(LIBSTDC)
|
||||
|
||||
ifdef KICAD_STATIC_LINK
|
||||
LIBS3D = $(WXPATH)/$(PREFIX_WX_LIBS)$(SUFFIX_WX_LIBGL) $(MESALIBSPATH)/libGL.a $(MESALIBSPATH)/libGLU.a
|
||||
else
|
||||
-LIBS3D = $(WXPATH)/$(PREFIX_WX_LIBS)$(SUFFIX_WX_LIBGL) -lGL -lGLU
|
||||
+LIBS3D = -l$(PREFIX_WX_LIBS)$(SUFFIX_WX_LIBGL) -lGL -lGLU
|
||||
endif
|
24
cad/kicad-devel/files/patch-makefile.gtk
Normal file
24
cad/kicad-devel/files/patch-makefile.gtk
Normal file
|
@ -0,0 +1,24 @@
|
|||
--- makefile.gtk.orig Thu Dec 1 20:47:21 2005
|
||||
+++ makefile.gtk Thu Dec 1 20:56:41 2005
|
||||
@@ -1,15 +1,16 @@
|
||||
KICAD_SUBDIRS = common 3d-viewer eeschema eeschema/plugins pcbnew cvpcb kicad gerbview
|
||||
KICAD_SUBDIRS_BIN = eeschema eeschema/plugins pcbnew cvpcb kicad gerbview
|
||||
# How to invoke make:
|
||||
-MAKE = make -k -f makefile.gtk
|
||||
-MAKE_INSTALL = make -f makefile.gtk install
|
||||
+MAKE_FLAGS = -k -f
|
||||
+MAKEFILE = makefile.gtk
|
||||
+INSTALL_TARGET = install
|
||||
ERASE = rm -f *.o
|
||||
|
||||
all:
|
||||
- @for d in $(KICAD_SUBDIRS); do (cd $$d && $(MAKE)); done
|
||||
+ @for d in $(KICAD_SUBDIRS); do (cd $$d && $(MAKE) $(MAKE_FLAGS) $(MAKEFILE)); done
|
||||
|
||||
install:
|
||||
- @for d in $(KICAD_SUBDIRS_BIN); do (cd $$d && $(MAKE_INSTALL)); done
|
||||
-
|
||||
+ @for d in $(KICAD_SUBDIRS_BIN); do (cd $$d && $(MAKE) $(MAKE_FLAGS) $(MAKEFILE) $(INSTALL_TARGET)); done
|
||||
+
|
||||
clean:
|
||||
@for d in $(KICAD_SUBDIRS); do (cd $$d && $(ERASE)); done
|
11
cad/kicad-devel/files/patch-pcbnew__class_module.cpp
Normal file
11
cad/kicad-devel/files/patch-pcbnew__class_module.cpp
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- ./pcbnew/class_module.cpp.orig Fri Sep 9 12:22:06 2005
|
||||
+++ ./pcbnew/class_module.cpp Thu Dec 1 23:15:31 2005
|
||||
@@ -1017,7 +1017,7 @@
|
||||
pos += 14;
|
||||
if ( flag ) // Affichage date de modification (utile en Module Editor)
|
||||
{
|
||||
- strcpy(Line, ctime(&m_LastEdit_Time));
|
||||
+ strcpy(Line, ctime((time_t*) &m_LastEdit_Time));
|
||||
strtok(Line," \n\r");
|
||||
strcpy( bufcar, strtok(NULL," \n\r") ); strcat(bufcar," ");
|
||||
strcat( bufcar, strtok(NULL," \n\r") ); strcat(bufcar,", ");
|
17
cad/kicad-devel/pkg-descr
Normal file
17
cad/kicad-devel/pkg-descr
Normal file
|
@ -0,0 +1,17 @@
|
|||
Kicad is an open source (GPL) software for the creation of electronic schematic
|
||||
diagrams and printed circuit board artwork.
|
||||
|
||||
Designed and written by Jean-Pierre Charras, a researcher at LIS (Laboratoire
|
||||
des Images et des Signaux) and a teacher in IUT de Saint Martin d'Heres
|
||||
(France), in the field of electrical engineering and image processing.
|
||||
|
||||
Kicad is a set of four softwares and a project manager:
|
||||
|
||||
* Eeschema: Schematic entry.
|
||||
* Pcbnew: Board editor.
|
||||
* Gerbview: GERBER viewer (photoplotter documents).
|
||||
* Cvpcb: footprint selector for components used in the circuit design.
|
||||
* Kicad: project manager.
|
||||
|
||||
WWW: http://iut-tice.ujf-grenoble.fr/kicad/
|
||||
WWW: http://www.lis.inpg.fr/realise_au_lis/kicad/index.html
|
7
cad/kicad-devel/pkg-message
Normal file
7
cad/kicad-devel/pkg-message
Normal file
|
@ -0,0 +1,7 @@
|
|||
..........................................................
|
||||
If you plan to create 3D shapes for Printed board modules,
|
||||
install the 3D modeler wings3D (port graphics/wings).
|
||||
|
||||
Pcbnew use the exported files in wrml (.wrl) format from
|
||||
wings3d (not the native .wings format).
|
||||
..........................................................
|
1125
cad/kicad-devel/pkg-plist
Normal file
1125
cad/kicad-devel/pkg-plist
Normal file
File diff suppressed because it is too large
Load diff
101
cad/kicad/Makefile
Normal file
101
cad/kicad/Makefile
Normal file
|
@ -0,0 +1,101 @@
|
|||
# New ports collection makefile for: kicad
|
||||
# Date created: 29 November 2005
|
||||
# Whom: Thierry Thomas <thierry@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= kicad
|
||||
DISTVERSION= 2005-10-27
|
||||
CATEGORIES= cad
|
||||
MASTER_SITES= ftp://iut-tice.ujf-grenoble.fr/cao/:dat \
|
||||
ftp://ftp.lis.inpg.fr/uploads/kicad/:dat \
|
||||
http://iut-tice.ujf-grenoble.fr/cao/:dat \
|
||||
ftp://iut-tice.ujf-grenoble.fr/cao/sources/:src \
|
||||
ftp://ftp.lis.inpg.fr/uploads/kicad/sources/:src\
|
||||
http://iut-tice.ujf-grenoble.fr/cao/sources/:src
|
||||
DISTFILES= ${PORTNAME}-${DISTVERSION}.tgz:dat \
|
||||
${PORTNAME}-sources-${DISTVERSION}${EXTRACT_SUFX}:src
|
||||
DIST_SUBDIR= ${PORTNAME}
|
||||
EXTRACT_ONLY= ${PORTNAME}-sources-${DISTVERSION}${EXTRACT_SUFX}
|
||||
|
||||
MAINTAINER= thierry@FreeBSD.org
|
||||
COMMENT= Schematic and PCB editing software
|
||||
|
||||
LIB_DEPENDS= wx_gtk2_core-2.6.0:${PORTSDIR}/x11-toolkits/wxgtk26
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
DISTFILES+= doc_components-${DOCVERSION}${EXTRACT_SUFX}:dat
|
||||
DOCVERSION= 2005-09-27
|
||||
.endif
|
||||
|
||||
WRKSRC= ${WRKDIR}/kicad-dev
|
||||
MAKEFILE= makefile.gtk
|
||||
|
||||
USE_ZIP= yes
|
||||
USE_GMAKE= yes
|
||||
USE_REINPLACE= yes
|
||||
USE_GL= yes
|
||||
|
||||
MAKE_ENV= WX_CONFIG=${WX_CONFIG}
|
||||
|
||||
WX_CONFIG= wxgtk2-2.6-config
|
||||
|
||||
INSTDIR= ${PORTNAME}
|
||||
PLIST_SUB= INSTDIR=${INSTDIR} OPSYS=${OPSYS}
|
||||
|
||||
BINS= cvpcb eeschema gerbview kicad pcbnew
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if exists(${LOCALBASE}/bin/konqueror)
|
||||
RUN_DEPENDS+= konqueror:${PORTSDIR}/x11/kdebase3
|
||||
.else
|
||||
RUN_DEPENDS+= xpdf:${PORTSDIR}/graphics/xpdf
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
for f in `${FIND} ${WRKSRC} -name ${MAKEFILE}`; do \
|
||||
${CP} $$f $$f.dos && \
|
||||
${TR} -d '\r' < $$f.dos > $$f ; \
|
||||
done
|
||||
${CP} ${WRKSRC}/libs.linux ${WRKSRC}/libs.${OPSYS}
|
||||
${REINPLACE_CMD} -e 's|kicad/linux|${INSTDIR}/${OPSYS}|' \
|
||||
${WRKSRC}/libs.${OPSYS}
|
||||
|
||||
pre-configure:
|
||||
for f in `${FIND} ${WRKSRC} -name ${MAKEFILE}`; do \
|
||||
${REINPLACE_CMD} -e 's|CC = gcc|#CC = gcc|' \
|
||||
-e 's|LD = gcc|LD = ${CC}|' \
|
||||
-e 's|-O2|${CFLAGS} -I${X11BASE}/include|' \
|
||||
-e 's|wx-config|${WX_CONFIG}|' \
|
||||
-e 's|LDFLAGS =|LDFLAGS += -L${X11BASE}/lib|' \
|
||||
-e 's|libs.linux|libs.${OPSYS}|' \
|
||||
-e 's|gcc -D|${CC} -D|' $$f ; \
|
||||
done
|
||||
${REINPLACE_CMD} -e 's|kicad/linux|${INSTDIR}/${OPSYS}|' \
|
||||
-e 's|/usr/local|${PREFIX}|' ${WRKSRC}/common/gestfich.cpp
|
||||
${REINPLACE_CMD} -e 's|/usr/bin/xpdf|${X11BASE}/bin/xpdf|' \
|
||||
-e 's|/usr/bin/konqueror|${LOCALBASE}/bin/konqueror|' \
|
||||
${WRKSRC}/common/eda_doc.cpp
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${PREFIX}/${INSTDIR}/${OPSYS}/plugins
|
||||
(cd ${PREFIX} && ${TAR} -xzopf ${_DISTDIR}/${PORTNAME}-${DISTVERSION}.tgz)
|
||||
${RM} -rf ${PREFIX}/${INSTDIR}/linux ${PREFIX}/${INSTDIR}/wings3d
|
||||
${RMDIR} ${PREFIX}/${INSTDIR}/modules/packages3d/conn_HExx
|
||||
|
||||
post-install:
|
||||
${LN} -sf ${BINS:S|^|${PREFIX}/${INSTDIR}/${OPSYS}/|} ${PREFIX}/bin
|
||||
.if !defined(NOPORTDOCS)
|
||||
${UNZIP_CMD} -oq ${_DISTDIR}/doc_components-${DOCVERSION}${EXTRACT_SUFX} \
|
||||
-d ${PREFIX}/${INSTDIR}/library
|
||||
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/${INSTDIR}/library/doc
|
||||
.else
|
||||
${RM} -rf ${PREFIX}/${INSTDIR}/library/doc
|
||||
.endif
|
||||
@${ECHO_MSG}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO_MSG}
|
||||
|
||||
.include <bsd.port.post.mk>
|
9
cad/kicad/distinfo
Normal file
9
cad/kicad/distinfo
Normal file
|
@ -0,0 +1,9 @@
|
|||
MD5 (kicad/kicad-2005-10-27.tgz) = b6fdffb8c46756152089416ad3e8e6bb
|
||||
SHA256 (kicad/kicad-2005-10-27.tgz) = 7a083af595b3979a48ece54aaf5f503ef189189173c50958e8a2d3b3b9a2e854
|
||||
SIZE (kicad/kicad-2005-10-27.tgz) = 49383403
|
||||
MD5 (kicad/kicad-sources-2005-10-27.zip) = 316162f01f51a3c5b34580555a1d1c11
|
||||
SHA256 (kicad/kicad-sources-2005-10-27.zip) = 77f61f02069e237ee065031195c801bc1900f3d65031bbea00b2ba8b3e947852
|
||||
SIZE (kicad/kicad-sources-2005-10-27.zip) = 1318994
|
||||
MD5 (kicad/doc_components-2005-09-27.zip) = d510bc5cebcfdccf0d971d715226df4a
|
||||
SHA256 (kicad/doc_components-2005-09-27.zip) = 3bc0388432abc724626c3e9db8ac59cc00240398611c878878ea2f132204256c
|
||||
SIZE (kicad/doc_components-2005-09-27.zip) = 52052663
|
17
cad/kicad/files/patch-include__fctsys.h
Normal file
17
cad/kicad/files/patch-include__fctsys.h
Normal file
|
@ -0,0 +1,17 @@
|
|||
--- ./include/fctsys.h.orig Tue Mar 22 15:30:28 2005
|
||||
+++ ./include/fctsys.h Thu Dec 1 21:50:58 2005
|
||||
@@ -18,8 +18,12 @@
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
-#ifndef __DARWIN__
|
||||
-#include <malloc.h> // MacOSX (DARWIN): malloc() and free() are in stdlib.h
|
||||
+#ifdef __FreeBSD__
|
||||
+#include <stdlib.h>
|
||||
+#else
|
||||
+# ifndef __DARWIN__
|
||||
+# include <malloc.h> // MacOSX (DARWIN): malloc() and free() are in stdlib.h
|
||||
+# endif
|
||||
#endif
|
||||
#include <time.h>
|
||||
#include <math.h>
|
74
cad/kicad/files/patch-libs.FreeBSD
Normal file
74
cad/kicad/files/patch-libs.FreeBSD
Normal file
|
@ -0,0 +1,74 @@
|
|||
--- libs.FreeBSD.orig Tue Oct 4 10:54:26 2005
|
||||
+++ libs.FreeBSD Thu Dec 1 23:43:58 2005
|
||||
@@ -1,5 +1,5 @@
|
||||
#Configuration for build kicad
|
||||
-KICAD_BIN = /usr/local/kicad/FreeBSD
|
||||
+KICAD_BIN = ${PREFIX}/kicad/FreeBSD
|
||||
|
||||
|
||||
SRCSUFF = .cpp
|
||||
@@ -13,11 +13,16 @@
|
||||
# KICAD_STATIC_LINK = 1
|
||||
|
||||
# path and version definition for wxWidgets and mesa libs
|
||||
-MESALIBSPATH = /usr/local/lib
|
||||
-WXPATH = `wx-config --prefix`/lib
|
||||
-PREFIX_WX_LIBS = lib`wx-config --basename`
|
||||
-SUFFIX_WX_LIBSTD = `wx-config --utility=`
|
||||
+MESALIBSPATH = ${LOCALBASE}/lib
|
||||
+WXPATH = `${WX_CONFIG} --prefix`/lib
|
||||
+ifdef KICAD_STATIC_LINK
|
||||
+PREFIX_WX_LIBS = lib`${WX_CONFIG} --basename`
|
||||
SUFFIX_WX_LIBGL = _gl-$(LIBVERSION).a
|
||||
+else
|
||||
+PREFIX_WX_LIBS = `${WX_CONFIG} --basename`
|
||||
+SUFFIX_WX_LIBGL = _gl-$(LIBVERSION)
|
||||
+endif
|
||||
+#SUFFIX_WX_LIBSTD = `${WX_CONFIG} --utility=`
|
||||
|
||||
# Use static link for libstdc++.a (sometimes also libsupc++.a)
|
||||
# locate libstdc++.a and copy it in kicad_dev/syslibs
|
||||
@@ -29,13 +34,13 @@
|
||||
LIBSTDC = -lstdc++
|
||||
endif
|
||||
|
||||
-LIBVERSION=`wx-config --release`
|
||||
+LIBVERSION=`${WX_CONFIG} --release`
|
||||
|
||||
# use link static for wxWidgets
|
||||
ifdef KICAD_STATIC_LINK
|
||||
WXSYSLIB= $(WXPATH)/$(PREFIX_WX_LIBS)-$(LIBVERSION).a \
|
||||
- /usr/X11R6/lib/libXinerama.a \
|
||||
- /usr/X11R6/lib/libXxf86vm.a \
|
||||
+ ${X11BASE}/lib/libXinerama.a \
|
||||
+ ${X11BASE}/lib/libXxf86vm.a \
|
||||
-lgtk-x11-2.0 -lgdk-x11-2.0 \
|
||||
-latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lgthread-2.0\
|
||||
-lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl\
|
||||
@@ -44,20 +49,20 @@
|
||||
|
||||
else
|
||||
#or use "standard command" for wxWidgets
|
||||
-WXSYSLIB= `wx-config --libs`
|
||||
+WXSYSLIB= `${WX_CONFIG} --libs`
|
||||
endif
|
||||
|
||||
|
||||
# attention à l'ordre des libairies
|
||||
-LIBS = -L/usr/local/lib -L/usr/X11R6/lib\
|
||||
+LIBS = -L${LOCALBASE}/lib -L${X11BASE}/lib\
|
||||
$(EXTRALIBS) $(WXSYSLIB)\
|
||||
- $(WXPATH)/libwxpng-$(LIBVERSION).a\
|
||||
- $(WXPATH)/libwxjpeg-$(LIBVERSION).a\
|
||||
- $(WXPATH)/libwxzlib-$(LIBVERSION).a\
|
||||
+ -lpng\
|
||||
+ -ljpeg\
|
||||
+ -lz\
|
||||
$(LIBSTDC)
|
||||
|
||||
ifdef KICAD_STATIC_LINK
|
||||
LIBS3D = $(WXPATH)/$(PREFIX_WX_LIBS)$(SUFFIX_WX_LIBGL) $(MESALIBSPATH)/libGL.a $(MESALIBSPATH)/libGLU.a
|
||||
else
|
||||
-LIBS3D = $(WXPATH)/$(PREFIX_WX_LIBS)$(SUFFIX_WX_LIBGL) -lGL -lGLU
|
||||
+LIBS3D = -l$(PREFIX_WX_LIBS)$(SUFFIX_WX_LIBGL) -lGL -lGLU
|
||||
endif
|
24
cad/kicad/files/patch-makefile.gtk
Normal file
24
cad/kicad/files/patch-makefile.gtk
Normal file
|
@ -0,0 +1,24 @@
|
|||
--- makefile.gtk.orig Thu Dec 1 20:47:21 2005
|
||||
+++ makefile.gtk Thu Dec 1 20:56:41 2005
|
||||
@@ -1,15 +1,16 @@
|
||||
KICAD_SUBDIRS = common 3d-viewer eeschema eeschema/plugins pcbnew cvpcb kicad gerbview
|
||||
KICAD_SUBDIRS_BIN = eeschema eeschema/plugins pcbnew cvpcb kicad gerbview
|
||||
# How to invoke make:
|
||||
-MAKE = make -k -f makefile.gtk
|
||||
-MAKE_INSTALL = make -f makefile.gtk install
|
||||
+MAKE_FLAGS = -k -f
|
||||
+MAKEFILE = makefile.gtk
|
||||
+INSTALL_TARGET = install
|
||||
ERASE = rm -f *.o
|
||||
|
||||
all:
|
||||
- @for d in $(KICAD_SUBDIRS); do (cd $$d && $(MAKE)); done
|
||||
+ @for d in $(KICAD_SUBDIRS); do (cd $$d && $(MAKE) $(MAKE_FLAGS) $(MAKEFILE)); done
|
||||
|
||||
install:
|
||||
- @for d in $(KICAD_SUBDIRS_BIN); do (cd $$d && $(MAKE_INSTALL)); done
|
||||
-
|
||||
+ @for d in $(KICAD_SUBDIRS_BIN); do (cd $$d && $(MAKE) $(MAKE_FLAGS) $(MAKEFILE) $(INSTALL_TARGET)); done
|
||||
+
|
||||
clean:
|
||||
@for d in $(KICAD_SUBDIRS); do (cd $$d && $(ERASE)); done
|
11
cad/kicad/files/patch-pcbnew__class_module.cpp
Normal file
11
cad/kicad/files/patch-pcbnew__class_module.cpp
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- ./pcbnew/class_module.cpp.orig Fri Sep 9 12:22:06 2005
|
||||
+++ ./pcbnew/class_module.cpp Thu Dec 1 23:15:31 2005
|
||||
@@ -1017,7 +1017,7 @@
|
||||
pos += 14;
|
||||
if ( flag ) // Affichage date de modification (utile en Module Editor)
|
||||
{
|
||||
- strcpy(Line, ctime(&m_LastEdit_Time));
|
||||
+ strcpy(Line, ctime((time_t*) &m_LastEdit_Time));
|
||||
strtok(Line," \n\r");
|
||||
strcpy( bufcar, strtok(NULL," \n\r") ); strcat(bufcar," ");
|
||||
strcat( bufcar, strtok(NULL," \n\r") ); strcat(bufcar,", ");
|
17
cad/kicad/pkg-descr
Normal file
17
cad/kicad/pkg-descr
Normal file
|
@ -0,0 +1,17 @@
|
|||
Kicad is an open source (GPL) software for the creation of electronic schematic
|
||||
diagrams and printed circuit board artwork.
|
||||
|
||||
Designed and written by Jean-Pierre Charras, a researcher at LIS (Laboratoire
|
||||
des Images et des Signaux) and a teacher in IUT de Saint Martin d'Heres
|
||||
(France), in the field of electrical engineering and image processing.
|
||||
|
||||
Kicad is a set of four softwares and a project manager:
|
||||
|
||||
* Eeschema: Schematic entry.
|
||||
* Pcbnew: Board editor.
|
||||
* Gerbview: GERBER viewer (photoplotter documents).
|
||||
* Cvpcb: footprint selector for components used in the circuit design.
|
||||
* Kicad: project manager.
|
||||
|
||||
WWW: http://iut-tice.ujf-grenoble.fr/kicad/
|
||||
WWW: http://www.lis.inpg.fr/realise_au_lis/kicad/index.html
|
7
cad/kicad/pkg-message
Normal file
7
cad/kicad/pkg-message
Normal file
|
@ -0,0 +1,7 @@
|
|||
..........................................................
|
||||
If you plan to create 3D shapes for Printed board modules,
|
||||
install the 3D modeler wings3D (port graphics/wings).
|
||||
|
||||
Pcbnew use the exported files in wrml (.wrl) format from
|
||||
wings3d (not the native .wings format).
|
||||
..........................................................
|
1125
cad/kicad/pkg-plist
Normal file
1125
cad/kicad/pkg-plist
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue