Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Nov 2014 22:23:30 +1100
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        Torsten Zuehlsdorff <mailinglists@toco-domains.de>
Cc:        freebsd-ports@freebsd.org, ak@FreeBSD.org
Subject:   Re: How to create a port with uncompressed distfile?
Message-ID:  <547709B2.1060202@FreeBSD.org>
In-Reply-To: <54770847.7040709@FreeBSD.org>
References:  <5476FFCF.6000504@toco-domains.de> <54770847.7040709@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?547709B2.1060202>