From owner-freebsd-ports@freebsd.org Thu Sep 8 12:34:55 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 95FD4BD0B7F for ; Thu, 8 Sep 2016 12:34:55 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 25A1C766 for ; Thu, 8 Sep 2016 12:34:55 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from ox-dell39.ox.adestra.com (unknown [85.199.232.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id B527B19FF; Thu, 8 Sep 2016 12:34:47 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=infracaninophile.co.uk DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201601-infracaninophile; t=1473338087; bh=mL9iQcoPJOfnq+y7qqEG5C1bltQcyXxVzYjYSQWInKY=; h=Subject:To:References:From:Date:In-Reply-To; z=Subject:=20Re:=20${INSTALL_DATA}=20problems|To:=20Aristedes=20Man iatis=20,=20freebsd-ports@FreeBSD.org|Refere nces:=20|From:=20 Matthew=20Seaman=20|Date:=20Thu,= 208=20Sep=202016=2013:34:30=20+0100|In-Reply-To:=20; b=lFT2VffzDqT1Z2eNoxFiPQkWJW7ohVnMuGfPL8bx+NrqNAjNZBb3F1iOWFXifwmhr KnTtOi67avRFKvIwmoOpMT4BdsXNNqmrOySaSRt4rlFA1Qn7srREFTEuOoU/QqMmW8 GV46uoi4bxhHKhMuBDQs7zF4J68mRwsf84dFA0yM= Subject: Re: ${INSTALL_DATA} problems To: Aristedes Maniatis , freebsd-ports@FreeBSD.org References: From: Matthew Seaman Message-ID: <2b42c68c-94a6-8f4b-415d-68cd24a6f46d@infracaninophile.co.uk> Date: Thu, 8 Sep 2016 13:34:30 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="SH5IoP3XNdh0Gjpu83i3hp5vdVJPt8Kn2" X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RDNS_NONE,SPF_FAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Sep 2016 12:34:55 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --SH5IoP3XNdh0Gjpu83i3hp5vdVJPt8Kn2 Content-Type: multipart/mixed; boundary="Qie85IB8AtwVDMK4w6hcsDGuh5hHLSqGq" From: Matthew Seaman To: Aristedes Maniatis , freebsd-ports@FreeBSD.org Message-ID: <2b42c68c-94a6-8f4b-415d-68cd24a6f46d@infracaninophile.co.uk> Subject: Re: ${INSTALL_DATA} problems References: In-Reply-To: --Qie85IB8AtwVDMK4w6hcsDGuh5hHLSqGq Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 09/08/16 13:27, Aristedes Maniatis wrote: > I'm trying to create a port with a command like this: >=20 > do-install: > ${MKDIR} ${STAGEDIR}${SOLR_HOME} > ${INSTALL_DATA} ${WRKSRC}/dist ${STAGEDIR}${SOLR_HOME} >=20 > However the output is >=20 > /bin/mkdir -p /var/poudriere/ports/default/textproc/apache-solr/work/st= age/usr/local/solr > install -m 0644 /var/poudriere/ports/default/textproc/apache-solr/work= /solr-5.5.2/dist /var/poudriere/ports/default/textproc/apache-solr/work/s= tage/usr/local/solr > install: /var/poudriere/ports/default/textproc/apache-solr/work/solr-5.= 5.2/dist: Inappropriate file type or format > *** Error code 71 >=20 > {CP} works fine, but I want to use {INSTALL_DATA} so I can also add the= -o flag. >=20 >=20 > What am I doing wrong? >=20 >=20 >=20 > Please cc me as I'm not on the list. If ${WRKSRC}/dist is a directory and you want to copy it and its contents recursively into the staging area, then you want one of COPYTREE_BIN or COPYTREE_SHARE instead of INSTALL_DATA Cheers, Matthew --Qie85IB8AtwVDMK4w6hcsDGuh5hHLSqGq-- --SH5IoP3XNdh0Gjpu83i3hp5vdVJPt8Kn2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJX0VrWAAoJEABRPxDgqeTnztcP/RB/e45J5uB0FlXEbdqTSAvH Qd9ALpyDO2g4d8jqrjTdpTaqNGb/Uh+VQGkIqkW4Mirwz9NasSUjEZMZoROPlvQO hzEDpTpekP+/Nh2q2wgQTCc6VpoldeS9u3Zdsnfs6r4BkicQU4R9wAA7IWiFG2n4 W3TXBIsvNNNIUQ5fBajKyc1O6c4kG//qqI00pKDGl24texDYp36atAPPDzCF+4x3 GhqsZIsivhuZ23Jlyag7ZCxdIwQjUAELcixxq9KiPZSOt2A6c9/vAHD6ZX3QBU+H UOGbO4o+e8ucsCuZ0tf0qc22H74kqeIHecWQnGWrngoZ+xYVoZ74PVYlr7seUDyV pQvSqSsPCbDXGSb7lxmxMkKovcyvhB3ck05jUwZfPSGoc99q8ackhpusOE6k1Lje v8lE2ONBYItX77yCL+LK8SsQ6QUeO00j9aAvT8vvpc3ZAVpYpdde2KYeTPlZiDRS p/bSyjVA7WcKVIWwum97dknce+sJHXk2xO4wOPwnMYv6grZ7a6dZ/Y7VZ1nc9yDm egIgfd5n47bd2sXhAaRAl/KDPh3DvKaK+B2zn3LLm2MoWBgNU4bl3+oCWxNZ8RkL mh4xtccUpdwcoGYSCy6sNxLfqcni/hPxcA7Y9UQOmcnJTU/w1QQgdC3sgsff3krh Yf3xex4YEFl4DxrrQF9v =UA3l -----END PGP SIGNATURE----- --SH5IoP3XNdh0Gjpu83i3hp5vdVJPt8Kn2--