From owner-freebsd-ports@FreeBSD.ORG Tue Dec 16 09:52:49 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 B699816A4CE for ; Tue, 16 Dec 2003 09:52:49 -0800 (PST) Received: from lilith.bellavista.cz (bellavista.worldonline.cz [212.90.245.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9113043D45 for ; Tue, 16 Dec 2003 09:52:45 -0800 (PST) (envelope-from neuhauser@bellavista.cz) Received: from freepuppy.bellavista.cz (freepuppy.bellavista.cz [10.0.0.10]) by lilith.bellavista.cz (Postfix) with ESMTP id 8336528; Tue, 16 Dec 2003 18:52:43 +0100 (CET) Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 2D54A2FDA01; Tue, 16 Dec 2003 18:52:43 +0100 (CET) Date: Tue, 16 Dec 2003 18:52:43 +0100 From: Roman Neuhauser To: Jens Rehsack Message-ID: <20031216175243.GB63726@freepuppy.bellavista.cz> Mail-Followup-To: Jens Rehsack , Thierry Thomas , FreeBSD Ports References: <3FDB8268.2060808@liwing.de> <20031213222510.GA68996@graf.pompo.net> <3FDB948F.4080002@liwing.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3FDB948F.4080002@liwing.de> User-Agent: Mutt/1.5.4i cc: FreeBSD Ports Subject: Re: Help on a new port -- how to execute a special install script or a special uninstall script 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: Tue, 16 Dec 2003 17:52:49 -0000 # rehsack@liwing.de / 2003-12-13 22:37:03 +0000: > Thierry Thomas wrote: > >Le Sam 13 déc 03 ? 22:19:36 +0100, Jens Rehsack > > écrivait : > >>I'm trying to create a port for phpDocumentor. First results are > >>attached. > >> > >>I need to specify a special script to be run on install and on > >>deinstall, but I didn't found an example, yet. Does anyone > >>know how to do that? > > > >PhpDocumentor is a PEAR package, and it should build / install using > >devel/pear-PEAR/Makefile.common, like any other PEAR package (I have not > >tried). > > > >Once PR ports/59213 get committed, it will become very easy! > > Not really, because the file list is very large, so I would like > to use the 'pear install' feature. For packages I would like to > do some magic which let's pear know whether the package is installed > or not. I tend to agree with Jens here. The plist is not so huge once you purge all the junk: ~ half of the contents of the package.xml is compiled Smarty templates, helper scripts with authors' $HOME paths hardcoded etc., however... I tried to create a phpDocumentor port myself, but retracted it as it wasn't worth the trouble. The code is a pile of nonsense that barely manages to work, and that only in limited set of circumstances. -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html