From owner-svn-ports-head@freebsd.org Mon Feb 1 06:23:45 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 346DAA96A5D; Mon, 1 Feb 2016 06:23:45 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DB8E91D17; Mon, 1 Feb 2016 06:23:44 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u116Nh7c063642; Mon, 1 Feb 2016 06:23:43 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u116NheK063634; Mon, 1 Feb 2016 06:23:43 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201602010623.u116NheK063634@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Mon, 1 Feb 2016 06:23:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r407684 - in head/cad: . fritzing fritzing/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Feb 2016 06:23:45 -0000 Author: pi Date: Mon Feb 1 06:23:42 2016 New Revision: 407684 URL: https://svnweb.freebsd.org/changeset/ports/407684 Log: New port: cad/fritzing Fritzing is an Electronic Design Automation software with a low entry barrier, suited for the needs of designers and artists. It uses the metaphor of the breadboard, so that it is easy to transfer your hardware sketch to the software. From there it is possible to create PCB layouts for turning it into a robust PCB yourself or by help of a manufacturer. WWW: http://fritzing.org/ PR: 206697 Submitted by: lenzi.sergio@gmail.com Added: head/cad/fritzing/ head/cad/fritzing/Makefile (contents, props changed) head/cad/fritzing/distinfo (contents, props changed) head/cad/fritzing/files/ head/cad/fritzing/files/patch-fritzing.desktop (contents, props changed) head/cad/fritzing/files/patch-phoenix.pro (contents, props changed) head/cad/fritzing/files/pkg-install.in (contents, props changed) head/cad/fritzing/pkg-descr (contents, props changed) head/cad/fritzing/pkg-plist (contents, props changed) Modified: head/cad/Makefile Modified: head/cad/Makefile ============================================================================== --- head/cad/Makefile Mon Feb 1 06:10:21 2016 (r407683) +++ head/cad/Makefile Mon Feb 1 06:23:42 2016 (r407684) @@ -25,6 +25,7 @@ SUBDIR += feappv SUBDIR += fidocadj SUBDIR += freehdl + SUBDIR += fritzing SUBDIR += gdsreader SUBDIR += gdt SUBDIR += geda Added: head/cad/fritzing/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/cad/fritzing/Makefile Mon Feb 1 06:23:42 2016 (r407684) @@ -0,0 +1,45 @@ +# Created by: Sergio Lenzi +# $FreeBSD$ + +PORTNAME= fritzing +PORTVERSION= 0.9.2 +PORTREVISION= 3 +CATEGORIES= cad +MASTER_SITES= https://github.com/fritzing/fritzing-app/archive/:source \ + https://github.com/fritzing/fritzing-parts/archive/:parts +DISTFILES= 0.9.2b.tar.gz:source 0.9.2b.zip:parts +DIST_SUBDIR= ${PORTNAME} + +MAINTAINER= lenzi.sergio@gmail.com +COMMENT= CAD for printed circuit boards + +LICENSE= GPLv2+ + +SUB_FILES+= pkg-install + +WRKSRC= ${WRKDIR}/fritzing-app-${PORTVERSION}b + +USES= dos2unix gmake python qmake tar:bzip2 +USE_QT5= buildtools concurrent core dbus gui imageformats network printsupport qmake serialport sql-sqlite3 svg xml +DOS2UNIX_REGEX= .*pro +INSTALLS_ICONS= yes + +PORTDATA= * +MAKE_ENV= INSTALL_ROOT="${STAGEDIR}" + +BUILD_DEPENDS+= boost-libs>1.52:${PORTSDIR}/devel/boost-libs + +RUN_DEPENDS+= py${PYTHON_SUFFIX}-sqlite3>0:${PORTSDIR}/databases/py-sqlite3 + +.include + +post-extract: + cd ${WRKDIR}/fritzing-parts-0.9.2b;\ + ${MKDIR} parts;${MV} -f * parts 2> /dev/null || true;\ + ${MKDIR} pdb;${MV} parts/core pdb;${MKDIR} parts/core;\ + ${MV} ${WRKDIR}/fritzing-app-0.9.2b/bins . + +post-install: + ${CP} -rpf ${WRKDIR}/fritzing-parts-0.9.2b/* ${STAGEDIR}${LOCALBASE}/share/fritzing + +.include Added: head/cad/fritzing/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/cad/fritzing/distinfo Mon Feb 1 06:23:42 2016 (r407684) @@ -0,0 +1,4 @@ +SHA256 (fritzing/0.9.2b.tar.gz) = 6e9dbb94a4ca5e23effc2056f471c78913b9efa4c154ced94de8f72bfe29735f +SIZE (fritzing/0.9.2b.tar.gz) = 10913985 +SHA256 (fritzing/0.9.2b.zip) = 88f666926cd68fe74810f31dbb0c95b97a77f869246d0f5516f8f26162154c67 +SIZE (fritzing/0.9.2b.zip) = 22306870 Added: head/cad/fritzing/files/patch-fritzing.desktop ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/cad/fritzing/files/patch-fritzing.desktop Mon Feb 1 06:23:42 2016 (r407684) @@ -0,0 +1,11 @@ +--- fritzing.desktop.orig 2015-03-17 13:36:55 UTC ++++ fritzing.desktop +@@ -2,7 +2,7 @@ + Name=Fritzing + GenericName=Fritzing + Comment=Electronic Design Automation software +-Exec=Fritzing ++Exec=Fritzing -f /usr/local/share/fritzing + Icon=fritzing + Terminal=false + Type=Application Added: head/cad/fritzing/files/patch-phoenix.pro ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/cad/fritzing/files/patch-phoenix.pro Mon Feb 1 06:23:42 2016 (r407684) @@ -0,0 +1,44 @@ +--- phoenix.pro.orig 2016-01-31 22:20:45 UTC ++++ phoenix.pro +@@ -31,7 +31,7 @@ + # QTPLUGIN += qjpeg qsqlite + + +-CONFIG += debug_and_release ++CONFIG += release + win32 { + # release build using msvc 2010 needs to use Multi-threaded (/MT) for the code generation/runtime library option + # release build using msvc 2010 needs to add msvcrt.lib;%(IgnoreSpecificDefaultLibraries) to the linker/no default libraries option +@@ -92,7 +92,7 @@ macx { + unix { + !macx { # unix is defined on mac + HARDWARE_PLATFORM = $$system(uname -m) +- contains( HARDWARE_PLATFORM, x86_64 ) { ++ contains( HARDWARE_PLATFORM, amd64 ) { + DEFINES += LINUX_64 + } else { + DEFINES += LINUX_32 +@@ -101,7 +101,7 @@ unix { + } + + isEmpty(PREFIX) { +- PREFIX = /usr ++ PREFIX = /usr/local + } + BINDIR = $$PREFIX/bin + DATADIR = $$PREFIX/share +@@ -114,11 +114,11 @@ unix { + desktop.path = $$DATADIR/applications + desktop.files += fritzing.desktop + +- manpage.path = $$DATADIR/man/man1 ++ manpage.path = /usr/local/man/man1 + manpage.files += Fritzing.1 + +- icon.path = $$DATADIR/icons +- icon.extra = install -D -m 0644 $$PWD/resources/images/fritzing_icon.png $(INSTALL_ROOT)$$DATADIR/icons/fritzing.png ++ icon.path = $$DATADIR/icons/hicolor/64x64/apps ++ icon.extra = install -m 0644 $$PWD/resources/images/fritzing_icon.png $(INSTALL_ROOT)$$DATADIR/icons/hicolor/64x64/apps/fritzing.png + + parts.path = $$PKGDATADIR + parts.files += parts Added: head/cad/fritzing/files/pkg-install.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/cad/fritzing/files/pkg-install.in Mon Feb 1 06:23:42 2016 (r407684) @@ -0,0 +1,15 @@ +echo $2 for FRITZING + +case $2 in +PRE-INSTALL) + if ! id fritzing > /dev/null 2>&1 + then + pw adduser fritzing + fi +;; +POST-INSTALL) + echo fritzing shared files owned by fritzing user + chown -R fritzing:fritzing %%PREFIX%%/share/fritzing + chmod -R g+w %%PREFIX%%/share/fritzing +;; +esac Added: head/cad/fritzing/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/cad/fritzing/pkg-descr Mon Feb 1 06:23:42 2016 (r407684) @@ -0,0 +1,8 @@ +Fritzing is an Electronic Design Automation software with a low +entry barrier, suited for the needs of designers and artists. It +uses the metaphor of the breadboard, so that it is easy to transfer +your hardware sketch to the software. From there it is possible to +create PCB layouts for turning it into a robust PCB yourself or by +help of a manufacturer. + +WWW: http://fritzing.org/ Added: head/cad/fritzing/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/cad/fritzing/pkg-plist Mon Feb 1 06:23:42 2016 (r407684) @@ -0,0 +1,5 @@ +bin/Fritzing +man/man1/Fritzing.1.gz +share/applications/fritzing.desktop +share/icons/hicolor/64x64/apps/fritzing.png +@dir %%DATADIR%%/parts/core