From owner-freebsd-doc Sun Feb 25 10:40:38 2001 Delivered-To: freebsd-doc@freebsd.org Received: from nothing-going-on.demon.co.uk (nothing-going-on.demon.co.uk [193.237.89.66]) by hub.freebsd.org (Postfix) with ESMTP id 0948A37B67D; Sun, 25 Feb 2001 10:40:31 -0800 (PST) (envelope-from nik@nothing-going-on.demon.co.uk) Received: (from nik@localhost) by nothing-going-on.demon.co.uk (8.11.1/8.11.1) id f1PKLho40845; Sun, 25 Feb 2001 20:21:43 GMT (envelope-from nik) Date: Sun, 25 Feb 2001 20:21:43 +0000 From: Nik Clayton To: Andreas Klemm Cc: Nik Clayton , John Baldwin , doc@freebsd.org, jkh@freebsd.org Subject: Re: docproj depends on X11 now?!?! Message-ID: <20010225202143.B13854@canyon.nothing-going-on.org> References: <20010224230908.C64525@canyon.nothing-going-on.org> <20010225105947.A68522@canyon.nothing-going-on.org> <20010225130102.A17696@titan.klemm.gtn.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="UHN/qo2QbUvPLonB" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010225130102.A17696@titan.klemm.gtn.com>; from andreas@FreeBSD.org on Sun, Feb 25, 2001 at 01:01:02PM +0100 Organization: FreeBSD Project Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --UHN/qo2QbUvPLonB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Feb 25, 2001 at 01:01:02PM +0100, Andreas Klemm wrote: > On Sun, Feb 25, 2001 at 10:59:51AM +0000, Nik Clayton wrote: > > My current thinking is a slave port, ghostscript6-nox11 that eps2png can > > depend on instead. There are other options (a WITH_X11 variable, that > > sort of thing) that various people on irc have suggested as well. Not > > being a prolific porter, I'm going to go with whatever's easiest for me > > to implement (viz, a slave port) unless people have specific objections > > (or they want to write the code). > > > > Thoughts? > > A slave port would have the advantage to offer two different > gs binary packages, one with and one without the requirement > for X. I got part way through building a slave port, then realised that it would be much simpler just to teach the main port about the NO_X variable. We could still create a slave port that did nothing more than make sure that NO_X was set first. The attached Makefile (untested) in print/ghostscript6-nox11, plus the patches I've just sent round, should do the job. N -- Internet connection, $19.95 a month. Computer, $799.95. Modem, $149.95. Telephone line, $24.95 a month. Software, free. USENET transmission, hundreds if not thousands of dollars. Thinking before posting, priceless. Somethings in life you can't buy. For everything else, there's MasterCard. -- Graham Reed, in the Scary Devil Monastery --UHN/qo2QbUvPLonB Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=Makefile # New ports collection makefile for: ghostscript6-nox11 # Date created: 23 February 2001 # Whom: nik # # $FreeBSD$ # PORTNAME= ghostscript6 PKGNAMESUFFIX= -nox11 MAINTAINER= nik@freebsd.org NO_X= yes MASTERDIR= ${.CURDIR}/../ghostscript6 .include "${MASTERDIR}/Makefile" --UHN/qo2QbUvPLonB-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message