Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Feb 1998 12:05:30 -0800
From:      "David E. O'Brien" <obrien@NUXI.com>
To:        Mikael Karpberg <karpen@ocean.campus.luth.se>
Cc:        Satoshi Asami <asami@FreeBSD.ORG>, 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:  <19980228120530.44879@nuxi.com>
In-Reply-To: <199802281157.MAA04516@ocean.campus.luth.se>; from Mikael Karpberg on Sat, Feb 28, 1998 at 12:57:01PM %2B0100
References:  <199802280210.SAA19632@vader.cs.berkeley.edu> <199802281157.MAA04516@ocean.campus.luth.se>

next in thread | previous in thread | raw e-mail | index | archive | help
> Why not just leave it as one port, and generate two packages called
> XXX-a4.tgz and XXX-letter.tgz from it? Or...

The next generation of the package tools should support "fat" packages,
a-la MacIntosh "fat" binaries.
 
> If it's just a matter of getting a default value for the runtime when the
> user doesn't have the env variable PAPERSIZE set, just make all ports
> that use it depend on one papersize_default "port", which simply querries the
> user for his prefered default format and writes that to a file like
> /usr/local/etc/papersize_default and so all ports can just do something like:

Good idea.  But, rather than read a file, just check for its existance,
ie, access(2).  Say /usr/local/etc/papersize-a4 or
/usr/local/etc/papersize-letter.

> Hmm... Just my $.02

Of course diffs are *always* welcomed.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980228120530.44879>