Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jun 2007 08:16:31 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        infofarmer@FreeBSD.org
Cc:        cvs-ports@freebsd.org, Robert Noland <rnoland@2hip.net>, ports-committers@freebsd.org, cvs-all@freebsd.org, Martin Wilke <miwi@freebsd.org>
Subject:   Re: cvs commit: ports/x11-toolkits/swt-devel Makefile distinfo ports/x11-toolkits/swt-devel/files patch-build.sh
Message-ID:  <20070614081631.GA78270@FreeBSD.org>
In-Reply-To: <cb5206420706140112s9a029fdia74b73e5ce3d8369@mail.gmail.com>
References:  <200706140801.l5E81tCb081405@repoman.freebsd.org> <20070614080159.2066D16A51A@hub.freebsd.org> <cb5206420706140112s9a029fdia74b73e5ce3d8369@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 14, 2007 at 12:12:28PM +0400, Andrew Pantyukhin wrote:
> On 6/14/07, Martin Wilke <miwi@freebsd.org> wrote:
> >miwi        2007-06-14 08:01:55 UTC
> >
> >  FreeBSD ports repository
> >
> >  Modified files:
> >    x11-toolkits/swt-devel Makefile distinfo
> >    x11-toolkits/swt-devel/files patch-build.sh
> >  Log:
> >  - Update to 3.3 RC4
> >
> >  PR:             113604
> >  Submitted by:   Robert Noland <rnoland@2hip.net> (maintainer)
> >
> >  Revision  Changes    Path
> >  1.5       +5 -5      ports/x11-toolkits/swt-devel/Makefile
> >  1.5       +6 -6      ports/x11-toolkits/swt-devel/distinfo
> >  1.4       +8 -6      ports/x11-toolkits/swt-devel/files/patch-build.sh
> >_______________________________________________
> 
> > PORTNAME=      swt-devel
> >-PORTVERSION=   3.3M6
> >-PORTREVISION=  1
> >+PORTVERSION=   3.3.r4
> >+PORTEPOCH=     1
> > CATEGORIES=    x11-toolkits devel java
> > MASTER_SITES=  ${MASTER_SITE_ECLIPSE}
> >-MASTER_SITE_SUBDIR=    S-${PORTVERSION}-200703231616
> >-DISTNAME=      swt-${PORTVERSION}-${DIST_EXT}
> >+MASTER_SITE_SUBDIR=    S-3.3RC4-200706081718
> >+DISTNAME=      swt-3.3RC4-${DIST_EXT}
> 
> We have a facility called DISTVERSION, which sould
> obviously be used here:
> DISTVERSION=3.3RC4 will set portversion to 3.3.r4
> automatically, and you'll be able to reuse the
> variable value in other places.

As another bonus, DISTVERSION often allows one to avoid [future] PORTEPOCH
bump.  (Well, it just make it easier to come up with pkg_version-coherent
values).

./danfe



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