From owner-svn-ports-head@FreeBSD.ORG Thu Dec 19 15:55:20 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 638F4147; Thu, 19 Dec 2013 15:55:20 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4F3B81DF8; Thu, 19 Dec 2013 15:55:20 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBJFtKeh091544; Thu, 19 Dec 2013 15:55:20 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBJFtKjI091543; Thu, 19 Dec 2013 15:55:20 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201312191555.rBJFtKjI091543@svn.freebsd.org> From: Pawel Pekala Date: Thu, 19 Dec 2013 15:55:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336931 - head/graphics/qcread X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2013 15:55:20 -0000 Author: pawel Date: Thu Dec 19 15:55:19 2013 New Revision: 336931 URL: http://svnweb.freebsd.org/changeset/ports/336931 Log: - Fix build with clang - Add amd64 to ONLY_FOR_ARCHS - Add LICENSE - Support staging PR: ports/184817 Submitted by: KATO Tsuguru Modified: head/graphics/qcread/Makefile (contents, props changed) Modified: head/graphics/qcread/Makefile ============================================================================== --- head/graphics/qcread/Makefile Thu Dec 19 15:50:10 2013 (r336930) +++ head/graphics/qcread/Makefile Thu Dec 19 15:55:19 2013 (r336931) @@ -10,18 +10,21 @@ MASTER_SITES= http://www.fhttpd.org/pub/ 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