From owner-freebsd-ports@FreeBSD.ORG Fri Nov 28 10:12:12 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2E4408C7 for ; Fri, 28 Nov 2014 10:12:12 +0000 (UTC) Received: from toco-domains.de (mail.toco-domains.de [176.9.39.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E51C1F0C for ; Fri, 28 Nov 2014 10:12:11 +0000 (UTC) Received: from [0.0.0.0] (mail.toco-domains.de [176.9.39.170]) by toco-domains.de (Postfix) with ESMTPA id CFA231B22DDD for ; Fri, 28 Nov 2014 11:12:08 +0100 (CET) Message-ID: <54784A78.1080601@toco-domains.de> Date: Fri, 28 Nov 2014 11:12:08 +0100 From: Torsten Zuehlsdorff User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: FreeBSD Ports ML Subject: Re: How to create a port with uncompressed distfile? References: <5476FFCF.6000504@toco-domains.de> <54771BED.3040408@toco-domains.de> <54776F5F.8030406@bluerosetech.com> In-Reply-To: <54776F5F.8030406@bluerosetech.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Nov 2014 10:12:12 -0000 Hello, On 27.11.2014 19:37, Darren Pilgrim wrote: > On 11/27/2014 4:41 AM, Torsten Zuehlsdorff wrote: >> Hello, >> >> i'm nearly done with the new port. But i have a last problem. >> >> In short the installation procedure: >> - downloading the .phar file >> - copying the .phar file into stagedir (because its the complete >> programm) >> - renaming the file from "phpunit-$version.phar" to "phpunit" (without >> suffix) >> - setting +x rights to "phpunit" >> >> The last one i did not get right. I believe i have to use >> ${INSTALL_PROGRAM} but i make something wrong. Can somebody help? > > Add "STRIP=" as a line after the NO_BUILD line, then in the do-install > target: > > ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME}${EXTRACT_SUFX} \ > ${STAGEDIR}${PREFIX}/bin/phpunit > > The stage dir is created for you. Now it works correctly - thank you very much! I'm going to submit the port. Greetings, Torsten