ports/105567: New Port: www/apache-mode.el [X]Emacs major mode for editing Apache confs
Max N. Boyarov
m.boyarov at bsd.by
Wed Nov 15 12:10:11 UTC 2006
>Number: 105567
>Category: ports
>Synopsis: New Port: www/apache-mode.el [X]Emacs major mode for editing Apache confs
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Nov 15 12:10:01 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Max N. Boyarov
>Release: FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD night.bsd.by 7.0-CURRENT FreeBSD 7.0-CURRENT #11: Thu Nov 9 02:00:39 EET 2006 root at night.bsd.by:/usr/obj/usr/src/sys/deimos i386
>Description:
[X]Emacs major mode for editing Apache configuration files
>How-To-Repeat:
>Fix:
--- apache-mode.el.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# apache-mode.el
# apache-mode.el/pkg-descr
# apache-mode.el/pkg-message
# apache-mode.el/Makefile
# apache-mode.el/distinfo
# apache-mode.el/pkg-plist
#
echo c - apache-mode.el
mkdir -p apache-mode.el > /dev/null 2>&1
echo x - apache-mode.el/pkg-descr
sed 's/^X//' >apache-mode.el/pkg-descr << 'END-of-apache-mode.el/pkg-descr'
X[X]Emacs major mode for editing Apache configuration files
X
XWWW: http://www.emacswiki.org/cgi-bin/wiki/apache-mode.el
END-of-apache-mode.el/pkg-descr
echo x - apache-mode.el/pkg-message
sed 's/^X//' >apache-mode.el/pkg-message << 'END-of-apache-mode.el/pkg-message'
X
X===================================================================
X
XPut this in your .emacs file to enable autoloading of apache-mode,
Xand auto-recognition of Apache configs:
X
X (autoload 'apache-mode "apache-mode" nil t)
X (add-to-list 'auto-mode-alist '("\\.htaccess\\'" . apache-mode))
X (add-to-list 'auto-mode-alist '("httpd\\.conf\\'" . apache-mode))
X (add-to-list 'auto-mode-alist '("srm\\.conf\\'" . apache-mode))
X (add-to-list 'auto-mode-alist '("access\\.conf\\'" . apache-mode))
X (add-to-list 'auto-mode-alist
X '("sites-\\(available\\|enabled\\)/" . apache-mode))
X
X===================================================================
END-of-apache-mode.el/pkg-message
echo x - apache-mode.el/Makefile
sed 's/^X//' >apache-mode.el/Makefile << 'END-of-apache-mode.el/Makefile'
X# New ports collection makefile for: apache-mode.el
X# Date created: 15 Nov 2006
X# Whom: Max N. Boyarov <m.boyarov at bsd.by>
X#
X# $FreeBSD: $
X
XPORTNAME= apache-mode.el
XPORTVERSION= 2.0
XCATEGORIES= www elisp
XMASTER_SITES= http://ncd0.bsd.by/ports/distfiles/ \
X http://www.emacswiki.org/cgi-bin/wiki/download/
XDISTNAME= apache-mode.el
XEXTRACT_SUFX= # empty
XEXTRACT_ONLY= # empty
X
XMAINTAINER= m.boyarov at bsd.by
XCOMMENT= [X]Emacs major mode for editing Apache configuration files
X
XNO_WRKSUBDIR= yes
XNO_BUILD= yes
X
XEMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp
XXEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp
X
Xdo-install:
X ${MKDIR} ${EMACSLISPDIR}
X ${MKDIR} ${XEMACSLISPDIR}
X ${INSTALL_DATA} ${DISTDIR}/${DISTNAME} ${EMACSLISPDIR}/${PORTNAME}
X ${LN} -sf ${EMACSLISPDIR}/${PORTNAME} ${XEMACSLISPDIR}/${PORTNAME}
X
Xpost-install:
X @${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-apache-mode.el/Makefile
echo x - apache-mode.el/distinfo
sed 's/^X//' >apache-mode.el/distinfo << 'END-of-apache-mode.el/distinfo'
XMD5 (apache-mode.el) = 9defd945a335d3128e5b89eeb83b815b
XSHA256 (apache-mode.el) = 3356ff06dfbaaefdb0b36b5ac7b967f6ad26b4274a7b0785d8e808de9d8d5a9f
XSIZE (apache-mode.el) = 18236
END-of-apache-mode.el/distinfo
echo x - apache-mode.el/pkg-plist
sed 's/^X//' >apache-mode.el/pkg-plist << 'END-of-apache-mode.el/pkg-plist'
Xlib/xemacs/site-lisp/apache-mode.el
Xshare/emacs/site-lisp/apache-mode.el
X at dirrmtry lib/xemacs/site-lisp
X at dirrmtry lib/xemacs
X at dirrmtry share/emacs/site-lisp
X at dirrmtry share/emacs
END-of-apache-mode.el/pkg-plist
exit
--- apache-mode.el.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list