Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jun 2004 11:00:34 GMT
From:      "Cyrille Lefevre" <cyrille.lefevre@laposte.net>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/67888: Ports update: devel/cvsbook (was marked broken)
Message-ID:  <200406151100.i5FB0YOr074000@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/67888; it has been noted by GNATS.

From: "Cyrille Lefevre" <cyrille.lefevre@laposte.net>
To: "Volker Stolz" <stolz@i2.informatik.rwth-aachen.de>
Cc: "Thierry Thomas" <thierry@FreeBSD.org>,
	<freebsd-gnats-submit@FreeBSD.org>
Subject: Re: ports/67888: Ports update: devel/cvsbook (was marked broken)
Date: Tue, 15 Jun 2004 12:51:11 +0200

 "Volker Stolz" <stolz@i2.informatik.rwth-aachen.de> wrote:
 > Am 15. Jun 2004 um 11:11 CEST schrieb Cyrille Lefevre:
 > > "Volker Stolz" <vs@FreeBSD.org> wrote:
 > > > This looks like no install-info will be executed when installing from 
 > > > package. This could be avoided by using the INFO-mechanism.
 > > 
 > > I did not understand what you mean ?
 > > I've just re-check everything, w/ or w/o packages, w/o any issue.
 > 
 > You need to do "extended" checking, otherwise you won't notice:
 > install-info will register the file in a central directory, so that if you
 > just invoke "info", you'll find a new entry. If you don't call install-info,
 > you won't find it there and have to specify the full path, e.g.
 >   info /path/too/foo.info
 > 
 > If you use INFO, this will be done automatically, the section will be
 > inferred from the .info-file. 
 
 
 that's what I've done :
 
 .if defined(WITH_CVSBOOK_INFO)
 INFO=           cvsbook
 INFODIR=        ${PREFIX}/${INFO_PATH}
 INSTALL_INFO?=  install-info
 .endif
 ...
 do-install:
 ...
 .if defined(WITH_CVSBOOK_INFO)
         @${INSTALL_DATA} ${WRKSRC}/cvsbook.info* ${INFODIR}
         @${INSTALL_INFO} ${INFODIR}/cvsbook.info ${INFODIR}/dir
 .endif
 
 so, whatever you use "make install/deinstall" or
 "pkg_add/pkg_delete cvsbook-1.21_2", cvsbook.info
 is well registered/unregistered in all cases !
 
 Cyrille Lefevre.
 -- 
 home: mailto:cyrille.lefevre@laposte.net



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