summaryrefslogtreecommitdiffstats
path: root/science/qtresistors/Makefile
blob: 5be7ec70fcd621a6b95570bad257aa993a20b8c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# New ports collection makefile for:   qtresistors
# Date created:                2010-01-10
# Whom:                        Gvozdikov Veniamin <g.veniamin@googlemail.com>
#
# $FreeBSD$
#

PORTNAME=	qtresistors
PORTVERSION=	0.1
PORTREVISION=	2
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 <bsd.port.mk>
OpenPOWER on IntegriCloud