New port: Emacs major mode for editing PHP files.

This commit is contained in:
Dmitry Sivachenko 2002-06-21 20:06:20 +00:00
parent 1bf108a1d7
commit 023b77f9b9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=61701
7 changed files with 50 additions and 0 deletions

View File

@ -128,6 +128,7 @@
SUBDIR += pbasic
SUBDIR += perl5
SUBDIR += pfe-devel
SUBDIR += php-mode.el
SUBDIR += php3
SUBDIR += php4
SUBDIR += php_doc

34
lang/php-mode.el/Makefile Normal file
View File

@ -0,0 +1,34 @@
# New ports collection makefile for: php-mode.el
# Date created: 21 June 2002
# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= php-mode.el
PORTVERSION= 1.0.2
CATEGORIES= lang elisp
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=php-mode
DISTNAME= php-mode-102.el
EXTRACT_SUFX= #empty
EXTRACT_ONLY= # empty
MAINTAINER= ports@FreeBSD.org
NO_BUILD= yes
NO_WRKSUBDIR= yes
EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp
XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp
do-install:
${MKDIR} ${EMACSLISPDIR}
${MKDIR} ${XEMACSLISPDIR}
${INSTALL_DATA} ${_DISTDIR}/${DISTNAME} ${EMACSLISPDIR}/php-mode.el
${LN} -sf ${EMACSLISPDIR}/php-mode.el ${XEMACSLISPDIR}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (php-mode-102.el) = bbf006aec2f76f8bb609d4314df3a065

View File

@ -0,0 +1 @@
Emacs lisp module for the PHP language

View File

@ -0,0 +1,3 @@
Emacs lisp modules for the PHP language.
WWW: http://php-mode.sourceforge.net/

View File

@ -0,0 +1,4 @@
To use php-mode in Emacs/XEmacs, add the following lines to your ~/.emacs:
(autoload 'php-mode "php-mode" "Mode for editing PHP source files")
(add-to-list 'auto-mode-alist '("\\.\\(inc\\|php[s34]?\\)" . php-mode))

View File

@ -0,0 +1,6 @@
share/emacs/site-lisp/php-mode.el
@exec mkdir -p %D/lib/xemacs/site-lisp
@exec ln -sf %D/%F %D/lib/xemacs/site-lisp/php-mode.el
@unexec rm %D/lib/xemacs/site-lisp/php-mode.el
@dirrm lib/xemacs/site-lisp
@dirrm lib/xemacs