cvs commit: ports/lang/php4 Makefile.pear pkg-plist.pear ports/lang/php5 Makefile.pear pkg-plist.pear

Alex Dupre ale at FreeBSD.org
Mon Apr 11 02:03:15 PDT 2005


Kris Kennaway wrote:
> Thanks, but this isn't quite there yet.

Let's see.

>>|  post-install:
>>|  	@${INSTALL_SCRIPT} ${WRKSRC}/pear/scripts/pear ${PREFIX}/bin
>>| +	@${MKDIR} ${PREFIX}/lib/php/pear/.registry
>>| +	@${TOUCH} ${PREFIX}/lib/php/pear/.filemap
>>| +	@${TOUCH} ${PREFIX}/lib/php/pear/.lock
> 
> 
> This won't happen if the package is added, so you need to also add
> corresponding @exec statements to the pkg-plist.

Your are right only for the first entry (the directory), since I changed 
the other "@unexec rm" lines into real pkg-plist file entries. I'll fix 
the first asap.

>>| --- ports/lang/php5/Makefile.pear	2004/12/01 10:36:26	1.2
>>| +++ ports/lang/php5/Makefile.pear	2005/04/11 08:40:48	1.3
>>| @@ -1,3 +1,5 @@
>>| +PORTREVISION=	2
> 
> Did you really want to set a portrevision in this common makefile,
> which will override the value of all other ports that include this
> file?

This isn't a common Makefile, it's the Makefile of the php[45]-pear port 
and nothing else.

--
Alex Dupre


More information about the cvs-ports mailing list