[csw-devel] SF.net SVN: gar:[9601] csw/mgar/pkg/phpmode/trunk

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Sat Apr 10 05:01:34 CEST 2010


Revision: 9601
          http://gar.svn.sourceforge.net/gar/?rev=9601&view=rev
Author:   bdwalton
Date:     2010-04-10 03:01:34 +0000 (Sat, 10 Apr 2010)

Log Message:
-----------
phpmode: add a site-start file

Modified Paths:
--------------
    csw/mgar/pkg/phpmode/trunk/Makefile
    csw/mgar/pkg/phpmode/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/phpmode/trunk/files/php-mode.el

Modified: csw/mgar/pkg/phpmode/trunk/Makefile
===================================================================
--- csw/mgar/pkg/phpmode/trunk/Makefile	2010-04-10 02:53:52 UTC (rev 9600)
+++ csw/mgar/pkg/phpmode/trunk/Makefile	2010-04-10 03:01:34 UTC (rev 9601)
@@ -9,6 +9,7 @@
 
 MASTER_SITES = $(SF_MIRRORS)
 DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
+DISTFILES += php-mode.el
 
 BUILD_DEP_PKGS = CSWemacs
 
@@ -55,4 +56,7 @@
 		cp $(WORKSRC)/php-mode.el $(DESTDIR)$(LISPDIR); \
 		chmod -x $(DESTDIR)$(LISPDIR)/*; \
 		cp $(WORKSRC)/*info $(DESTDIR)/$(INFODIR) )
+	@echo Installing emacs site-start file.
+	@( gmkdir -p $(DESTDIR)/$(LISPDIR)/site-start.d; \
+		cp $(FILEDIR)/php-mode.el $(DESTDIR)/$(LISPDIR)/site-start.d )
 	@$(MAKECOOKIE)

Modified: csw/mgar/pkg/phpmode/trunk/checksums
===================================================================
--- csw/mgar/pkg/phpmode/trunk/checksums	2010-04-10 02:53:52 UTC (rev 9600)
+++ csw/mgar/pkg/phpmode/trunk/checksums	2010-04-10 03:01:34 UTC (rev 9601)
@@ -1 +1,2 @@
-6ddad6d150c946846a65bcecfb2cc1a0  download/php-mode-1.5.0.tar.gz
+6ddad6d150c946846a65bcecfb2cc1a0  php-mode-1.5.0.tar.gz
+53d970500a286f2dc32429835d343a9e  php-mode.el

Added: csw/mgar/pkg/phpmode/trunk/files/php-mode.el
===================================================================
--- csw/mgar/pkg/phpmode/trunk/files/php-mode.el	                        (rev 0)
+++ csw/mgar/pkg/phpmode/trunk/files/php-mode.el	2010-04-10 03:01:34 UTC (rev 9601)
@@ -0,0 +1,3 @@
+;; use php-mode for *.php files.
+(autoload 'php-mode "php-mode" "Major mode for php code editing." t)
+(add-to-list 'auto-mode-alist '("\\.php\\'" . php-mode))


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