# New ports collection makefile for: kicad-devel # Date created: 27 October 2009 # Whom: Michael Reifenberger # # $FreeBSD$ # PORTNAME= kicad DISTVERSION= r${BZR_SRC_REV} PORTREVISION= 4 CATEGORIES= cad DIST_SUBDIR= ${PORTNAME} MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= mr PKGNAMESUFFIX= -devel # Additional patches: http://svn.openmoko.org/trunk/gta02-core/kicad-patches/ MAINTAINER= mr@FreeBSD.org COMMENT= Schematic and PCB editing software LIB_DEPENDS= boost_thread.4:${PORTSDIR}/devel/boost-libs CONFLICTS= kicad-2008* DOCVERSION= 1.1 LIBVERSION= 1.0 USE_BZIP2= yes USE_GETTEXT= yes #USE_GMAKE= yes USE_GL= yes USE_WX= 2.8 WX_UNICODE= yes USE_GNOME= atk # Required by libwx_gtk2_aui-2.8.so #TODO Add support for Python. #OPTIONS= GTA2CORE "Apply additional Openmoko GTA2_CORE patches" off PLIST_SUB= OPSYS=${OPSYS} \ DESKTOPDIR=${DESKTOPDIR:S|^${PREFIX}/||} BINS= cvpcb eeschema gerbview kicad pcbnew EXTRAS2RM= linux-non_unicode linux wings3d LINUX.README \ contrib_makefiles.txt running_kicad_under_W98.txt USE_CMAKE= yes CMAKE_ARGS= -DLOCALBASE="${LOCALBASE}" \ -DCMAKE_INCLUDE_PATH="${LOCALBASE}/include" \ -DwxWidgets_CONFIG_EXECUTABLE="${WX_CONFIG}" CMAKE_USE_PTHREAD= yes MAKE_JOBS_SAFE= yes .include #.if !defined(WITHOUT_GTA2CORE) #PATCH_STRIP= -p1 #EXTRA_PATCHES+= \ # ${WRKDIR}/kicad-patches/eeschema-plot-only-mode.patch \ # ${WRKDIR}/kicad-patches/streamline-erc.patch #.endif .if exists(${LOCALBASE}/bin/konqueror) RUN_DEPENDS+= konqueror:${PORTSDIR}/x11/kdebase3 .else RUN_DEPENDS+= xpdf:${PORTSDIR}/graphics/xpdf .endif .if defined(BOOTSTRAP) BZR_SRC_REV!= bzr revno lp:kicad BZR_LIB_REV!= bzr revno lp:~kicad-lib-committers/kicad/library BZR_DOC_REV!= bzr revno lp:~kicad-developers/kicad/doc .else .include "Makefile.bzr_rev" .endif .if defined(BOOTSTRAP) # Updating to new rev: # make BOOTSTRAP=YES do-fetch # make makesum && make && make install # make build-plist FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion FETCH_DEPENDS+= bzr:${PORTSDIR}/devel/bazaar-ng do-fetch: ${MKDIR} ${WRKDIR} ${ECHO} ${WRKSRC} bzr export -r ${BZR_SRC_REV} ${WRKSRC} lp:kicad bzr export -r ${BZR_LIB_REV} ${WRKDIR}/kicad-library lp:~kicad-lib-committers/kicad/library bzr export -r ${BZR_DOC_REV} ${WRKDIR}/kicad-doc lp:~kicad-developers/kicad/doc svn export \ http://svn.openmoko.org/trunk/gta02-core/kicad-patches ${WRKDIR}/kicad-patches cd ${WRKDIR}; tar cvfy ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}.tar.bz2 \ ${DISTNAME} kicad-library kicad-doc kicad-patches echo "BZR_SRC_REV= ${BZR_SRC_REV}" > ${MASTERDIR}/Makefile.bzr_rev echo "BZR_LIB_REV= ${BZR_LIB_REV}" >> ${MASTERDIR}/Makefile.bzr_rev echo "BZR_DOC_REV= ${BZR_DOC_REV}" >> ${MASTERDIR}/Makefile.bzr_rev .endif ki: svn export \ http://svn.openmoko.org/trunk/gta02-core/kicad-patches ${WRKDIR}/kicad-patches tmp: echo "${DATADIR} ${DATADIR:H}" post-configure: ${REINPLACE_CMD} -e 's|#define HAVE_ISO646_H|//#define HAVE_ISO646_H|' \ ${WRKSRC}/config.h for f in `${FIND} ${WRKSRC} -name \*.make -o -name link.txt` ; do \ ${REINPLACE_CMD} \ -e 's|CC = gcc|#CC = gcc|' \ -e 's|LD = gcc|LD = ${CC}|' \ -e 's|LD = g++|LD = ${CXX}|' \ -e 's|wx-config|${WX_CONFIG}|' \ -e 's|CXX_FLAGS =|CXX_FLAGS = -I${LOCALBASE}/include|' \ -e 's|C_FLAGS =|C_FLAGS = -I${LOCALBASE}/include|' \ -e 's|LDFLAGS =|LDFLAGS += -L${LOCALBASE}/lib|' \ -e 's|gcc -D|${CC} -D|' \ -e 's/-pthread;-D_THREAD_SAFE/-pthread -D_THREAD_SAFE/g' \ $$f ; \ done pre-install: @echo "${DATADIR}, ${DOCSDIR}" post-install: .for subdir in library modules ${CP} -Rp ${WRKDIR}/kicad-library/${subdir} ${DATADIR} .endfor .for subdir in internat ${CP} -Rp ${WRKDIR}/kicad-doc/${subdir} ${DOCSDIR} .endfor PLIST_FILE_LIST= bin/freeroute.jnlp \ bin/cvpcb \ bin/eeschema \ bin/gerbview \ bin/kicad \ bin/minizip \ bin/pcbnew \ bin/bitmap2component \ share/mimelnk/application/x-kicad-schematic.desktop \ share/mimelnk/application/x-kicad-project.desktop \ share/icons/hicolor/24x24/mimetypes/application-x-kicad-project.png \ share/icons/hicolor/48x48/apps/kicad.png \ share/icons/hicolor/48x48/mimetypes/application-x-kicad-project.png \ share/icons/hicolor/scalable/apps/kicad.svg \ share/icons/hicolor/scalable/mimetypes/application-x-kicad-project.svg \ share/icons/hicolor/16x16/mimetypes/application-x-kicad-project.png \ share/icons/hicolor/32x32/mimetypes/application-x-kicad-project.png \ share/icons/hicolor/22x22/mimetypes/application-x-kicad-project.png \ share/mime/packages/kicad.xml \ share/applications/kicad.desktop \ share/applications/eeschema.desktop PLIST_DIR_LIST= lib/kicad PLIST_SHAREDDIR_LIST= share/applications \ share/mimelnk/application \ share/mimelnk build-plist: ${RM} -f ${PLIST} cd ${PREFIX} && \ (ls ${PLIST_FILE_LIST}; ${FIND} ${PLIST_DIR_LIST} -type f) | \ ${SORT} >> ${PLIST} ${FIND} ${DATADIR} ${DOCSDIR} -type f | \ ${SED} -e 's|${DATADIR}|%%DATADIR%%|' \ -e 's|${DOCSDIR}|%%DOCSDIR%%|' | ${SORT} >> ${PLIST} cd ${PREFIX} && \ ${FIND} ${PLIST_DIR_LIST} -type d | \ ${SORT} -r | ${SED} -e 's|^|@dirrm |' >> ${PLIST} .for subdir in ${PLIST_SHAREDDIR_LIST} @${ECHO_CMD} '@unexec ${RMDIR} %D/${subdir} 2> /dev/null || true' >> ${PLIST} .endfor ${FIND} ${DATADIR} ${DOCSDIR} -type d | ${SORT} -r | \ ${SED} -e 's|${DATADIR}|%%DATADIR%%|' \ -e 's|${DOCSDIR}|%%DOCSDIR%%|' \ -e 's|^|@dirrm |' >> ${PLIST} .include cgit/cgit.cgi/freebsd-ports-gnome/commit/lang/gcc45?h=gstreamer0.10-removal&id=7a9dda32e59b918a3f6819492bfed55d915c2bf4'>commitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Update to the 20101125 snapshot of GCC 4.5.2.gerald2010-11-292-11/+11
* Update to the 20101118 snapshot of GCC 4.5.2.gerald2010-11-202-11/+11
* Update to the 20101111 snapshot of GCC 4.5.2.gerald2010-11-142-11/+11
* Update to the 20101104 snapshot of GCC 4.5.2.gerald2010-11-052-17/+11
* Update to the 20101028 snapshot of GCC 4.5.2.gerald2010-10-312-16/+16
* Update to the 20101021 snapshot of GCC 4.5.2.gerald2010-10-242-16/+16
* Update to the 20101014 snapshot of GCC 4.5.2.gerald2010-10-172-16/+16
* Update to the 20101007 snapshot of GCC 4.5.2.gerald2010-10-122-16/+16
* Replace the explicit build dependency on devel/binutils by USE_BINUTILS.gerald2010-09-281-1/+1
* Update to the 20100923 snapshot of GCC 4.5.2.gerald2010-09-262-16/+16
* Update to the 20100916 snapshot of GCC 4.5.2 which already includes one ofgerald2010-09-183-36/+16
* Backport the change to make Java support an OPTION (JAVA) so it is easiergerald2010-09-141-1/+2
* Update to the 20100909 snapshot of GCC 4.5.2. With two new local patchesgerald2010-09-124-17/+56
* Update to the 20100902 snapshot of GCC 4.5.2. This brings first _float128gerald2010-09-042-16/+16
* Update to the 20100819 snapshot of GCC 4.5.2.gerald2010-08-212-17/+17
* Update to the 20100812 snapshot of GCC 4.5.2.gerald2010-08-142-16/+16
* Update to the 20100805 snapshot of GCC 4.5.2.gerald2010-08-072-16/+16
* Update to the 20100729 snapshot of GCC 4.5.1.gerald2010-07-302-16/+16
* Update to the 20100722 snapshot of GCC 4.5.1, which basically coincidesgerald2010-07-252-16/+16
* Update to the 20100715 snapshot of GCC 4.5.1.gerald2010-07-172-16/+16
* Update to the 20100708 snapshot of GCC 4.5.1.gerald2010-07-102-16/+16
* Update to the 20100701 snapshot of GCC 4.5.1.gerald2010-07-052-16/+16
* Simplify full-regression-test.gerald2010-06-271-1/+1
* Update to the 20100624 snapshot of GCC 4.5.1.gerald2010-06-272-16/+16
* Update to the 20100617 snapshot of GCC 4.5.1.gerald2010-06-192-16/+16
* Update to the 20100610 snapshot of GCC 4.5.1.gerald2010-06-122-17/+16
* Chase mpfr library and bump PORTREVISION.ale2010-06-111-1/+2
* Update to the 20100603 snapshot of GCC 4.5.1.gerald2010-06-042-16/+16
* Update to the 20100527 snapshot of GCC 4.5.1.gerald2010-05-292-16/+16
* Update to the 20100520 snapshot of GCC 4.5.1.gerald2010-05-222-16/+16
* Update to the 20100513 snapshot of GCC 4.5.1.gerald2010-05-142-16/+16
* Update to the 20100506 snapshot of GCC 4.5.1.gerald2010-05-082-17/+16
* - Ok, this should work. I toasted the BUILD_DEPENDS with a "=" insteadglarkin2010-05-041-1/+1
* - Re-added BUILD_DEPENDS on zip that I didn't think needed to be there,glarkin2010-05-041-0/+1
* - Added support for gcj (Java compiler) to prepare the print/pdftk portglarkin2010-05-043-5/+17
* Add a new option LTO that enables the new link-time optimization frameworkgerald2010-05-031-0/+11
* Update to the 20100429 snapshot of GCC 4.5.1.gerald2010-04-302-16/+16
* Update to the 20100422 snapshot of GCC 4.5.1.gerald2010-04-252-17/+16
* Switch to use newer GMP version.ale2010-04-191-1/+2
* Update to the 20100415 snapshot of GCC 4.5.1. This is basically thegerald2010-04-192-16/+16
* Update to the 20100401 snapshot of GCC 4.5.0.gerald2010-04-022-16/+16
* Update to the 20100318 snapshot of GCC 4.5.0.gerald2010-03-192-16/+16
* Update to the 20100311 snapshot of GCC 4.5.0.gerald2010-03-132-16/+16
* Update to the 20100304 snapshot of GCC 4.5.0.gerald2010-03-082-16/+16
* Update to the 20100225 snapshot of GCC 4.5.0.gerald2010-02-272-16/+16
* Update to the 20100218 snapshot of GCC 4.5.0.gerald2010-02-192-16/+16
* Update to the 20100211 snapshot of GCC 4.5.0.gerald2010-02-142-16/+16
* Update to the 20100204 snapshot of GCC 4.5.0.gerald2010-02-062-16/+16
* Update to the 20100128 snapshot of GCC 4.5.0.gerald2010-02-022-16/+16
* Also build Java on amd64.gerald2010-01-221-1/+1
* Update to the 20100114 snapshot of GCC 4.5.0.gerald2010-01-172-16/+17
* Update to the 20100107 snapshot of GCC 4.5.0.gerald2010-01-082-16/+16
* Update to the 20091231 snapshot of GCC 4.5.0 which brings some keygerald2010-01-022-25/+16
* Update to the 20091224 snapshot of GCC 4.5.0. On the way, sort pkg-plistgerald2009-12-283-23/+23
* Update to the 20091217 snapshot of GCC 4.5.0.gerald2009-12-192-17/+16
* Use current GNU binutils from ports (devel/binutils) instead of thegerald2009-12-011-5/+9
* Update to the 20091126 snapshot of GCC 4.5.0. Among others this failsgerald2009-11-302-16/+16
* With lang/gcc295 gone (and not building for most of the last year), we cangerald2009-11-251-8/+0
* Update to the 20091119 snapshot of GCC 4.5.0.gerald2009-11-202-16/+16
* No longer download Objective-C related files which we don't actually use.gerald2009-11-203-15/+6
* Update to the 20091112 snapshot of GCC 4.5.0.gerald2009-11-132-19/+19
* Update to the 20091105 snapshot of GCC 4.5.0.gerald2009-11-072-19/+19
* Update to the 20091029 snapshot of GCC 4.5.0.gerald2009-10-312-19/+19
* Update to the 20091022 snapshot of GCC 4.5.0.gerald2009-10-252-19/+19
* Update to the 20091015 snapshot of GCC 4.5.0.gerald2009-10-172-19/+19
* Update to the 20091008 snapshot of GCC 4.5.0. Add math/mpc as agerald2009-10-112-20/+21
* Update to the 20091001 snapshot of GCC 4.5.0.gerald2009-10-032-19/+19
* For GCC 4.5 libgcj has been broken up such compilation no longer requiresgerald2009-09-271-9/+0
* Update to the 20090924 snapshot of GCC 4.5.0.gerald2009-09-262-19/+19
* Update to the 20090917 snapshot of GCC 4.5.0.gerald2009-09-192-19/+19
* Update to the 20090910 snapshot of GCC 4.5.0.gerald2009-09-112-19/+19
* Update to the 20090827 snapshot of GCC 4.5.0.gerald2009-09-042-19/+19
* Update to the 20090820 snapshot of GCC 4.5.0.gerald2009-08-222-19/+19
* Update to the 20090813 snapshot of GCC 4.5.0.gerald2009-08-142-19/+19
* Update to the 20090806 snapshot of GCC 4.5.0.gerald2009-08-072-19/+19
* Update to the 20090730 snapshot of GCC 4.5.0.gerald2009-08-012-19/+19
* Update to the 20090723 snapshot of GCC 4.5.0.gerald2009-07-252-19/+19
* Update to the 20090716 snapshot of GCC 4.5.0.gerald2009-07-182-19/+19
* Update to the 20090709 snapshot of GCC 4.5.0.gerald2009-07-122-19/+19
* Update to the 20090625 snapshot of GCC 4.5.0.gerald2009-06-272-19/+19
* The new libffi man pages depend on Java, thus are not available on x86-64.gerald2009-06-221-3/+3
* Update to the 20090618 snapshot of GCC 4.5.0. Tweak pkg-descr "footer".gerald2009-06-204-26/+32
* Update to the 20090604 snapshot of GCC 4.5.0.gerald2009-06-062-19/+19
* Update to the 20090528 snapshot of GCC 4.5.0.gerald2009-05-303-23/+30
* Update to the 20090521 snapshot of GCC 4.5.0.gerald2009-05-242-19/+19
* Make the determination of SUFFIX more general and the one ofgerald2009-05-191-2/+2
* Update to the 20090514 snapshot of GCC 4.5.0.gerald2009-05-182-24/+24
* - Chase math/libgmp4 shlib bumppav2009-05-141-1/+1
* Update to the 20090507 snapshot of GCC 4.5.0.gerald2009-05-102-19/+19
* Update to the 20090423 snapshot of GCC 4.5.0.gerald2009-04-252-19/+19
* Update to the 20090409 snapshot of GCC 4.5.0.gerald2009-04-102-19/+19
* This port installs gcc45, g++45, gcj45, gfortran45 and so forth, not thegerald2009-04-081-2/+2
* Initiate lang/gcc45 by updating to the 20090402 snapshot of GCC 4.5.0.gerald2009-04-083-28/+27
* Update to the 20090331 snapshot of GCC 4.4.0.gerald2009-04-012-19/+19
* Update to the 20090327 snapshot of GCC 4.4.0.gerald2009-03-302-19/+20
* Update to the 20090313 snapshot of GCC 4.4.0.gerald2009-03-152-33/+28
* Update to the 20090227 snapshot of GCC 4.4.0.gerald2009-02-282-19/+19
* Update to the 20090220 snapshot of GCC 4.4.0.gerald2009-02-212-19/+19
* Update to the 20090213 snapshot of GCC 4.4.0.gerald2009-02-153-25/+19
* Update to the 20090130 snapshot of GCC 4.4.0.gerald2009-02-012-24/+24
* Chase mpfr library.ale2009-01-311-1/+1
* Update to the 20090123 snapshot of GCC 4.4.0.gerald2009-01-242-19/+19
* Update to the 20090116 snapshot of GCC 4.4.0.gerald2009-01-182-19/+19
* Update to the 20090109 snapshot of GCC 4.4.0.gerald2009-01-112-19/+19
* - Remove conditional checks for FreeBSD 5.x and olderpav2009-01-061-8/+2
* Replace CONFLICTS=gcc-2.95.*, which actually is too late to preventgerald2009-01-041-3/+8
* Update to the 20090102 snapshot of GCC 4.4.0.gerald2009-01-042-19/+19
* Update to the 20081226 snapshot of GCC 4.4.0.gerald2008-12-282-19/+19
* Update to the 20081128 snapshot of GCC 4.4.0.gerald2008-12-012-19/+19
* Update to the 20081121 snapshot of GCC 4.4.0.gerald2008-11-232-19/+19
* Update to the 20081107 snapshot of GCC 4.4.0.gerald2008-11-092-19/+20
* Update to the 20081017 snapshot of GCC 4.4.0.gerald2008-10-252-19/+19
* Update to the 20081003 snapshot of GCC 4.4.0.gerald2008-10-052-19/+19
* Update to the 20080926 snapshot of GCC 4.4.0.gerald2008-09-282-19/+19
* Update to the 20080919 snapshot of GCC 4.4.0.gerald2008-09-242-19/+19
* Update to the 20080905 snapshot of GCC 4.4.0.gerald2008-09-072-19/+19
* Update to the 20080822 snapshot of GCC 4.4.0.gerald2008-08-242-19/+19
* Update to the 20080815 snapshot of GCC 4.4.0.gerald2008-08-173-19/+20
* Update to the 20080801 snapshot of GCC 4.4.0.gerald2008-08-042-19/+19
* Update to the 20080725 snapshot of GCC 4.4.0.gerald2008-07-272-19/+19
* Update to the 20080711 snapshot of GCC 4.4.0. Among others, libgcjgerald2008-07-133-20/+26
* Update to the 20080627 snapshot of GCC 4.4.0.gerald2008-06-292-19/+19
* Update to the 20080613 snapshot of GCC 4.4.0.gerald2008-06-152-19/+19
* Update to the 20080606 snapshot of GCC 4.4.0.gerald2008-06-11