mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Fix build with clang
- Add amd64 to ONLY_FOR_ARCHS - Add LICENSE - Support staging PR: ports/184817 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
parent
46a3d5fb82
commit
ebaa07f40c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336931
@ -10,18 +10,21 @@ 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
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
LICENSE= BSD
|
||||
|
||||
USE_CSTD= gnu89
|
||||
|
||||
ONLY_FOR_ARCHS= amd64 i386
|
||||
|
||||
NO_STAGE= yes
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${CC} ${CFLAGS} -I. -DFreeBSD ${CPPFLAGS} \
|
||||
-o qcread qcread.c cqc.c -lm ${LDFLAGS}
|
||||
(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:
|
||||
${INSTALL} ${COPY} -o root -g wheel -m 644 ${WRKSRC}/qcam.conf ${PREFIX}/etc/qcam.conf.dist
|
||||
if [ ! -e ${PREFIX}/etc/qcam.conf ]; then \
|
||||
${CP} ${PREFIX}/etc/qcam.conf.dist ${PREFIX}/etc/qcam.conf; \
|
||||
fi
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/qcread ${PREFIX}/bin
|
||||
(cd ${WRKSRC} && ${INSTALL_PROGRAM} qcread \
|
||||
${STAGEDIR}${PREFIX}/bin)
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} qcam.conf.dist \
|
||||
${STAGEDIR}${PREFIX}/etc)
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user