Question about using PORTREVISION vs. DISTFILES

Oliver Eikemeier eikemeier at fillmore-labs.com
Sat Nov 15 04:40:18 PST 2003


Adam Kranzel wrote:

> Hi all,
> 
> I've got a small patch for the audio/easytag port, which adds a few bugfix 
> patches from the author.  The software is at version 0.30c once the patches 
> are applied, but the tarball is still version 0.30. Would it be more correct 
> to leave PORTVERSION at 0.30 and set PORTREVISION = 1, or to set PORTVERSION 
> = 0.30c and use DISTFILES to have it fetch the tarball properly?

If you do

DISTFILES=	easytag-0.30.tar.bz2
PATCHFILES=	patch_easytag_030_030a.diff \
		patch_easytag_030a_030b.diff \
		patch_easytag_030b_030c.diff
    
then make the PORTVERSION 0.30c.
It should be essentially equivalent to easytag-0.30c.tar.bz2.




More information about the freebsd-ports mailing list