Date: Thu, 27 Nov 2014 22:17:27 +1100 From: Kubilay Kocak <koobs@FreeBSD.org> To: Torsten Zuehlsdorff <mailinglists@toco-domains.de> Cc: freebsd-ports@freebsd.org Subject: Re: How to create a port with uncompressed distfile? Message-ID: <54770847.7040709@FreeBSD.org> In-Reply-To: <5476FFCF.6000504@toco-domains.de> References: <5476FFCF.6000504@toco-domains.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54770847.7040709>