Help on a new port -- how to execute a special install script or a special uninstall script

Jens Rehsack rehsack at liwing.de
Sat Dec 13 14:37:08 PST 2003


Thierry Thomas wrote:
> Le Sam 13 déc 03 à 22:19:36 +0100, Jens Rehsack <rehsack at liwing.de>
>  écrivait :
> 
>>Hi,
> 
> 
> Hello,
> 
> 
>>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!
> 
> Best regards,

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.

Best regards,
Jens



More information about the freebsd-ports mailing list