From owner-freebsd-ports Sun Jun 20 22:43:55 1999 Delivered-To: freebsd-ports@freebsd.org Received: from adelphi.physics.adelaide.edu.au (adelphi.physics.adelaide.edu.au [129.127.36.247]) by hub.freebsd.org (Postfix) with ESMTP id 885D714D7A; Sun, 20 Jun 1999 22:43:50 -0700 (PDT) (envelope-from kkennawa@physics.adelaide.edu.au) Received: from bragg (bragg [129.127.36.34]) by adelphi.physics.adelaide.edu.au (8.8.8/8.8.8/UofA-1.5) with SMTP id PAA01640; Mon, 21 Jun 1999 15:13:50 +0930 (CST) Received: from localhost by bragg; (5.65/1.1.8.2/05Aug95-0227PM) id AA11851; Mon, 21 Jun 1999 15:15:10 +0930 Date: Mon, 21 Jun 1999 15:15:09 +0930 (CST) From: Kris Kennaway X-Sender: kkennawa@bragg To: Dave Chapeskie Cc: ports@freebsd.org, andreas@freebsd.org Subject: Re: Splitting a port into optional pieces... games/crossfire In-Reply-To: <19990621011522.36471@ddm.on.ca> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 21 Jun 1999, Dave Chapeskie wrote: > I noticed that the games/crossfire port was out of date by several > releases so I attempted to update the port to the latest version but I > encountered a few issues and I'm unsure of the best way to proceed so > I'm sending this e-mail in the hopes that I will be enlightened. :-) A lot of ports have conditional compilation behaviour based on environment variables, like USE_GTKCLIENT, NO_SOUND, etc. Based on which variables are set or unset, different PLISTS, LIB_DEPENDS, etc, are invoked. You might be able to get away with providing all the optional functionality you want with only a single port, or a base port + additional maps, etc. In the interests of KISS I'd say the fewer ports you make the better. Kris > -- > Dave Chapeskie, DDM Consulting > ----- "Never criticize anybody until you have walked a mile in their shoes, because by that time you will be a mile away and have their shoes." -- Unknown To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message