From owner-ports-jp@jp.freebsd.org  Mon Apr  3 23:40:12 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id XAA74869;
	Mon, 3 Apr 2000 23:40:12 +0900 (JST)
	(envelope-from owner-ports-jp@jp.FreeBSD.org)
Received: from diana.infonets.hiroshima-u.ac.jp (diana.infonets.hiroshima-u.ac.jp [133.41.33.53])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id XAA74863
	for <ports-jp@jp.freebsd.org>; Mon, 3 Apr 2000 23:40:12 +0900 (JST)
	(envelope-from taoka@infonets.hiroshima-u.ac.jp)
Received: from peg.infonets.hiroshima-u.ac.jp (peg.infonets.hiroshima-u.ac.jp [133.41.33.64])
	by diana.infonets.hiroshima-u.ac.jp (8.9.3/3.7W) with ESMTP id XAA83460
	for <ports-jp@jp.freebsd.org>; Mon, 3 Apr 2000 23:40:11 +0900 (JST)
Received: from localhost (localhost [127.0.0.1]) by peg.infonets.hiroshima-u.ac.jp (8.9.3/3.6W) with ESMTP
	id XAA02365 for <ports-jp@jp.freebsd.org>; Mon, 3 Apr 2000 23:40:11 +0900 (JST)
To: ports-jp@jp.freebsd.org
From: TAOKA Satoshi <taoka@infonets.hiroshima-u.ac.jp>
In-Reply-To: <200004030737.AAA52294@silvia.hip.berkeley.edu>
References: <Pine.BSF.4.21.0003302139500.78667-100000@freefall.freebsd.org>
	<86wvmjw0wd.wl@archon.local.idaemons.org>
	<200004030737.AAA52294@silvia.hip.berkeley.edu>
X-Mailer: Mew version 1.94.2 on XEmacs 21.1 (Bryce Canyon)
X-Prom-Mew: Prom-Mew 1.93.4 (procmail reader for Mew)
X-URL: http://www.infonets.hiroshima-u.ac.jp/~taoka/
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Message-Id: <20000403234010D.taoka@infonets.hiroshima-u.ac.jp>
Date: Mon, 03 Apr 2000 23:40:10 +0900
X-Dispatcher: imput version 20000228(IM140)
Lines: 103
Reply-To: ports-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: ports-jp 9227
Subject: [ports-jp 9227] ports =?ISO-2022-JP?B?GyRCNFhPIiROGyhC?= send-pr
 =?ISO-2022-JP?B?GyRCJE85NSQoTFwkSyEqISkhShsoQg==?= Re: final
 call: VERSION variable)
Errors-To: owner-ports-jp@jp.freebsd.org
Sender: owner-ports-jp@jp.freebsd.org
X-Originator: taoka@infonets.hiroshima-u.ac.jp


$BED2,$G$9!#(B

