From owner-freebsd-ports@FreeBSD.ORG Tue Dec 3 07:30:37 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CA3F353A for ; Tue, 3 Dec 2013 07:30:37 +0000 (UTC) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AE0611B5A for ; Tue, 3 Dec 2013 07:30:37 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1VnkRI-0006y5-Kz for freebsd-ports@freebsd.org; Mon, 02 Dec 2013 23:30:36 -0800 Date: Mon, 2 Dec 2013 23:30:36 -0800 (PST) From: Beeblebrox To: freebsd-ports@freebsd.org Message-ID: <1386055836641-5865626.post@n5.nabble.com> Subject: pkg install from ports list 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.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Dec 2013 07:30:37 -0000 If one has a list of packages which one wants to install, one can do: pkg install `cat /path-to/pkg.list` And the packages listed in that file will get installed. Unfortunately, I have a list of ports (which I fed to poudriere for the build). Now I have a list of ports which I would like to install but I must convert it to a package list. Removing the section preceding the slash and generating a new file of the trailing section is not difficult, but it does not solve the problem. Many packages do not have the same name as the trailing section. For example devel/qmake4 package is named qt4-qmake-4*, and thus pkg install qmake4 does not work. How to install the list of ports then? I don't see a way to feed a list of port names into pkg install (which would be very nice actually). If portmaster were to support pkgng, "portmaster -PP `cat ~/installed-port-list` " would have done it, but I see no replacement for it. portupgrade does not work either and actually seems broken. Is there a work-around? Regards. ----- FreeBSD-11-current_amd64_root-on-zfs_RadeonKMS -- View this message in context: http://freebsd.1045724.n5.nabble.com/pkg-install-from-ports-list-tp5865626.html Sent from the freebsd-ports mailing list archive at Nabble.com.