Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  9 Apr 2003 15:24:02 +0200
From:      Thierry Thomas <thierry@pompo.net>
To:        Roman Neuhauser <neuhauser@bellavista.cz>
Cc:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: pear-* packages
Message-ID:  <1049894642.3e941ef22aa34@graf.pompo.net>
In-Reply-To: <20030409084548.GH657@freepuppy.bellavista.cz>
References:  <20030406162733.GB657@freepuppy.bellavista.cz> <20030406164717.GB9642@graf.pompo.net> <20030408213349.GB99494@graf.pompo.net> <20030409084548.GH657@freepuppy.bellavista.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
Selon Roman Neuhauser <neuhauser@bellavista.cz>:

>     hmmm, one question, though: is installing package.xml actually
>     necessary? AFAICT it's only needed during the install. isn't
> there
>     another way to get that file into the package with make package?

It seems to be the simplest way: the file package.xml must have been 
installed somewhere to be found by pkg-install. Perhaps pkg-install 
could remove this file after registration, and it could be managed with 
a dynamic pkg-plist? (I have not tried).

>     also, if they do need to be on the plist to be picked up, is
>     ${PREFIX}/.PEAR.pkg the best place? wouldn't ${PEARDIR}/.pkg or
>     ${PREFIX}/var/PEAR or something like that be better?

Perhaps... Everything is defined by ${PKGREGDIR}, it's easy to change. 
Note that pkg-install does not know anything about PEARDIR, it only 
knows PREFIX and PKGNAME.
-- 
Th. Thomas



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