aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2002-06-21 20:06:20 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2002-06-21 20:06:20 +0000
commit023b77f9b9b6a6debef6fe30859ff59e76ba8d0f (patch)
treef8d45789745c6da78b18baec807fccfd16074523 /lang
parent1bf108a1d7c724bd4b9aa7b54ad29b4937821c38 (diff)
downloadports-023b77f9b9b6a6debef6fe30859ff59e76ba8d0f.tar.gz
ports-023b77f9b9b6a6debef6fe30859ff59e76ba8d0f.zip
Notes
Diffstat (limited to 'lang')
-rw-r--r--lang/Makefile1
-rw-r--r--lang/php-mode.el/Makefile34
-rw-r--r--lang/php-mode.el/distinfo1
-rw-r--r--lang/php-mode.el/pkg-comment1
-rw-r--r--lang/php-mode.el/pkg-descr3
-rw-r--r--lang/php-mode.el/pkg-message4
-rw-r--r--lang/php-mode.el/pkg-plist6
7 files changed, 50 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile
index 633c5edeb2d1..288f054f66eb 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -128,6 +128,7 @@
SUBDIR += pbasic
SUBDIR += perl5
SUBDIR += pfe-devel
+ SUBDIR += php-mode.el
SUBDIR += php3
SUBDIR += php4
SUBDIR += php_doc
diff --git a/lang/php-mode.el/Makefile b/lang/php-mode.el/Makefile
new file mode 100644
index 000000000000..56a4d68381b8
--- /dev/null
+++ b/lang/php-mode.el/Makefile
@@ -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>
diff --git a/lang/php-mode.el/distinfo b/lang/php-mode.el/distinfo
new file mode 100644
index 000000000000..c55043dcb5e2
--- /dev/null
+++ b/lang/php-mode.el/distinfo
@@ -0,0 +1 @@
+MD5 (php-mode-102.el) = bbf006aec2f76f8bb609d4314df3a065
diff --git a/lang/php-mode.el/pkg-comment b/lang/php-mode.el/pkg-comment
new file mode 100644
index 000000000000..031a67dd1d67
--- /dev/null
+++ b/lang/php-mode.el/pkg-comment
@@ -0,0 +1 @@
+Emacs lisp module for the PHP language
diff --git a/lang/php-mode.el/pkg-descr b/lang/php-mode.el/pkg-descr
new file mode 100644
index 000000000000..48183f3a9f25
--- /dev/null
+++ b/lang/php-mode.el/pkg-descr
@@ -0,0 +1,3 @@
+Emacs lisp modules for the PHP language.
+
+WWW: http://php-mode.sourceforge.net/
diff --git a/lang/php-mode.el/pkg-message b/lang/php-mode.el/pkg-message
new file mode 100644
index 000000000000..ca3200781582
--- /dev/null
+++ b/lang/php-mode.el/pkg-message
@@ -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))
diff --git a/lang/php-mode.el/pkg-plist b/lang/php-mode.el/pkg-plist
new file mode 100644
index 000000000000..8794fe5c8d1c
--- /dev/null
+++ b/lang/php-mode.el/pkg-plist
@@ -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