Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jun 2004 14:22:33 +0200
From:      Oliver Eikemeier <eikemeier@fillmore-labs.com>
To:        bogdan <vaidab@yahoo.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Makefile problem
Message-ID:  <D9F57201-BAD8-11D8-8F7D-00039312D914@fillmore-labs.com>
In-Reply-To: <20040610114506.72577.qmail@web60708.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
bogdan wrote:

>   Hy, I'm trying to make a port for a proggie that
> uses its own ./install script. How can I declare
> something like: INSTALL_SCRIPT in my Makefile ?
>
> I've read /usr/ports/Mk/bsd.port.mk and found a
> solution only for configuring: (but the script also
> installs it)
>
> HAS_CONFIGURE=         yes
> CONFIGURE_SCRIPT=      ${WRKSRC}/install
>
> What are the options here: should I write a separate
> configure script ? Should I separate the configure and
> the install part from ./install ?

Normally the ports Makefile has an `install' target that
calls the script. If it doesn't, patch the Makefile and
submit the patches upstream.

> I would also like to know how can I find out which
> ports use: INSTALL_AS_USER (it there a search for
> Makefile implemented?)

It's a user-settable variable.

>    Please cc the answer to me as I'm not on the
> mailling list.

You should be, if you plan to submit FreeBSD ports.

-Oliver



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D9F57201-BAD8-11D8-8F7D-00039312D914>