Bug 114383 - [New Port] texproc/yaml-mode.el: Simple major mode to edit YAML file for Emacsen
Summary: [New Port] texproc/yaml-mode.el: Simple major mode to edit YAML file for Emacsen
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-07 14:40 UTC by Yasuhiro Kimura
Modified: 2007-09-08 00:30 UTC (History)
0 users

See Also:


Attachments
yaml-mode.el.shar (3.19 KB, text/plain)
2007-07-07 14:40 UTC, Yasuhiro Kimura
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhiro Kimura freebsd_committer freebsd_triage 2007-07-07 14:40:04 UTC
	Simple major mode to edit YAML file for Emacsen.
Comment 1 Yasuhiro Kimura freebsd_committer freebsd_triage 2007-08-05 02:51:33 UTC
Attached files are modified version including following change:

* Remove default value definition of EMACS_PORT_NAME from
  yaml-mode.el/Makefile as it is defined in bsd.emacs.mk now.
* Add yaml-mode.el-emacs21/Makefile, slave port for Emacs 21.

Please commit them instead of original ones.

Regards.

# 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:
#
#	yaml-mode.el
#	yaml-mode.el/pkg-plist
#	yaml-mode.el/pkg-descr
#	yaml-mode.el/distinfo
#	yaml-mode.el/Makefile
#	yaml-mode.el/files
#	yaml-mode.el/files/patch-Makefile
#	yaml-mode.el/pkg-message
#	yaml-mode.el-emacs21
#	yaml-mode.el-emacs21/Makefile
#
echo c - yaml-mode.el
mkdir -p yaml-mode.el > /dev/null 2>&1
echo x - yaml-mode.el/pkg-plist
sed 's/^X//' >yaml-mode.el/pkg-plist << 'END-of-yaml-mode.el/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-yaml-mode.el/pkg-plist
echo x - yaml-mode.el/pkg-descr
sed 's/^X//' >yaml-mode.el/pkg-descr << 'END-of-yaml-mode.el/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-yaml-mode.el/pkg-descr
echo x - yaml-mode.el/distinfo
sed 's/^X//' >yaml-mode.el/distinfo << 'END-of-yaml-mode.el/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-yaml-mode.el/distinfo
echo x - yaml-mode.el/Makefile
sed 's/^X//' >yaml-mode.el/Makefile << 'END-of-yaml-mode.el/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
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-yaml-mode.el/Makefile
echo c - yaml-mode.el/files
mkdir -p yaml-mode.el/files > /dev/null 2>&1
echo x - yaml-mode.el/files/patch-Makefile
sed 's/^X//' >yaml-mode.el/files/patch-Makefile << 'END-of-yaml-mode.el/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-yaml-mode.el/files/patch-Makefile
echo x - yaml-mode.el/pkg-message
sed 's/^X//' >yaml-mode.el/pkg-message << 'END-of-yaml-mode.el/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-yaml-mode.el/pkg-message
echo c - yaml-mode.el-emacs21
mkdir -p yaml-mode.el-emacs21 > /dev/null 2>&1
echo x - yaml-mode.el-emacs21/Makefile
sed 's/^X//' >yaml-mode.el-emacs21/Makefile << 'END-of-yaml-mode.el-emacs21/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
XMASTERDIR=	${.CURDIR}/../yaml-mode.el
X
XUSE_EMACS=	yes
XEMACS_PORT_NAME=	emacs21
X
X.include "${MASTERDIR}/Makefile"
END-of-yaml-mode.el-emacs21/Makefile
exit
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2007-09-08 00:23:21 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2007-09-08 00:23:26 UTC
edwin       2007-09-07 23:23:20 UTC

  FreeBSD ports repository

  Modified files:
    textproc             Makefile 
  Added files:
    textproc/yaml-mode.el Makefile distinfo pkg-descr pkg-message 
                          pkg-plist 
    textproc/yaml-mode.el/files patch-Makefile 
  Log:
  [New Port] texproc/yaml-mode.el: Simple major mode to edit YAML file for Emacsen
  
          Simple major mode to edit YAML file for Emacsen.
  
          WWW: http://yaml-mode.clouder.jp/
  
  PR:             ports/114383
  Submitted by:   KIMURA Yasuhiro <yasu@utahime.org>
  
  Revision  Changes    Path
  1.1181    +1 -0      ports/textproc/Makefile
  1.1       +34 -0     ports/textproc/yaml-mode.el/Makefile (new)
  1.1       +3 -0      ports/textproc/yaml-mode.el/distinfo (new)
  1.1       +17 -0     ports/textproc/yaml-mode.el/files/patch-Makefile (new)
  1.1       +3 -0      ports/textproc/yaml-mode.el/pkg-descr (new)
  1.1       +8 -0      ports/textproc/yaml-mode.el/pkg-message (new)
  1.1       +5 -0      ports/textproc/yaml-mode.el/pkg-plist (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 dfilter service freebsd_committer freebsd_triage 2007-09-08 00:25:04 UTC
edwin       2007-09-07 23:24:57 UTC

  FreeBSD ports repository

  Modified files:
    textproc             Makefile 
  Added files:
    textproc/yaml-mode.el-emacs21 Makefile 
  Log:
  [New Port] texproc/yaml-mode.el: Simple major mode to edit YAML file for Emacsen
  
          Simple major mode to edit YAML file for Emacsen.
  
          WWW: http://yaml-mode.clouder.jp/
  
  PR:             ports/114383
  Submitted by:   KIMURA Yasuhiro <yasu@utahime.org>
  
  Revision  Changes    Path
  1.1182    +1 -0      ports/textproc/Makefile
  1.1       +13 -0     ports/textproc/yaml-mode.el-emacs21/Makefile (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"