From owner-cvs-all Fri Feb 27 18:11:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA23219 for cvs-all-outgoing; Fri, 27 Feb 1998 18:11:04 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from vader.cs.berkeley.edu (vader.CS.Berkeley.EDU [128.32.38.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA23208; Fri, 27 Feb 1998 18:10:58 -0800 (PST) (envelope-from asami@vader.cs.berkeley.edu) Received: (from asami@localhost) by vader.cs.berkeley.edu (8.8.7/8.7.3) id SAA19632; Fri, 27 Feb 1998 18:10:54 -0800 (PST) Date: Fri, 27 Feb 1998 18:10:54 -0800 (PST) Message-Id: <199802280210.SAA19632@vader.cs.berkeley.edu> To: obrien@NUXI.com CC: chuckr@glue.umd.edu, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-ports@FreeBSD.ORG In-reply-to: <19980227180117.46003@nuxi.com> (obrien@NUXI.com) Subject: Re: cvs commit: ports/print/c2ps Makefile From: asami@FreeBSD.ORG (Satoshi Asami) Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk * 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. * > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message