Date: Tue, 16 Dec 2003 18:52:43 +0100 From: Roman Neuhauser <neuhauser@bellavista.cz> To: Jens Rehsack <rehsack@liwing.de> Cc: FreeBSD Ports <ports@freebsd.org> Subject: Re: Help on a new port -- how to execute a special install script or a special uninstall script Message-ID: <20031216175243.GB63726@freepuppy.bellavista.cz> In-Reply-To: <3FDB948F.4080002@liwing.de> References: <3FDB8268.2060808@liwing.de> <20031213222510.GA68996@graf.pompo.net> <3FDB948F.4080002@liwing.de>
next in thread | previous in thread | raw e-mail | index | archive | help
# 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 <rehsack@liwing.de> > > é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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031216175243.GB63726>