How to create a port with uncompressed distfile?
Torsten Zuehlsdorff
mailinglists at toco-domains.de
Fri Nov 28 10:12:12 UTC 2014
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
More information about the freebsd-ports
mailing list