From owner-freebsd-questions Thu Sep 26 7:30:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F59737B404 for ; Thu, 26 Sep 2002 07:30:22 -0700 (PDT) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id E5C8443E97 for ; Thu, 26 Sep 2002 07:30:18 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: (qmail 16177 invoked from network); 26 Sep 2002 14:30:17 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 26 Sep 2002 14:30:17 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 8A1E22FDAB2; Thu, 26 Sep 2002 16:30:15 +0200 (CEST) Date: Thu, 26 Sep 2002 16:30:15 +0200 From: Roman Neuhauser To: Richard Jones Cc: freebsd-questions@freebsd.org Subject: Re: Port manipulation Message-ID: <20020926143015.GO30361@freepuppy.bellavista.cz> Mail-Followup-To: Richard Jones , freebsd-questions@freebsd.org References: <20020926150929.A56784@daedalus.info-plc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020926150929.A56784@daedalus.info-plc.com> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG # richard@jonze.com / 2002-09-26 15:09:29 +0100: > Hi, > > Could someone point me in the direction of "intermediate" documentation > on ports? The handbook doesn't say enough, and the Ports guide is too > dense and focuses mostly on creating ports. > > I want to find out things like: > How to install mtr without X > How to install wget without Japanese language support > How to install lame without GTK support. such questions are usually easily answered by reading the port's Makefile. /usr/ports/audio/lame/Makefile e. g. contains this: .if (${HAVE_GNOME:Mgtk12}!="" || defined(WITH_GTK)) && !defined(WITHOUT_GTK) USE_GNOME+= gtk12 PLIST_SUB+= WITH_GTK='' PKGNAMESUFFIX= -gtk .else PLIST_SUB+= WITH_GTK='@comment ' .endif that looks like % make install -DWITHOUT_GTK will do what you want. n. b.: answers to questions like "what the heck is the WANT_GNOME stuff" lie in the /usr/ports/Mk directory. get yourself ready for some searious reading if you're not a Makefile hacker though, that stuff is pretty heavy, *but not impenetretable*. see also make(1) and /usr/share/doc/psd/12.make/paper.ascii.gz hmm, looks like i answered a different question. :) -- begin 666 nonexistent.vbs FreeBSD 4.7-RC 4:20PM up 8 days, 23:35, 12 users, load averages: 0.01, 0.03, 0.00 end To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message