From owner-freebsd-ports Tue May 18 12:50:40 1999 Delivered-To: freebsd-ports@freebsd.org Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id 83FFD14D6D for ; Tue, 18 May 1999 12:50:34 -0700 (PDT) (envelope-from sprice@hiwaay.net) Received: from localhost (sprice@localhost) by mail.HiWAAY.net (8.9.1a/8.9.0) with ESMTP id OAA20588; Tue, 18 May 1999 14:50:24 -0500 (CDT) Date: Tue, 18 May 1999 14:50:24 -0500 (CDT) From: Steve Price To: Rich Morin Cc: ports@FreeBSD.ORG Subject: Re: INDEX file questions In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 18 May 1999, Rich Morin wrote: # Can someone point me to the format definition for the INDEX file? Take a look at /usr/ports/Makefile and /usr/ports/Mk/bsd.port.mk. In particular look at the describe target in bsd.port.mk. # I've looked around a bit and can't find it. In particular, I'm # a bit confused by what seem to be dependency fields (8 & 9): # # 1 saoimage-1.22 # 2 /usr/ports/astro/saoimage # 3 /usr/X11R6 # 4 Smithsonian Astrophysical Observatory image utility for X # 5 /usr/ports/astro/saoimage/pkg/DESCR # 6 giffunip@asme.org # 7 astro # 8 XFree86-3.3.3.1 a list of build dependencies # 9 XFree86-3.3.3.1 a list of run dependencies # 10 ??? the main WWW distribution site for the port # Looking in the Makefile for astro/saoimage, I don't see any dependency # information, save that USE_X_PREFIX is defined (implicitly requiring # ${PORTSDIR}/x11/XFree86). Is someone (Satoshi?) hand-editing these # fields, or what? Nope. It is all done by the Makefiles, bsd.port.mk, and a perl script (ports/Tools/make_index). XFree86 shows up because in bsd.port.mk USE_X_PREFIX -> USE_XLIB -> LIB_DEPENDS+=X11.6:${PORTSDIR}/x11/XFree86 A LIB_DEPENDS is both a build and a runtime dependency. Clear as mud? :) # -r # -- # Rich Morin: rdm@cfcl.com, +1 650-873-7841, http://www.ptf.com/~rdm # Prime Time Freeware: info@ptf.com, +1 408-433-9662, http://www.ptf.com # MacPerl: http://www.macperl.com, http://www.ptf.com/ptf/products/MPPE # MkLinux: http://www.mklinux.apple.com, http://www.ptf.com/ptf/products/MKLP To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message