Date: Sun, 17 Aug 1997 00:37:41 +0000 From: Gary Jennejohn <garyj@peedub.muc.de> To: freebsd-ports@freebsd.org Subject: Re: setting a var Message-ID: <199708170037.AAA01398@peedub.muc.de> In-Reply-To: Your message of "Sat, 16 Aug 1997 18:01:25 -0400." <Pine.BSF.3.96.970816174927.313B-100000@Journey2.mat.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Chuck Robey writes: >I have a problem, I'd love to hear suggestions as to how to fix it/ > >I have a port nearly ready, of a2ps. The trouble is that, in building the >port, a variable is required to be set, that of PAPERSIZE. I have that >part of it completely worked out (very nicely) but I want to force, in the >package phase, the veriable PAPERSIZE to be embedded into the package >name. > >In itself, that's no problem, and I have that done. The trouble comes in >when I want to insure that the same PAPERSIZE variable that was used in >building the port, is used in doing the packaging. At the beginning of >the build, I drop a ".media" file into $(WRKDIR), having the value of the >PAPERSIZE variable. That works fine. What I want is to be able to >intialize (during the package phase) PAPERSIZE from reading the text in >that .media file. THAT's the part I can't yet get done. > >I know I could easily do this using GNU make, but this is the port's >makefile, not the source's, and bsd make executes it. Anyone know how I >can get this done? > >One thing ... I tried doing PAPERSIZE!= cat $(WRKDIR)/.media ... it says >work/.media: not found. Like it's trying to execute the file. > a2ps is already part of apsfilter. Take a look at how apsfilter handles it maybe ? Or, drop the port since it's redundant ? --- Gary Jennejohn Home - garyj@muc.de Work - gjennejohn@frt.dec.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708170037.AAA01398>