Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Apr 1999 14:02:59 +0200
From:      Stefan Bethke <stefan.bethke@hanse.de>
To:        Satoshi - Ports Wraith - Asami <asami@FreeBSD.ORG>
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: Does an interactive install count as IS_INTERACTIVE?
Message-ID:  <683368.3133778579@d225.promo.de>
In-Reply-To: <199904221036.DAA98968@silvia.hip.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Satoshi - Ports Wraith - Asami <asami@FreeBSD.ORG> wrote:

>  * Now, does this pkg/INSTALL script (called at POST-INSTALL) count as
>  * IS_INTERACTIVE?  bsd.port.mk says "during a build", which suggest to =
me
>  * that this is for build only, not for install.
> 
> No, I meant "any time during a package build". ;)
> 
>  * If install also counts, do I need to set IS_INTERACTIVE, or just =
/not/
>  call * pkg/INSTALL on a BATCH build (which would result in a complete
>  package, but * the local installation would require manual action)?
> 
> Well, if you just set it to IS_INTERACTIVE, you're pretty much
> guaranteeing that the package will never show up on any CD. :>
> 
> Since you have the necessary stuff in INSTALL, how about something
> like
> 
> .if !defined(PACKAGE_BUILDING)
> IS_INTERACTIVE=3D	yes
> post-install:
>	 @PKG_PREFIX=3D${PREFIX} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
> .endif

This is exactly what I meant by the above.


Thanks,
Stefan

--
M=FChlendamm 12           |  Voice +49-40-256848, +49-177-3504009
D-22089 Hamburg         |  e-mail: stefan.bethke@hanse.de
Germany                 |          stb@freebsd.org



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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