From owner-freebsd-ports Sun Sep 3 4:45: 0 2000 Delivered-To: freebsd-ports@freebsd.org Received: from pis.toba-cmt.ac.jp (pis.toba-cmt.ac.jp [202.26.248.77]) by hub.freebsd.org (Postfix) with ESMTP id AD39737B422 for ; Sun, 3 Sep 2000 04:44:56 -0700 (PDT) Received: from kiri.pis (localhost [127.0.0.1]) by pis.toba-cmt.ac.jp (8.11.0/8.9.3) with ESMTP id e83BiwG85980 for ; Sun, 3 Sep 2000 20:45:00 +0900 (JST) (envelope-from kiri@pis.toba-cmt.ac.jp) Message-Id: <200009031145.e83BiwG85980@pis.toba-cmt.ac.jp> Date: Sun, 03 Sep 2000 20:44:58 +0900 From: kiri@pis.toba-cmt.ac.jp To: freebsd-ports@FreeBSD.ORG Subject: Re: bsd.ruby.mk, bsd.gnome.mk, ... etc. In-Reply-To: In your message of "03 Sep 2000 02:16:13 -0700" References: <86g0nl8yr3.wl@archon.local.idaemons.org> <86d7ilj1eg.wl@archon.local.idaemons.org> User-Agent: Wanderlust/1.1.0 (Overjoyed) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 12) (Channel Islands) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At 03 Sep 2000 02:16:13 -0700, asami@FreeBSD.ORG (Satoshi - Ports Wraith - Asami) wrote: > > One question, do you want bsd.port.mk to include it for you (like > bsd.emacs.mk) or will the ports' Makefiles include it themselves? I think bsd.*.mk shuld be included according to it's category feature. bsd.port.mk would be included like below?: # But changed like this, include file name must be coinside with # it's category name. --- /usr/ports/Mk/bsd.port.mk Sat Aug 26 12:30:42 2000 +++ bsd.port.mk Sun Sep 3 20:28:10 2000 @@ -657,10 +657,6 @@ #RESTRICTED= "Contains cryptography." .endif -.if defined(EMACS_PORT_NAME) -.include "${PORTSDIR}/Mk/bsd.emacs.mk" -.endif - # defaults to 3.3.6; will be changed to 4.0 when it is ready XFREE86_VERSION?= 3 @@ -1188,6 +1184,16 @@ tk42 tk80 tk82 tk83 tkstep80 \ vietnamese windowmaker www \ x11 x11-clocks x11-fm x11-fonts x11-servers x11-toolkits x11-wm +INCLUDEMK_CATEGORIES= elisp ruby gnome kde +__incmkfiles!= \ + for cat in ${INCLUDEMK_CATEGORIES}; do \ + if echo ${CATEGORIES} | grep -wq $$cat; then \ + echo "bsd.$$cat.mk"; \ + fi; \ + done +.for file in ${__incmkfiles} +.include "${PORTSDIR}/Mk/${file}" +.endfor check-categories: .for cat in ${CATEGORIES} @if ${ECHO} ${VALID_CATEGORIES} | ${GREP} -wq ${cat}; then \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message