summaryrefslogtreecommitdiffstats
path: root/graphics/qcread/Makefile
blob: cc540aff27dc5313c03fcb29a0af63ab3c831226 (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
# Created by: Bill Fumerola <billf@chc-chimes.com>
# $FreeBSD$

PORTNAME=	qcread
PORTVERSION=	0.3
PORTREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	http://www.fhttpd.org/pub/qcread/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Supports both color and B&W parallel-port Connectix QuickCam for PC

LICENSE=	MIT

USE_CSTD=	gnu89

ONLY_FOR_ARCHS=	amd64 i386

do-build:
	(cd ${WRKSRC} && ${CC} ${CFLAGS} -I. -DFreeBSD ${CPPFLAGS} \
		-o qcread qcread.c cqc.c -lm ${LDFLAGS})
	@${LN} -sf qcam.conf ${WRKSRC}/qcam.conf.dist

do-install:
	(cd ${WRKSRC} && ${INSTALL_PROGRAM} qcread \
		${STAGEDIR}${PREFIX}/bin)
	(cd ${WRKSRC} && ${INSTALL_DATA} qcam.conf.dist \
		${STAGEDIR}${PREFIX}/etc)

.include <bsd.port.mk>
OpenPOWER on IntegriCloud