From owner-freebsd-ports@FreeBSD.ORG Mon Jul 8 04:22:24 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id EB5E28F5; Mon, 8 Jul 2013 04:22:24 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail05.adl6.internode.on.net (ipmail05.adl6.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:6:5]) by mx1.freebsd.org (Postfix) with ESMTP id 55F2216EB; Mon, 8 Jul 2013 04:22:23 +0000 (UTC) Received: from ppp247-71.static.internode.on.net (HELO leader.local) ([203.122.247.71]) by ipmail05.adl6.internode.on.net with ESMTP; 08 Jul 2013 13:52:22 +0930 Message-ID: <51DA3E79.80403@ShaneWare.Biz> Date: Mon, 08 Jul 2013 13:52:17 +0930 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: Aryeh Friedman Subject: Re: help with making a port References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Jason Helfman , FreeBSD Ports ML 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: Mon, 08 Jul 2013 04:22:25 -0000 On 08/07/2013 05:32, Aryeh Friedman wrote: > On Sun, Jul 7, 2013 at 3:51 PM, Jason Helfman wrote: >> pkg which /path/to/file >> or >> pkg_info -W /path/to/file > aryeh@dev:/home/aryeh% pkg_info -W /usr/local/share/foo/foo.jar > pkg_info: You appear to be using the newer pkg(1) tool on this system Of the two examples 'pkg_info -W' is the old way and 'pkg which' is the new way. The error from pkg_info -W indicates you have the new package system setup and need to use the pkg which command. Is this your first attempt at making the port? Maybe you have an old attempt still in place. Did you move the port to a new category folder? As foo-0.1 isn't the real name of the port, are you certain that the name you are using is a new unique name?