Revision: 22888 http://sourceforge.net/p/gar/code/22888 Author: dmichelsen Date: 2014-01-25 16:24:36 +0000 (Sat, 25 Jan 2014) Log Message: ----------- phpPgAdmin/trunk: Preserve config file
Modified Paths: -------------- csw/mgar/pkg/phpPgAdmin/trunk/Makefile Modified: csw/mgar/pkg/phpPgAdmin/trunk/Makefile =================================================================== --- csw/mgar/pkg/phpPgAdmin/trunk/Makefile 2014-01-25 16:16:14 UTC (rev 22887) +++ csw/mgar/pkg/phpPgAdmin/trunk/Makefile 2014-01-25 16:24:36 UTC (rev 22888) @@ -8,6 +8,8 @@ MASTER_SITES += $(SF_MIRROR) DISTFILES += $(DISTNAME).tar.bz2 +VENDOR_URL = http://phppgadmin.sourceforge.net/ + # We copy stuff verbatim to the package, a .git would not be useful NOGITPATCH = 1 @@ -28,13 +30,13 @@ TEST_SCRIPTS = INSTALL_SCRIPTS = custom -VENDOR_URL = http://phppgadmin.sourceforge.net/ +PRESERVECONF = $(sharedstatedir)/www/phppgadmin/conf/config.inc.php include gar/category.mk install-custom: - @echo " ==> Installing $(NAME) (custom)" - @rm -rf $(DESTDIR)$(prefix)/share/www/phppgadmin - @ginstall -d $(DESTDIR)$(prefix)/share/www - @cp -R $(WORKSRC) $(DESTDIR)$(prefix)/share/www/phppgadmin + @echo " ==> Installing $(NAME)" + @rm -rf $(DESTDIR)$(sharedstatedir)/www/phppgadmin + @ginstall -d $(DESTDIR)$(sharedstatedir)/www + @cp -R $(WORKSRC) $(DESTDIR)$(sharedstatedir)/www/phppgadmin @$(MAKECOOKIE) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.