BSD Ports

www/apache-mode.el 2.0_1 DragonFly

Emacs major mode for editing Apache configuration files

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv2+
Categories
elisp, www
Package size
6.6 KiB, 25.4 KiB installed

Description

Emacs major mode for editing Apache configuration files

In the other systems

SystemPortVersion
DragonFlywww/apache-mode.el2.0_1
FreeBSDwww/apache-mode.el2.0_1
HardenedBSDwww/apache-mode.el2.0_1
GhostBSDwww/apache-mode.el2.0_1

Install

Binary package:

pkg install apache-mode.el

From DPorts:

cd /usr/dports/www/apache-mode.el && make install clean

Dependencies

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

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))