From owner-freebsd-ports Sat Feb 28 09:41:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA28931 for freebsd-ports-outgoing; Sat, 28 Feb 1998 09:41:09 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from localhost.my.domain (ppp1685.on.bellglobal.com [206.172.249.149]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA28918; Sat, 28 Feb 1998 09:41:02 -0800 (PST) (envelope-from ac199@hwcn.org) Received: from localhost (tim@localhost) by localhost.my.domain (8.8.8/8.8.8) with SMTP id MAA01507; Sat, 28 Feb 1998 12:27:34 -0500 (EST) (envelope-from ac199@hwcn.org) X-Authentication-Warning: localhost.my.domain: tim owned process doing -bs Date: Sat, 28 Feb 1998 12:27:34 -0500 (EST) From: Tim Vanderhoek X-Sender: tim@localhost Reply-To: ac199@hwcn.org To: Satoshi Asami cc: chuckr@glue.umd.edu, obrien@NUXI.com, ports@FreeBSD.ORG Subject: Re: cvs commit: ports/print/c2ps Makefile In-Reply-To: <199802280114.RAA18850@vader.cs.berkeley.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 27 Feb 1998, Satoshi Asami wrote: > So, the idea is to have - directories instead of > that we have currently. People just cd into those and type > "make install", and it will compile and install that version. For the - should, of course, ignore any variables instructing do use something other than Do we want a - for every papersize supported by the port? (assumed answer for remainder of message is "yes" :). > What do we do with PAPERSIZE? The nice thing about the current > setting is that you can type "make install" from ports/print and get > everything set up correctly if you have that variable defined. Code to do try and find a -<${PAPERSIZE}> when only the Makefile is run could be added to bsd.port.mk. The ports currently using PAPERSIZE tend to have _otherwise_ smallish Makefiles (ie. not too many extract/patch/build hacks needed). I would expect this trend to continue. All the real info can be duplicated in each - Makefile leaving as nothing more than a placeholder. Even if a port which needs extensive hacks comes-up, there's always scripts/, which can be shared instead of the Makefile. > 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 Code like this should really really really be moved to bsd.port.mk! -- tIM...HOEk OPTIMIZATION: the process of using many one-letter variables names hoping that the resultant code will run faster. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message