From owner-freebsd-ports@FreeBSD.ORG Tue Oct 29 12:33:43 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CDD0CB92 for ; Tue, 29 Oct 2013 12:33:43 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.grem.de (outcast.grem.de [213.239.217.27]) by mx1.freebsd.org (Postfix) with SMTP id 214A02305 for ; Tue, 29 Oct 2013 12:33:42 +0000 (UTC) Received: (qmail 57449 invoked by uid 89); 29 Oct 2013 12:26:54 -0000 Received: from unknown (HELO bsd64.grem.de) (mg@grem.de@194.97.158.66) by mail.grem.de with ESMTPA; 29 Oct 2013 12:26:54 -0000 Date: Tue, 29 Oct 2013 13:26:54 +0100 From: Michael Gmelin To: freebsd-ports@freebsd.org Subject: pkg create, +MANIFEST and prefix (pkg 1.1.4) Message-ID: <20131029132654.230c5acc@bsd64.grem.de> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.18; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Oct 2013 12:33:43 -0000 Hi, what is the exact role of "prefix" in +MANIFEST? pkg-create(8) says: prefix path-prefix The path where the files contained in this package are installed (usually /usr/local). Given the following MANIFEST ... prefix: /usr/local/mypath ... files: relativepath/myfile:checksum... I would expect it to end up in /usr/local/mypath/relativepath/myfile, but instead it gets installed in `pwd`/myfile. Is this a bug or do I misunderstand what prefix is supposed to do? Thanks, Michael -- Michael Gmelin