ports/67888: Ports update: devel/cvsbook (was marked broken)
Cyrille Lefevre
cyrille.lefevre at laposte.net
Tue Jun 15 11:01:06 UTC 2004
The following reply was made to PR ports/67888; it has been noted by GNATS.
From: "Cyrille Lefevre" <cyrille.lefevre at laposte.net>
To: "Volker Stolz" <stolz at i2.informatik.rwth-aachen.de>
Cc: "Thierry Thomas" <thierry at FreeBSD.org>,
<freebsd-gnats-submit at 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 at i2.informatik.rwth-aachen.de> wrote:
> Am 15. Jun 2004 um 11:11 CEST schrieb Cyrille Lefevre:
> > "Volker Stolz" <vs at 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 at laposte.net
More information about the freebsd-ports-bugs
mailing list