$B:G6a!"$3$A$i$N$*;E;v$r$3$J$7$F$J$/?=$7Lu$J$/;W$C$F$$$k$N$G$9$,!"(B
ports@FreeBSD.org$B$r8+$k$H!"E:IU$7$?%"%J%&%s%9$,$"$j$^$7$?!#(B

$B$3$N:n6H$,9T$o$l$?$J$i$P!"@^3Q$N(Bsend-pr$B$5$l$?(Bpatch$B$,!"(Bconflict or
reject$B$7$F$7$^$&2DG=@-$,$"$j$^$9!#(B

$B$?$+$i!":#$O!"(Bsend-pr$B$r95$(L\$K$9$k$N$,NI$$$h$&$J5$$,$7$^$9!#$=$7$F!"(B
freeze$B8e$K!"JQ998e$N>uBV$K9g$o$;$F!"(Bpatch$B$r(Bsend-pr$B$5$l$k$N$,!"(B
committer$B$K$H$C$FHs>o$K=u$+$k$G$7$g$&!#(B

$B$H$3$m$G!"$3$NJQ99$O!"(Bpkg$B$G%P!<%8%g%s$N4IM}$,$G$-$J$+$C$?$3$H$N2r>C$N$?(B
$B$a$NBh0lJb$H9M$($FNI$$$N$G$7$g$&$+!#!d$"$5$_$5$s(B

$B$I$J$?$+$,(Bpkg_add$B$J$I$r2~B$$5$l$?$s$G$7$g$&$+(B?

# $B<B$O!"$_$J$5$s8fB8$8$N$3$H$@$C$?$j!#!#!#(B

From: asami@FreeBSD.ORG (Satoshi - Ports Wraith - Asami)
Subject: Re: final call: VERSION variable
Date: Mon, 3 Apr 2000 00:37:17 -0700 (PDT)
Message-ID: <200004030737.AAA52294@silvia.hip.berkeley.edu>

> Here is the bsd.port.mk patch to convert from DISTNAME[/PKGNAME] to
> PORTNAME/PORTVERSION[/DISTNAME].
> 
> I will commit this soon.  It will work for both the new and old
> formats, and will require the new format if REQUIRE_PKGNAME is
> defined.
> 
> I will freeze the port tree next weekend (around April 8) and mharo
> and cpiazza will convert the entire tree in one pass.  If you are
> holding on to a patch that updates a port, you may want to commit it
> now so you won't be caught with a conflict.  (Same goes for PRs of
> course -- please commit as many of them as possible before next
> weekend.)
> 
> After all ports are converted, the REQUIRE_PKGNAME part will be
> changed to be mandatory and no old-style ports will be accepted.
> 
> Satoshi
> -------
> Index: bsd.port.mk
> ===================================================================
> RCS file: /usr/cvs/ports/Mk/bsd.port.mk,v
> retrieving revision 1.332
> diff -u -r1.332 bsd.port.mk
> --- bsd.port.mk	2000/04/02 08:32:26	1.332
> +++ bsd.port.mk	2000/04/03 05:34:53
> @@ -41,10 +41,13 @@
>  #
>  # These variables are used to identify your port.
>  #
> -# DISTNAME		- Name of port or distribution.
> -# PKGNAME		- Name of the package file to create if the DISTNAME 
> -#				  isn't really relevant for the port/package
> -#				  (default: ${DISTNAME}).
> +# PORTNAME		- Name of software.
> +# PORTVERSION	- Version of software.
> +# PKGNAME		- Always defined as ${PORTNAME}-${PORTVERSION}.  Do not
> +#				  define this in your Makefile.
> +# DISTNAME		- Name of port or distribution used in generating
> +#				  WRKSRC and DISTFILES below (default:
> +#				  ${PORTNAME}-${PORTVERSION}).
>  # CATEGORIES	- A list of descriptive categories into which this port falls.
>  #
>  # These variable describe how to fetch files required for building the port.
> @@ -1098,10 +1101,26 @@
>  .endif
>  .endif
>  
> -# Derived names so that they're easily overridable.
> -DISTFILES?=		${DISTNAME}${EXTRACT_SUFX}
> +.if defined(REQUIRE_PORTNAME) && !defined(PORTNAME)
> +.BEGIN:
> +	@${ECHO} "${PKGNAME}: You need to define PORTNAME and PORTVERSION instead of PKGNAME."
> +	@${ECHO} "(This port is too old for your bsd.port.mk.)"
> +	@${FALSE}
> +.endif
> +.if defined(PORTNAME)
> +.if defined(PKGNAME) || !defined(PORTVERSION)
> +.BEGIN:
> +	@${ECHO} "${PKGNAME}: You need to define PORTNAME and PORTVERSION instead of PKGNAME."
> +	@${FALSE}
> +.endif
> +PKGNAME=	${PORTNAME}-${PORTVERSION}
> +DISTNAME?=	${PKGNAME}
> +.else
> +# old style
>  PKGNAME?=		${DISTNAME}
> +.endif
>  
> +DISTFILES?=		${DISTNAME}${EXTRACT_SUFX}
>  ALLFILES?=	${DISTFILES} ${PATCHFILES}
>  
>  .if defined(IGNOREFILES)
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-ports" in the body of the message
> 
