Date: Fri, 27 Feb 1998 18:10:54 -0800 (PST) From: asami@FreeBSD.ORG (Satoshi Asami) To: obrien@NUXI.com Cc: chuckr@glue.umd.edu, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-ports@FreeBSD.ORG Subject: Re: cvs commit: ports/print/c2ps Makefile Message-ID: <199802280210.SAA19632@vader.cs.berkeley.edu> In-Reply-To: <19980227180117.46003@nuxi.com> (obrien@NUXI.com)
next in thread | previous in thread | raw e-mail | index | archive | help
* 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802280210.SAA19632>