Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 1998 21:52:26 -0500 (EST)
From:      Chuck Robey <chuckr@glue.umd.edu>
To:        Satoshi Asami <asami@FreeBSD.ORG>
Cc:        obrien@NUXI.com, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-ports@FreeBSD.ORG
Subject:   Re: cvs commit: ports/print/c2ps Makefile
Message-ID:  <Pine.BSF.3.96.980227215114.316Q-100000@localhost>
In-Reply-To: <199802280210.SAA19632@vader.cs.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980227215114.316Q-100000>