From owner-freebsd-ports Sun Apr 9 08:15:51 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id IAA24237 for ports-outgoing; Sun, 9 Apr 1995 08:15:51 -0700 Received: from localhost (localhost [127.0.0.1]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id IAA24231 ; Sun, 9 Apr 1995 08:15:49 -0700 X-Authentication-Warning: freefall.cdrom.com: Host localhost didn't use HELO protocol To: asami@freefall.cdrom.com cc: ports@freefall.cdrom.com Subject: OK, I've done part of it.. Date: Sun, 09 Apr 1995 08:15:49 -0700 Message-ID: <24230.797440549@freefall.cdrom.com> From: "Jordan K. Hubbard" Sender: ports-owner@FreeBSD.org Precedence: bulk I've added the true dependency stuff built on LIB_DEPENDS and EXEC_DEPENDS and also modified pkg_add to try and load depends on demand. At the very least, it will bitch about missing packages and quit. I haven't done the "make install pretend to be a pkg_add" mods yet since I'm still thinking about them. It's easy enough to make pkg_add eat a package directory, but then I have to run `make package-name' at the end of a pipe just to get the stupid package name - it seems silly when the makefile knew that information already. I'm thinking that given my preference of hacks, I'd prefer to see bsd.port.mk have an install rule that mimics pkg_add itself - it can easily create a /var/db/pkg/${PKGNAME}/... directory with the appropriate contents, and it knows more about any peculiarities of the port (like changed PKG_ARGS) that might preclude its being registered this way. This will have to wait until you write your skeleton framework thing so that we don't have to worry about people overridding install and breaking all of this! :-) Jordan