From owner-freebsd-ports Wed Mar 22 1:36:50 2000 Delivered-To: freebsd-ports@freebsd.org Received: from peedub.muc.de (peedub.muc.de [193.149.49.109]) by hub.freebsd.org (Postfix) with ESMTP id 5475337C05D; Wed, 22 Mar 2000 01:36:46 -0800 (PST) (envelope-from garyj@peedub.muc.de) Received: from peedub.muc.de (localhost [127.0.0.1]) by peedub.muc.de (8.9.3/8.6.9) with ESMTP id KAA09544; Wed, 22 Mar 2000 10:35:36 +0100 (CET) Message-Id: <200003220935.KAA09544@peedub.muc.de> X-Mailer: exmh version 2.1.0 09/18/1999 To: asami@FreeBSD.ORG (Satoshi - Ports Wraith - Asami) Cc: "Akinori -Aki- MUSHA" , ports@FreeBSD.ORG Subject: Re: versioning system (Re: cvs commit: ports/devel/ElectricFence ...) Reply-To: Gary Jennejohn In-reply-to: Your message of "21 Mar 2000 14:42:47 PST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 22 Mar 2000 10:35:36 +0100 From: Gary Jennejohn Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Satoshi - Ports Wraith - Asami writes: >I've also thought about adding a mandatory VERSION variable separate >from DISTNAME/PKGNAME, to have something like > >PORTNAME= foo >VERSION= 1.2 > >These two variables will be mandatory, and DISTNAME and PKGNAME will >be defined in bsd.port.mk as ${PORTNAME}-${VERSION}. (The PKGNAME >will not be overridable; it will be an error for a port to define it.) > >At least this will help ensure that the ${PKGNAME} will have correct >formats (well, you can always put a "-" in VERSION, but that's far >easier to find than going through a list of packages/All or >packages/Latest). >=== > >If nobody has any objections, I will go sweep through the tree and >make these changes. > Wait a minute. What about ports like editors/xemacs21 which are used as the front-end to other ports ? The Makefile defines PKGNAME as ${LANGPREFIX}xemacs${PKGNAMEEXT}-21.1.9 there. Not being able to override PKGNAME will break this (and probably other) port(s). --- Gary Jennejohn / garyj@muc.de garyj@fkr.cpqcorp.net gj@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message