From owner-freebsd-ports Sun Apr 9 8:38:21 2000 Delivered-To: freebsd-ports@freebsd.org Received: from mail.af.airnet.ne.jp (mail.af.airnet.ne.jp [210.159.66.49]) by hub.freebsd.org (Postfix) with ESMTP id B94C237B5BF for ; Sun, 9 Apr 2000 08:38:08 -0700 (PDT) (envelope-from imura@cs.titech.ac.jp) Received: from imura.af.airnet.ne.jp (tok111.airnet.ne.jp [210.159.88.111]) by mail.af.airnet.ne.jp (8.8.8/3.6W/06/13/98-AF.AIRNET.NE.JP) with ESMTP id AAA34290; Mon, 10 Apr 2000 00:38:01 +0900 Posted-Date: Mon, 10 Apr 2000 00:37:35 +0900 (JST) To: rkw@dataplex.net Cc: alex@big.endian.de, ports@FreeBSD.ORG Subject: Re: proposal: PRENAME variable From: "R. Imura" In-Reply-To: <00040907143101.05113@nomad.dataplex.net> References: <200004090812.BAA04016@silvia.hip.berkeley.edu> <20000409115602.A1056@cichlids.cichlids.com> <00040907143101.05113@nomad.dataplex.net> X-Mailer: Mew version 1.94b20 on Emacs 19.34 / Mule 2.3 =?iso-2022-jp?B?KBskQkt2RSYyVhsoQik=?= X-Prom-Mew: Prom-Mew 1.93.4 (procmail reader for Mew) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20000410003733V.imura@cs.titech.ac.jp> Date: Mon, 10 Apr 2000 00:37:33 +0900 X-Dispatcher: imput version 990401(IM113) Lines: 34 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Why "ja-"? > > > > Aren't all prefixes [a-z]+- anyway? > > So we could set PKGNAMEPREFIX to "ja", and then not > > $PKGNAMEPREFIX$PORTNAME but $PKGNAMEPREFIX-$PORTNAME. > > No because the "default" would become -$PORTNAME > you don't want the leading "-" No, it depends. If it is set like (as Asami-san showed) PKGNAME=${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION} PKGNAMEPREFIX should include '-', but this definition is from Michael's PKGNAMEPREFIX="XX-" suggestion. If you don't like including '-' in PKGNAMEPREFIX, bsd.port.mk would be like .if defined(PKGNAMEPREFIX) PKGNAME=${PKGNAMEPREFIX}-${PORTNAME}-${PORTVERSION} .else PKGNAME=${PORTNAME}-${PORTVERSION} .endif I think both ways are good, and an issue how we define PKGNAMEPREFIX is not the main theme of this thread. I agree to set PKGNAMEPREFIX. -- R. Imura // my private mail address has changed. // imura@cs.titech.ac.jp ====> imura@af.airnet.ne.jp /(-.-)y-~~ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message