Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Apr 2003 18:47:17 +0200
From:      Thierry Thomas <thierry@pompo.net>
To:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: pear-* packages
Message-ID:  <20030406164717.GB9642@graf.pompo.net>
In-Reply-To: <20030406162733.GB657@freepuppy.bellavista.cz>
References:  <20030406162733.GB657@freepuppy.bellavista.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
Le Dim  6 avr 03 à 18:27:33 +0200, Roman Neuhauser <neuhauser@bellavista.cz>
 écrivait :
> Hi there,

Hello,

> I created ports for two PEAR classes: pear-HTTP_Request and
> pear-Net_URL. The ports as such work just find, but I have a problem

Great!

> with the package target for them: pear(1) uses package.xml files bundled
> in the source tarballs to register installed classes in the PEAR
> registry, and I don't know how to get these xml files into the created
> package. As far as I can tell none of the existing PEAR packages
> register themselves properly in PEAR, probably for just this reason.

After a make extract, package.xml is extracted into ${WRKDIR}.

Actually, the existing PEAR packages register themselves! For example,
check sysutils/pear-Log, target post-install:

# Register a new package
     @${PEAR} install -r -f ${WRKDIR}/package.xml

and there is a pkg-deinstall to unregister it.
-- 
Th. Thomas.



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