diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2006-11-21 20:56:01 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2006-11-21 20:56:01 +0000 |
commit | 00192b6e9f0d5879d9a8e2333c83b8861afeff81 (patch) | |
tree | a81d93e89c537077c574fc44ed988378f3e3e4be /www/apache-mode.el | |
parent | 9c106d9a3e8174d814baf6a8b2a8019b92ce7287 (diff) | |
download | ports-00192b6e9f0d5879d9a8e2333c83b8861afeff81.tar.gz ports-00192b6e9f0d5879d9a8e2333c83b8861afeff81.zip |
Notes
Diffstat (limited to 'www/apache-mode.el')
-rw-r--r-- | www/apache-mode.el/Makefile | 34 | ||||
-rw-r--r-- | www/apache-mode.el/distinfo | 3 | ||||
-rw-r--r-- | www/apache-mode.el/pkg-descr | 3 | ||||
-rw-r--r-- | www/apache-mode.el/pkg-message | 15 | ||||
-rw-r--r-- | www/apache-mode.el/pkg-plist | 4 |
5 files changed, 59 insertions, 0 deletions
diff --git a/www/apache-mode.el/Makefile b/www/apache-mode.el/Makefile new file mode 100644 index 000000000000..3ef2d42bb287 --- /dev/null +++ b/www/apache-mode.el/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: apache-mode.el +# Date created: 15 Nov 2006 +# Whom: Max N. Boyarov <m.boyarov@bsd.by> +# +# $FreeBSD$ + +PORTNAME= apache-mode.el +PORTVERSION= 2.0 +CATEGORIES= www elisp +MASTER_SITES= http://ncd0.bsd.by/ports/distfiles/ \ + http://www.emacswiki.org/cgi-bin/wiki/download/ +DISTNAME= apache-mode.el +EXTRACT_SUFX= # empty +EXTRACT_ONLY= # empty + +MAINTAINER= m.boyarov@bsd.by +COMMENT= [X]Emacs major mode for editing Apache configuration files + +NO_WRKSUBDIR= yes +NO_BUILD= yes + +EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp +XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp + +do-install: + ${MKDIR} ${EMACSLISPDIR} + ${MKDIR} ${XEMACSLISPDIR} + ${INSTALL_DATA} ${DISTDIR}/${DISTNAME} ${EMACSLISPDIR}/${PORTNAME} + ${LN} -sf ${EMACSLISPDIR}/${PORTNAME} ${XEMACSLISPDIR}/${PORTNAME} + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/www/apache-mode.el/distinfo b/www/apache-mode.el/distinfo new file mode 100644 index 000000000000..5e388653d8d0 --- /dev/null +++ b/www/apache-mode.el/distinfo @@ -0,0 +1,3 @@ +MD5 (apache-mode.el) = 9defd945a335d3128e5b89eeb83b815b +SHA256 (apache-mode.el) = 3356ff06dfbaaefdb0b36b5ac7b967f6ad26b4274a7b0785d8e808de9d8d5a9f +SIZE (apache-mode.el) = 18236 diff --git a/www/apache-mode.el/pkg-descr b/www/apache-mode.el/pkg-descr new file mode 100644 index 000000000000..6d5cb10f0939 --- /dev/null +++ b/www/apache-mode.el/pkg-descr @@ -0,0 +1,3 @@ +[X]Emacs major mode for editing Apache configuration files + +WWW: http://www.emacswiki.org/cgi-bin/wiki/apache-mode.el diff --git a/www/apache-mode.el/pkg-message b/www/apache-mode.el/pkg-message new file mode 100644 index 000000000000..3ab2fa1c4198 --- /dev/null +++ b/www/apache-mode.el/pkg-message @@ -0,0 +1,15 @@ + +=================================================================== + +Put this in your .emacs file to enable autoloading of apache-mode, +and auto-recognition of Apache configs: + + (autoload 'apache-mode "apache-mode" nil t) + (add-to-list 'auto-mode-alist '("\\.htaccess\\'" . apache-mode)) + (add-to-list 'auto-mode-alist '("httpd\\.conf\\'" . apache-mode)) + (add-to-list 'auto-mode-alist '("srm\\.conf\\'" . apache-mode)) + (add-to-list 'auto-mode-alist '("access\\.conf\\'" . apache-mode)) + (add-to-list 'auto-mode-alist + '("sites-\\(available\\|enabled\\)/" . apache-mode)) + +=================================================================== diff --git a/www/apache-mode.el/pkg-plist b/www/apache-mode.el/pkg-plist new file mode 100644 index 000000000000..0eea9620f326 --- /dev/null +++ b/www/apache-mode.el/pkg-plist @@ -0,0 +1,4 @@ +lib/xemacs/site-lisp/apache-mode.el +share/emacs/site-lisp/apache-mode.el +@dirrmtry lib/xemacs/site-lisp +@dirrmtry lib/xemacs |