Re: cvs commit: ports/emulators/vmware3 Makefile distinfo ports/emulators/vmware3/files config

From: Akinori MUSHA <knu_at_iDaemons.org>
Date: Wed, 22 Oct 2003 00:23:07 +0900
At Tue, 21 Oct 2003 06:36:23 -0700 (PDT),
Martin Blapp wrote:
> mbr         2003/10/21 06:36:23 PDT
> 
>   FreeBSD ports repository
> 
>   Modified files:
>     emulators/vmware3    Makefile distinfo 
>     emulators/vmware3/files config 
>   Log:
>   Upgrade to portrevision 2242 and make it possible to run

This is bad use of PORTREVISION.  PORTREVISION should not be used to express
an upstream version, but must be reserved for our local changes.

You can instead include the build number in PORTVERSION as below:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/emulators/vmware3/Makefile,v
retrieving revision 1.61
diff -u -r1.61 Makefile
--- Makefile	21 Oct 2003 13:36:22 -0000	1.61
+++ Makefile	21 Oct 2003 15:20:11 -0000
_at__at_ -6,15 +6,14 _at__at_
 #
 
 PORTNAME=	vmware3
-PORTVERSION=	3.2.1
-PORTREVISION=	2242
+PORTVERSION=	3.2.1.2242
 CATEGORIES=	emulators linux
 MASTER_SITES=	http://www4.vmware.com/software/ \
 		${FREEBSD_MODULE_SITES} \
 		${VMWARE_MIRROR_SITES}
-DISTFILES=	VMware-workstation-${PORTVERSION}-${PORTREVISION}${EXTRACT_SUFX}:vmware \
-		vmmon-only-3.2.1-20031009${EXTRACT_SUFX}:patch \
-		vmnet-only-3.2.1-20030412${EXTRACT_SUFX}:patch
+DISTFILES=	VMware-workstation-${PORTVERSION:R}-${PORTVERSION:E}${EXTRACT_SUFX}:vmware \
+		vmmon-only-${PORTVERSION:R}-20031009${EXTRACT_SUFX}:patch \
+		vmnet-only-${PORTVERSION:R}-20030412${EXTRACT_SUFX}:patch
 
 # Feel free to post your questions/reports/suggestions on this port to
 # freebsd-emulation mailing list with the following maintainer address CC'ed.


-- 
                     /
                    /__  __            Akinori.org / MUSHA.org
                   / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ /  ( (__(  _at_ iDaemons.org / and.or.jp

"It seems to me as we make our own few circles 'round the sun
          We get it backwards and our seven years go by like one"
Received on Tue Oct 21 2003 - 08:23:10 UTC