Date: Tue, 5 Mar 1996 23:01:04 -0800 (PST) From: asami@cs.berkeley.edu (Satoshi Asami) To: jkh@time.cdrom.com Cc: ports@freebsd.org, jfieber@grendel.csc.smith.edu Subject: Re: Dependencies in the INDEX? Whine.. Message-ID: <199603060701.XAA15481@silvia.HIP.Berkeley.EDU> In-Reply-To: <24626.826094981@time.cdrom.com> (jkh@time.cdrom.com)
next in thread | previous in thread | raw e-mail | index | archive | help
I said: * The only problem is that we probably want the "directory" in that * field (like "lang/tcl74 x11/tk40") and it might look a little funny * going side-by-side with the list of package names ("tcl-7.4.2 * tk-4.0.2").... Or, we can just put in the package name in there, and let the web page use the INDEX file to do the reverse lookup. This probably makes more sense (and is aesthetically pleasing :). ===== --- /usr/src/share/mk/bsd.port.mk Sun Feb 18 01:35:48 1996 +++ bsd.port.mk Tue Mar 5 22:58:11 1996 @@ -1126,6 +1126,14 @@ .endif +.if !target(depends-list) +depends-list: + @for i in ${FETCH_DEPENDS} ${BUILD_DEPENDS} ${LIB_DEPENDS} ${DEPENDS}; do \ + dir=`/bin/echo $$i | /usr/bin/sed -e 's/.*://'`; \ + (cd $$dir ; ${MAKE} package-name depends-list); \ + done +.endif + ################################################################ # Everything after here are internal targets and really # shouldn't be touched by anybody but the release engineers. @@ -1135,7 +1143,7 @@ # a large index. Format is: # # distribution-name|port-path|installation-prefix|comment| \ -# description-file|maintainer|categories|keywords +# description-file|maintainer|categories|build deps|run deps # .if !target(describe) describe: @@ -1151,7 +1159,10 @@ else \ /bin/echo -n "|/dev/null"; \ fi - @/bin/echo -n "|${MAINTAINER}|${CATEGORIES}|${KEYWORDS}" + @/bin/echo -n "|${MAINTAINER}|${CATEGORIES}|" + @/bin/echo -n `make depends-list|sort|uniq` + @/bin/echo -n "|" + @/bin/echo -n `make package-depends|sort|uniq` @/bin/echo "" .endif ===== Satoshi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603060701.XAA15481>