import fritzing 0.4.2

Fritzing is essentially Electronic Design Automation software suited to the 
needs of designers and artists. It uses the metaphor of the breadboard, 
so that it is easy to transfer a hardware sketch to the software by using a 
drag-and-drop-based GUI to copy your sketch. From there it is possible 
to create PCB layouts for turning your prototype into a robust PCB, 
either on your own, or with the help of a manufacturer.

ok ajacoutot@
This commit is contained in:
jasper 2010-09-15 07:14:13 +00:00
parent 39c35476dc
commit 0ab4b12250
7 changed files with 5137 additions and 0 deletions

59
cad/fritzing/Makefile Normal file
View File

@ -0,0 +1,59 @@
# $OpenBSD: Makefile,v 1.1.1.1 2010/09/15 07:14:13 jasper Exp $
ONLY_FOR_ARCHS =${GCC4_ARCHS}
COMMENT= interactive electronics designing software
V= 0.4.2b
DISTNAME= fritzing.2010.08.06.source
PKGNAME= fritzing-$V
CATEGORIES= cad
HOMEPAGE= http://fritzing.org/
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
# Code: GPLv3+
# Rest: CreativeCommons:BY-SA
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES= ${HOMEPAGE}/download/$V/source-tarball/
EXTRACT_SUFX= .tar.bz2
WANTLIB += QtDBus QtGui QtNetwork QtSql QtSvg QtWebKit QtXml QtXmlPatterns
WANTLIB += phonon c m pthread sqlite3 stdc++ z
LIB_DEPENDS= ::x11/qt4
MODULES= x11/qt4
USE_X11= Yes
NO_REGRESS= Yes
RUN_DEPENDS= ::devel/desktop-file-utils
pre-configure:
${SUBST_CMD} ${WRKSRC}/src/fapplication.cpp
# -DLINUX_32 gets added to CFLAGS, though it's only used to figure out
# if there is a newer version of the 32-bit Linux binary on the upstream
# webpage. So it's safe to set it on all arches (for now).
do-configure:
cd ${WRKSRC} && \
${LOCALBASE}/bin/qmake4 -unix -o Makefile phoenix.pro
do-install:
${SUBST_CMD} -o ${BINOWN} -g ${BINGRP} -c ${FILESDIR}/fritzing.sh \
${PREFIX}/bin/fritzing
chmod ${BINMODE} ${PREFIX}/bin/fritzing
${INSTALL_PROGRAM} ${WRKSRC}/Fritzing ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/fritzing/
cd ${WRKSRC}; tar cf - bins parts resources sketches tools translations | \
tar xf - -C ${PREFIX}/share/fritzing/
${INSTALL_DATA_DIR} ${PREFIX}/share/applications/
${SUBST_CMD} -o ${SHAREOWN} -g ${SHAREGRP} -c ${FILESDIR}/fritzing.desktop \
${PREFIX}/share/applications/fritzing.desktop
.include <bsd.port.mk>

5
cad/fritzing/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (fritzing.2010.08.06.source.tar.bz2) = tyz6Rjd9XeAzhXrnHGfKYg==
RMD160 (fritzing.2010.08.06.source.tar.bz2) = YV7+e0nrEYZhzi9OvJXsn2R259g=
SHA1 (fritzing.2010.08.06.source.tar.bz2) = wvmGypZXjsAg5tcHDNLhZqdGBPo=
SHA256 (fritzing.2010.08.06.source.tar.bz2) = oYWkRK81m2k+bjuqNl6m3lYTuLd449t59///hhAMx+s=
SIZE (fritzing.2010.08.06.source.tar.bz2) = 5364598

View File

@ -0,0 +1,10 @@
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Fritzing
GenericName=Fritzing
Comment=Interactive electronics designing software
Type=Application
Exec=fritzing %f
Icon=${TRUEPREFIX}/share/fritzing/resources/images/fritzing_icon.png
Categories=Engineering;Electronics;

View File

@ -0,0 +1,7 @@
#!/bin/sh
#
# $OpenBSD: fritzing.sh,v 1.1.1.1 2010/09/15 07:14:18 jasper Exp $
# Since Fritzing wants it's file stored in CWD or specified via --folder
# we use the last. Lest to prevent ever changing patches.
${TRUEPREFIX}/bin/Fritzing --folder ${TRUEPREFIX}/share/fritzing/ "$@"

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-phoenix_pro,v 1.1.1.1 2010/09/15 07:14:18 jasper Exp $
Don't build everything twice, just once takes long enough already.
--- phoenix.pro.orig Tue Sep 14 19:17:28 2010
+++ phoenix.pro Tue Sep 14 19:18:23 2010
@@ -24,7 +24,7 @@
#
#********************************************************************/
-CONFIG += debug_and_release
+CONFIG += release
win32 {
CONFIG -= embed_manifest_exe
INCLUDEPATH += $$[QT_INSTALL_PREFIX]/src/3rdparty/zlib

6
cad/fritzing/pkg/DESCR Normal file
View File

@ -0,0 +1,6 @@
Fritzing is essentially Electronic Design Automation software suited to the
needs of designers and artists. It uses the metaphor of the breadboard,
so that it is easy to transfer a hardware sketch to the software by using a
drag-and-drop-based GUI to copy your sketch. From there it is possible
to create PCB layouts for turning your prototype into a robust PCB,
either on your own, or with the help of a manufacturer.

5035
cad/fritzing/pkg/PLIST Normal file

File diff suppressed because it is too large Load Diff