[csw-devel] SF.net SVN: gar:[14425] csw/mgar/pkg/php5/trunk/Makefile

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Thu Apr 28 02:14:08 CEST 2011


Revision: 14425
          http://gar.svn.sourceforge.net/gar/?rev=14425&view=rev
Author:   bdwalton
Date:     2011-04-28 00:14:08 +0000 (Thu, 28 Apr 2011)

Log Message:
-----------
php5/trunk: drop legacy pear.conf install; add preserveconf and migrate files support for pear.conf

Modified Paths:
--------------
    csw/mgar/pkg/php5/trunk/Makefile

Modified: csw/mgar/pkg/php5/trunk/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/Makefile	2011-04-27 23:11:42 UTC (rev 14424)
+++ csw/mgar/pkg/php5/trunk/Makefile	2011-04-28 00:14:08 UTC (rev 14425)
@@ -64,9 +64,10 @@
 # of sqlite...
 BUILD_DEP_PKGS += CSWsqlite
 
-PRESERVECONF = /etc$(prefix)/php5/php.ini
-MIGRATE_FILES_CSWphp5 = "php.ini"
-MIGRATE_SOURCE_DIR = /opt/csw/php5/lib
+PRESERVECONF = /etc$(prefix)/php5/php.ini /etc$(prefix)/php5/pear.conf
+MIGRATE_FILES_CSWphp5 = "php.ini pear.conf"
+MIGRATE_SOURCE_DIR_php_ini = /opt/csw/php5/lib
+MIGRATE_SOURCE_DIR_pear_conf = /opt/csw/php5/etc
 MIGRATE_DEST_DIR = $(sysconfdir)
 
 define php5_subpackage
@@ -333,7 +334,3 @@
 	@rm -rf $(DESTDIR)/.cha* $(DESTDIR)/.dep* $(DESTDIR)/.reg* $(DESTDIR)/.l* $(DESTDIR)/.f*
 	@$(MAKECOOKIE)
 
-install-extras:
-	gmv $(DESTDIR)$(call _get_php_prefix,$(DESTDIR))/etc/pear.conf $(DESTDIR)$(call _get_php_prefix,$(DESTDIR))/etc/pear.conf.CSW
-	@$(MAKECOOKIE)
-


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list