From owner-cvs-all Fri Feb 27 18:53:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA28088 for cvs-all-outgoing; Fri, 27 Feb 1998 18:53:18 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from picnic.mat.net (picnic.mat.net [206.246.122.117]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA28070; Fri, 27 Feb 1998 18:53:00 -0800 (PST) (envelope-from chuckr@glue.umd.edu) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.8.8/8.8.5) with SMTP id VAA04817; Fri, 27 Feb 1998 21:52:26 -0500 (EST) Date: Fri, 27 Feb 1998 21:52:26 -0500 (EST) From: Chuck Robey X-Sender: chuckr@localhost To: Satoshi Asami cc: obrien@NUXI.com, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-ports@FreeBSD.ORG Subject: Re: cvs commit: ports/print/c2ps Makefile In-Reply-To: <199802280210.SAA19632@vader.cs.berkeley.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Fri, 27 Feb 1998, Satoshi Asami wrote: > * I'll be a pain [read US-centric] and assume a2ps-letter contains the full > * port. Make > * > * PAPERSIZE?= letter # what ever varient spelling > * PKGNAME= a2ps-${PAPERSIZE} > * > * a2ps-a2 would > * > * PAPERSIZE=a4 > * .include "${.CURDIR}/../a2ps-letter/Makefile" > * FILESDIR= .... > * PATCHDIR= .... > * PKGDIR= .... > * > * There shouldn't be any differences in the PLISTs. > > I think I completely failed to get my point across. That is exactly > what I was thinking. If you do that, the many folks who download a single port will have it fail on them. These are the same folks who wouldn't understand why. The gain? This is a smallish port, so about a thousand bytes. > > * > print/a2ps-letter/Makefile: > * > === > * > : > * > .if defined(PAPERSIZE) && ${PAPERSIZE} != letter > * > BROKEN= This port is for Letter-sized printerheads. Go to ${PORTSDIR}/print/a2ps-a4 for A4 paper size. > * > .endif > * > === > * > * No need to make it broken. All (most?) of the printing ports already > * have a default, but it is easily overridable. > > This pertains to the second part of my message, about being able to > type "make PAPERSIZE=a4" from ports/print and let it DTRT. Sort of a > "safety belt" for people used to the current framework. > > Satoshi > > ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run Journey2 and picnic, both FreeBSD (301) 220-2114 | version 3.0 current -- and great FUN! ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message