How to create a port with uncompressed distfile?
koobs at FreeBSD.org
Thu Nov 27 11:17:38 UTC 2014
On 27/11/2014 9:41 PM, Torsten Zuehlsdorff wrote:
> i'm trying to create a port for PHPUnit4. Its served as a single .phar
> file (thats an PHP archive file).
> I only need to download this file and move it into /usr/local/bin.
> But i do not know how to tell the Makefile, that it should not try to
> decompress the .phar-file.
> At the moment i also have to use DISTFILES, because i do not know how to
> teach the makefile, that it should use .phar instead of .tar.gz.
> Any advice?
> Thank you very much!
Hi Torsten, thanks for the question:
You can use:
create your own do-extract: target
See /usr/ports/Mk/bsd.port.mk for more info
More information about the freebsd-ports