From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Aug 5 02:00:08 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3D2A16A417 for ; Sun, 5 Aug 2007 02:00:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AAE2713C45B for ; Sun, 5 Aug 2007 02:00:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l75208T5080898 for ; Sun, 5 Aug 2007 02:00:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l752085W080897; Sun, 5 Aug 2007 02:00:08 GMT (envelope-from gnats) Date: Sun, 5 Aug 2007 02:00:08 GMT Message-Id: <200708050200.l752085W080897@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: KIMURA Yasuhiro Cc: Subject: Re: ports/114383: [New Port] texproc/yaml-mode.el: Simple major mode to edit YAML file for Emacsen X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: KIMURA Yasuhiro List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Aug 2007 02:00:08 -0000 The following reply was made to PR ports/114383; it has been noted by GNATS. From: KIMURA Yasuhiro To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org Cc: Subject: Re: ports/114383: [New Port] texproc/yaml-mode.el: Simple major mode to edit YAML file for Emacsen Date: Sun, 05 Aug 2007 10:51:33 +0900 (JST) 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 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 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 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