From owner-freebsd-ports@FreeBSD.ORG Sun Apr 6 09:48:46 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 197B137B408 for ; Sun, 6 Apr 2003 09:48:46 -0700 (PDT) Received: from graf.pompo.net (lns-th2-6f-81-57-186-139.adsl.proxad.net [81.57.186.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CD1543FBF for ; Sun, 6 Apr 2003 09:48:44 -0700 (PDT) (envelope-from thierry@pompo.net) Received: by graf.pompo.net (Postfix, from userid 1001) id 02E7F7513; Sun, 6 Apr 2003 18:47:17 +0200 (CEST) Date: Sun, 6 Apr 2003 18:47:17 +0200 From: Thierry Thomas To: freebsd-ports Message-ID: <20030406164717.GB9642@graf.pompo.net> Mail-Followup-To: freebsd-ports References: <20030406162733.GB657@freepuppy.bellavista.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20030406162733.GB657@freepuppy.bellavista.cz> X-Face: (hRbQnK~Pt7$ct`!fupO(`y_WL4^-Iwn4@ly-.,[4xC4xc; y=\ipKMNm<1J>lv@PP~7Z<.t KjAnXLs: User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.8-RC i386 Organization: Kabbale Eros X-PGP: 0xC71405A2 Subject: Re: pear-* packages X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Apr 2003 16:48:46 -0000 Le Dim 6 avr 03 à 18:27:33 +0200, Roman Neuhauser é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.