From owner-freebsd-ports@FreeBSD.ORG Fri Apr 18 03:13:07 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76E3D37B401 for ; Fri, 18 Apr 2003 03:13:07 -0700 (PDT) Received: from mail.bellavista.cz (mail.bellavista.cz [213.235.167.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id B417743FE9 for ; Fri, 18 Apr 2003 03:13:06 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: from freepuppy.bellavista.cz (freepuppy.bellavista.cz [10.0.0.10]) by mail.bellavista.cz (Postfix) with ESMTP id B6DC6349 for ; Fri, 18 Apr 2003 12:13:05 +0200 (CEST) Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 0176B2FDFF2; Fri, 18 Apr 2003 12:13:04 +0200 (CEST) Date: Fri, 18 Apr 2003 12:13:04 +0200 From: Roman Neuhauser To: freebsd-ports Message-ID: <20030418101304.GF20941@freepuppy.bellavista.cz> Mail-Followup-To: freebsd-ports Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i Subject: new target to display options X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2003 10:13:07 -0000 Hi there, various ports display messages informing the user that they can use WITH_THIS or WITHOUT_THAT. these messages are put into pre-everything, pre-fetch, post-fetch... How about a new target, say, "options"? /usr/ports/foo/bar/Makefile: options: @${ECHO_CMD} "You can use the following variables to build this port:" @${ECHO_CMD} "WITH_FOO: includes support for FOO" @${ECHO_CMD} "WITHOUT_BAR: disables support for BAR" /usr/ports/Mk/bsd.port.mk: .if !target(options) options: @${ECHO_CMD} "No user-servicable parts inside." @${ECHO_CMD} "Warranty void if removed." .endif -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html