cvs commit: ports/x11-toolkits/swt-devel Makefile distinfo ports/x11-toolkits/swt-devel/files patch-build.sh

Alexey Dokuchaev danfe at FreeBSD.org
Thu Jun 14 08:16:31 UTC 2007


On Thu, Jun 14, 2007 at 12:12:28PM +0400, Andrew Pantyukhin wrote:
> On 6/14/07, Martin Wilke <miwi at 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 at 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


More information about the cvs-ports mailing list