From owner-freebsd-ports Tue Dec 16 17:50:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA22614 for ports-outgoing; Tue, 16 Dec 1997 17:50:00 -0800 (PST) (envelope-from owner-freebsd-ports) Received: from home.gtcs.com (home.gtcs.com [206.54.69.238]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA22604 for ; Tue, 16 Dec 1997 17:49:53 -0800 (PST) (envelope-from bruce@gtcs.com) Received: from gtcs.com (localhost.gtcs.com [127.0.0.1]) by home.gtcs.com (8.8.5/8.8.5) with ESMTP id SAA09658; Tue, 16 Dec 1997 18:49:31 -0700 (MST) Disposition-Notification-To: bgingery@gtcs.com X-Comment1: in most cases both the Return-Receipt and Delivery-Notification X-Comment2: requests are part of an ongoing poll to determine what clients X-Comment3: and MTAs respond to the headers. Message-Id: <199712170149.SAA09658@home.gtcs.com> Date: Tue, 16 Dec 1997 18:49:28 -0700 (MST) From: bgingery@gtcs.com Reply-To: bgingery@gtcs.com Subject: Re: Recommended added target for bsd.port.mk To: fenner@parc.xerox.com cc: freebsd-ports@freebsd.org In-Reply-To: <97Dec16.174308pst.177480@crevenia.parc.xerox.com> MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Sender: owner-freebsd-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On 16 Dec, Bill Fenner wrote: -} Bruce Gingery wrote: -} >"make installed" as an alias for "pkg_info -c `make package-name`" -} -} Is -} -} installed: -} @if pkg_info -e ${PKGNAME}; then \ -} ${ECHO_MSG} "===> ${PKGNAME} is installed."; \ -} else \ -} ${ECHO_MSG} "===> ${PKGNAME} is not installed.";\ -} fi -} -} what you want from "make installed"? (e.g. are you asking for 'pkg_info -c' -} because it displays the COMMENT file, or because it tells you if it's not -} installed?) -} -} Bill Whoops - time to upgrade my bsd.port.mk, I guess. The nice thing about my idea was that it did BOTH. Short description or "not installed". Bruce