From c044e7dcacec54cea73a80cc697c15505c6794cd Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Wed, 13 Jan 2010 19:26:59 +0000 Subject: [PATCH] qtResistors - calculate resistance of resistor by the colors on the resistor WWW: http://qt-apps.org/content/show.php/qtResistors?content=118297 PR: 142554 Submitted by: zloidemon --- science/Makefile | 1 + science/qtresistors/Makefile | 30 ++++++++++++++++++++++++++++++ science/qtresistors/distinfo | 3 +++ science/qtresistors/pkg-descr | 3 +++ 4 files changed, 37 insertions(+) create mode 100644 science/qtresistors/Makefile create mode 100644 science/qtresistors/distinfo create mode 100644 science/qtresistors/pkg-descr diff --git a/science/Makefile b/science/Makefile index a6ded863a84f..7f8ff7aebfb2 100644 --- a/science/Makefile +++ b/science/Makefile @@ -125,6 +125,7 @@ SUBDIR += pybrain SUBDIR += pycdf SUBDIR += qcl + SUBDIR += qtresistors SUBDIR += ruby-dcl SUBDIR += ruby-gphys SUBDIR += silo diff --git a/science/qtresistors/Makefile b/science/qtresistors/Makefile new file mode 100644 index 000000000000..7d652457394c --- /dev/null +++ b/science/qtresistors/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: qtresistors +# Date created: 2010-01-10 +# Whom: Gvozdikov Veniamin +# +# $FreeBSD$ +# + +PORTNAME= qtresistors +PORTVERSION= 0.1 +CATEGORIES= science +MASTER_SITES= http://qt-apps.org/CONTENT/content-files/ +DISTNAME= 118297-qtResistors-201001102229 + +MAINTAINER= g.veniamin@googlemail.com +COMMENT= Calculate resistance of resistor by the colors on the resistor + +USE_QT_VER= 4 +QT_COMPONENTS= gui qmake_build uic_build moc_build + +WRKSRC= ${WRKDIR}/qtResistors + +PLIST_FILES= bin/${PORTNAME} + +do-configure: + cd ${WRKSRC} && ${QMAKE} ${QMAKEFLAGS} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/qtResistors ${PREFIX}/bin/${PORTNAME} + +.include diff --git a/science/qtresistors/distinfo b/science/qtresistors/distinfo new file mode 100644 index 000000000000..3f37e6905f92 --- /dev/null +++ b/science/qtresistors/distinfo @@ -0,0 +1,3 @@ +MD5 (118297-qtResistors-201001102229.tar.gz) = 93774d83829b8ab83e31ac4a057ba058 +SHA256 (118297-qtResistors-201001102229.tar.gz) = 97f9195bebca8f697feae7517393fb4c5bce666041139b4497d4521d73a55f58 +SIZE (118297-qtResistors-201001102229.tar.gz) = 104791 diff --git a/science/qtresistors/pkg-descr b/science/qtresistors/pkg-descr new file mode 100644 index 000000000000..0d785136cf9d --- /dev/null +++ b/science/qtresistors/pkg-descr @@ -0,0 +1,3 @@ +qtResistors - calculate resistance of resistor by the colors on the resistor + +WWW: http://qt-apps.org/content/show.php/qtResistors?content=118297