Skip site navigation (1)Skip section navigation (2)
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.
Message-ID:  <200009031145.e83BiwG85980@pis.toba-cmt.ac.jp>
In-Reply-To: In your message of "03 Sep 2000 02:16:13 -0700" <vqchf7xx2ci.fsf@silvia.hip.berkeley.edu>
References:  <86g0nl8yr3.wl@archon.local.idaemons.org> <86d7ilj1eg.wl@archon.local.idaemons.org> <vqchf7xx2ci.fsf@silvia.hip.berkeley.edu>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009031145.e83BiwG85980>