Date: Thu, 27 Nov 2014 10:37:19 -0800 From: Darren Pilgrim <list_freebsd@bluerosetech.com> To: Torsten Zuehlsdorff <mailinglists@toco-domains.de>, freebsd-ports@freebsd.org Subject: Re: How to create a port with uncompressed distfile? Message-ID: <54776F5F.8030406@bluerosetech.com> In-Reply-To: <54771BED.3040408@toco-domains.de> References: <5476FFCF.6000504@toco-domains.de> <54771BED.3040408@toco-domains.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54776F5F.8030406>
