Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 1995 14:08:14 -0700
From:      asami@cs.berkeley.edu (Satoshi Asami)
To:        jmz@cabri.obs-besancon.fr
Cc:        ports@freebsd.org
Subject:   Re: viewfax doesn't package
Message-ID:  <199509292108.OAA26387@silvia.HIP.Berkeley.EDU>
In-Reply-To: <9509291330.AA02036@cabri.obs-besancon.fr> (message from Jean-Marc Zucconi on Fri, 29 Sep 95 14:30:07 %2B0100)

next in thread | previous in thread | raw e-mail | index | archive | help
 * make package PREFIX=/usr/local works

Of course, but that means automatic package generation from the parent
dir will no longer work! ;)

And I don't think we should put PREFIX=/usr/local in the Makefile
either, that would hard-code the port into /usr/local.

 *  > Do you think we can delete BINDIR, MANDIR and set HELPDIR to
 *  > ${USRLIBDIR}/X11 or something?
 * 
 * I did not change this because I prefer to install everything in
 * /usr/local than in /usr/X11R6 :-)

Well, I understand your preference, but the whole imake paradigm is
designed to put things in one place, like it or not.

 * The problem with the ports using Imake is that there is no mechanism
 * in bsd.port.mk to install them in another location than $X11BASE.

That's a "feature".  Ports with Imakefiles are usually happy with
$X11BASE.  Let's not bend ourselves backwards to accomodate authors
who do things they are not supposed to, ok? :)

 * 								     I
 * should have written a configure script to set BINDIR, MANDIR and
 * HELPDIR:
 * 	echo "BINDIR=$PREFIX/bin" >> $WRKSRC/Imakefile
 * 	etc...
 * but I am lazy those days :-)

You can just change them like I said, and you don't even need that. :)

Satoshi



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