freebsd-ports/graphics/qcread/Makefile
Pawel Pekala ebaa07f40c - Fix build with clang
- Add amd64 to ONLY_FOR_ARCHS
- Add LICENSE
- Support staging

PR:		ports/184817
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2013-12-19 15:55:19 +00:00

30 lines
703 B
Makefile

# 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= BSD
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>