Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  7 Jul 2007 22:39:25 +0900 (JST)
From:      KIMURA Yasuhiro <yasu@utahime.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/114383: [New Port] texproc/yaml-mode.el: Simple major mode to edit YAML file for Emacsen
Message-ID:  <20070707133925.C942F26@eastasia.home.utahime.org>
Resent-Message-ID: <200707071340.l67De51L017141@freefall.freebsd.org>

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

>Number:         114383
>Category:       ports
>Synopsis:       [New Port] texproc/yaml-mode.el: Simple major mode to edit YAML file for Emacsen
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 07 13:40:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     KIMURA Yasuhiro
>Release:        FreeBSD 6.2-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD xxxx 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #0: Thu May 24 07:55:32 JST 2007 xxxx i386


	
>Description:
	Simple major mode to edit YAML file for Emacsen.

	
>How-To-Repeat:
	
>Fix:

	

--- yaml-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:
#
#	.
#	./pkg-plist
#	./pkg-descr
#	./distinfo
#	./Makefile
#	./files
#	./files/patch-Makefile
#	./pkg-message
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./pkg-plist
sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist'
X%%EMACS_VERSION_SITE_LISPDIR%%/yaml-mode.el
X%%EMACS_VERSION_SITE_LISPDIR%%/yaml-mode.elc
X%%PORTDOCS%%%%DOCSDIR%%/Changes
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-./pkg-plist
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
XThis is a major mode for editing files in the YAML data serialization format. 
X
XWWW: http://yaml-mode.clouder.jp/
END-of-./pkg-descr
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
XMD5 (yaml-mode-0.0.3.tar.gz?format=raw) = fe3bddf9c12c2ab69f62ccd4109dc59a
XSHA256 (yaml-mode-0.0.3.tar.gz?format=raw) = f0235b33f995a2dc663b65127d298daef2ba65e31af038c5e81b597af43ee0ce
XSIZE (yaml-mode-0.0.3.tar.gz?format=raw) = 5755
END-of-./distinfo
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for:	yaml-mode.el
X# Date created:				07 Jun 2007
X# Whom:					KIMURA Yasuhiro <yasu@utahime.org>
X#
X# $FreeBSD:$
X#
X
XPORTNAME=	yaml-mode.el
XPORTVERSION=	0.0.3
XCATEGORIES=	textproc elisp
XMASTER_SITES=	http://yaml-mode.clouder.jp/attachment/wiki/WikiStart/
XPKGNAMESUFFIX=	-${EMACS_PORT_NAME}
XDISTNAME=	${PORTNAME:S/.el$//}-${PORTVERSION}
XDISTFILES=	${DISTNAME}${EXTRACT_SUFX}?format=raw
X
XMAINTAINER=	yasu@utahime.org
XCOMMENT=	Simple major mode to edit YAML file for Emacsen
X
XUSE_EMACS=	yes
XEMACS_PORT_NAME?=	emacs21
X
XMAKE_ENV+=	LISPDIR=${LISPDIR}
X
XLISPDIR=	${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X.for file in Changes README
X	${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
X.endfor
X.endif
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-./Makefile
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/patch-Makefile
sed 's/^X//' >./files/patch-Makefile << 'END-of-./files/patch-Makefile'
X--- Makefile.orig	Thu Jan 25 15:51:27 2007
X+++ Makefile	Sat Jul  7 21:41:49 2007
X@@ -1,10 +1,10 @@
X VERSION=0.0.3
X-EMACS = emacs
X-PREFIX = /usr/local
X-INSTALLLIBDIR = $(PREFIX)/share/emacs/site-lisp
X+EMACS = $(EMACS_CMD)
X+#PREFIX = /usr/local
X+INSTALLLIBDIR = $(LISPDIR)
X FLAGS = -batch -L $(INSTALLLIBDIR) -q -f batch-byte-compile
X SRC = yaml-mode.el
X-INSTALL = /usr/bin/install -c -m 444
X+INSTALL = $(BSD_INSTALL_DATA)
X 
X all: bytecompile
X 
END-of-./files/patch-Makefile
echo x - ./pkg-message
sed 's/^X//' >./pkg-message << 'END-of-./pkg-message'
X**********************************************************************
XTo use yaml-mode, you should add following lines to your .emacs file:
X
X(require 'yaml-mode)
X(add-to-list 'auto-mode-alist '("\\.yaml$" . yaml-mode))
X(add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode))
X
X**********************************************************************
END-of-./pkg-message
exit
--- yaml-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?20070707133925.C942F26>