From owner-freebsd-ports@FreeBSD.ORG Mon Feb 7 11:31:03 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBB1716A4CE for ; Mon, 7 Feb 2005 11:31:03 +0000 (GMT) Received: from mail.ntmk.ru (mail.ntmk.ru [217.114.241.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id C565A43D53 for ; Mon, 7 Feb 2005 11:31:02 +0000 (GMT) (envelope-from boris@ntmk.ru) Received: from boris.nikom.ru ([10.1.16.195]) by mail.ntmk.ru with esmtp (Exim 4.34) id 1Cy76b-00020S-88 for freebsd-ports@freebsd.org; Mon, 07 Feb 2005 16:31:01 +0500 Message-ID: <42075175.20603@ntmk.ru> Date: Mon, 07 Feb 2005 16:31:01 +0500 From: Boris Kovalenko User-Agent: Mozilla Thunderbird 1.0 (X11/20050203) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Subject: We need new feature for pkg_create? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Feb 2005 11:31:04 -0000 Hello! I'm net/quagga port maintainer. My port is installing some scripts to /etc/rc.d. I know, this is bad, but I really need rcorder to be applied to my scripts. So, to install scripts, I use next trick: @cwd %%RC_DIR%% quagga%%RC_SUFX%% watchquagga%%RC_SUFX%% @cwd %%CWD_TRICK%% where %%RC_DR%% is set to /etc/rc.d and %%CWD_TRICK%% is set to ${PREFIX}. In most cases this works well, but not in case when pkg_add is used with -p option. So, the question is - may be we really need new feature for pkg_create like @pushwd and @popwd? So, the trick will look like @pushwd @cwd %%RC_DIR%% quagga%%RC_SUFX%% watchquagga%%RC_SUFX%% @popwd So all will be happy and pkg_add -p will work too. Any comments? -- With respect, Boris