Date: Tue, 16 Dec 1997 18:49:28 -0700 (MST) From: bgingery@gtcs.com To: fenner@parc.xerox.com Cc: freebsd-ports@freebsd.org Subject: Re: Recommended added target for bsd.port.mk Message-ID: <199712170149.SAA09658@home.gtcs.com> In-Reply-To: <97Dec16.174308pst.177480@crevenia.parc.xerox.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 16 Dec, Bill Fenner wrote: -} Bruce Gingery <bruce@gtcs.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712170149.SAA09658>