New port: Emacs major mode for editing PHP files.
This commit is contained in:
parent
1bf108a1d7
commit
023b77f9b9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=61701
@ -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
34
lang/php-mode.el/Makefile
Normal 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>
|
1
lang/php-mode.el/distinfo
Normal file
1
lang/php-mode.el/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (php-mode-102.el) = bbf006aec2f76f8bb609d4314df3a065
|
1
lang/php-mode.el/pkg-comment
Normal file
1
lang/php-mode.el/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Emacs lisp module for the PHP language
|
3
lang/php-mode.el/pkg-descr
Normal file
3
lang/php-mode.el/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
Emacs lisp modules for the PHP language.
|
||||
|
||||
WWW: http://php-mode.sourceforge.net/
|
4
lang/php-mode.el/pkg-message
Normal file
4
lang/php-mode.el/pkg-message
Normal 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))
|
6
lang/php-mode.el/pkg-plist
Normal file
6
lang/php-mode.el/pkg-plist
Normal 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
|
Loading…
Reference in New Issue
Block a user