How to create a port with uncompressed distfile?
Kubilay Kocak
koobs at FreeBSD.org
Thu Nov 27 11:23:41 UTC 2014
On 27/11/2014 10:17 PM, Kubilay Kocak wrote:
> On 27/11/2014 9:41 PM, Torsten Zuehlsdorff wrote:
>> Hello,
>>
>> 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!
>> Torsten
>
> Hi Torsten, thanks for the question:
>
> You can use:
>
> EXTRACT_SUFX
>
> and
>
> create your own do-extract: target
>
> See /usr/ports/Mk/bsd.port.mk for more info
>
> Koobs
>
>
Also possible:
EXTRACT_ONLY= #none
Thanks Alex! (ak@)
More information about the freebsd-ports
mailing list