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
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to