Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 1997 17:43:01 PST
From:      Bill Fenner <fenner@parc.xerox.com>
To:        Bruce Gingery <bruce@gtcs.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Recommended added target for bsd.port.mk 
Message-ID:  <97Dec16.174308pst.177480@crevenia.parc.xerox.com>
In-Reply-To: Your message of "Tue, 16 Dec 97 09:45:12 PST." <Pine.BSF.3.96.971216104005.5233A-100000@home.gtcs.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?97Dec16.174308pst.177480>