Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Nov 2006 14:04:48 +0200 (EET)
From:      "Max N. Boyarov" <m.boyarov@bsd.by>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        anray@FreeBSD.org
Subject:   ports/105567: New Port: www/apache-mode.el [X]Emacs major mode for editing Apache confs
Message-ID:  <20061115120448.E49DA1702D@deimos>
Resent-Message-ID: <200611151210.kAFCA26Q089865@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@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@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@dirrmtry lib/xemacs/site-lisp
X@dirrmtry lib/xemacs
X@dirrmtry share/emacs/site-lisp
X@dirrmtry share/emacs
END-of-apache-mode.el/pkg-plist
exit
--- apache-mode.el.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061115120448.E49DA1702D>