ports/184817: commit references a PR
dfilter service
dfilter at FreeBSD.ORG
Fri Dec 20 08:00:03 UTC 2013
The following reply was made to PR ports/184817; it has been noted by GNATS.
From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/184817: commit references a PR
Date: Fri, 20 Dec 2013 07:54:45 +0000 (UTC)
Author: bapt
Date: Fri Dec 20 07:54:38 2013
New Revision: 336973
URL: http://svnweb.freebsd.org/changeset/ports/336973
Log:
MFH: r336931
- Fix build with clang
- Add amd64 to ONLY_FOR_ARCHS
- Add LICENSE
- Support staging
PR: ports/184817
Submitted by: KATO Tsuguru <tkato432 at yahoo.com>
Modified:
branches/2014Q1/graphics/qcread/Makefile (contents, props changed)
Directory Properties:
branches/2014Q1/ (props changed)
Modified: branches/2014Q1/graphics/qcread/Makefile
==============================================================================
--- branches/2014Q1/graphics/qcread/Makefile Fri Dec 20 07:53:52 2013 (r336972)
+++ branches/2014Q1/graphics/qcread/Makefile Fri Dec 20 07:54:38 2013 (r336973)
@@ -10,18 +10,21 @@ MASTER_SITES= http://www.fhttpd.org/pub/
MAINTAINER= ports at 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>
_______________________________________________
svn-ports-all at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe at freebsd.org"
More information about the freebsd-ports-bugs
mailing list