Help on a new port -- how to execute a special install script
or a special uninstall script
Roman Neuhauser
neuhauser at bellavista.cz
Tue Dec 16 09:52:49 PST 2003
# rehsack at 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 at 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
More information about the freebsd-ports
mailing list