Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Nov 2014 11:12:08 +0100
From:      Torsten Zuehlsdorff <mailinglists@toco-domains.de>
To:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: How to create a port with uncompressed distfile?
Message-ID:  <54784A78.1080601@toco-domains.de>
In-Reply-To: <54776F5F.8030406@bluerosetech.com>
References:  <5476FFCF.6000504@toco-domains.de> <54771BED.3040408@toco-domains.de> <54776F5F.8030406@bluerosetech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54784A78.1080601>