Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 1998 18:01:17 -0800
From:      "David E. O'Brien" <obrien@NUXI.com>
To:        Satoshi Asami <asami@FreeBSD.ORG>
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:  <19980227180117.46003@nuxi.com>
In-Reply-To: <199802280114.RAA18850@vader.cs.berkeley.edu>; from Satoshi Asami on Fri, Feb 27, 1998 at 05:14:02PM -0800
References:  <Pine.BSF.3.96.980227191713.316K-100000@localhost> <199802280114.RAA18850@vader.cs.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
> What do we do with PAPERSIZE?  The nice thing about the current

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.


> 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.

-- 
-- David    (obrien@NUXI.ucdavis.edu  -or-  obrien@FreeBSD.org)

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?19980227180117.46003>