Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Dec 2016 10:19:09 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r429963 - in head/editors: . web-mode web-mode/files
Message-ID:  <201612301019.uBUAJ9dN023201@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Fri Dec 30 10:19:09 2016
New Revision: 429963
URL: https://svnweb.freebsd.org/changeset/ports/429963

Log:
  Add editors/web-mode, an autonomous Emacs major-mode
  for editing web templates.

Added:
  head/editors/web-mode/
  head/editors/web-mode/Makefile   (contents, props changed)
  head/editors/web-mode/distinfo   (contents, props changed)
  head/editors/web-mode/files/
  head/editors/web-mode/files/Makefile   (contents, props changed)
  head/editors/web-mode/files/web-mode-autoloads.el.in   (contents, props changed)
  head/editors/web-mode/pkg-descr   (contents, props changed)
Modified:
  head/editors/Makefile

Modified: head/editors/Makefile
==============================================================================
--- head/editors/Makefile	Fri Dec 30 09:01:02 2016	(r429962)
+++ head/editors/Makefile	Fri Dec 30 10:19:09 2016	(r429963)
@@ -256,6 +256,7 @@
     SUBDIR += vile
     SUBDIR += vim
     SUBDIR += vim-lite
+    SUBDIR += web-mode
     SUBDIR += with-editor
     SUBDIR += wordgrinder
     SUBDIR += xcoral

Added: head/editors/web-mode/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/web-mode/Makefile	Fri Dec 30 10:19:09 2016	(r429963)
@@ -0,0 +1,30 @@
+# $FreeBSD$
+
+PORTNAME=	web-mode
+PORTVERSION=	14
+DISTVERSIONPREFIX=	v
+CATEGORIES=	editors elisp
+PKGNAMESUFFIX=	-${EMACS_PORT_NAME}
+
+MAINTAINER=	hrs@FreeBSD.org
+COMMENT=	Autonomous Emacs major-mode for editing web templates
+
+LICENSE=	GPLv2
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	fxbois
+USE_EMACS=	yes
+MAKEFILE=	${FILESDIR}/Makefile
+MAKE_ENV=	EMACS="${EMACS_CMD}" LISPDIR="${WEBMODE_LISPDIR}" \
+		DESTDIR="${STAGEDIR}"
+SUB_FILES=	web-mode-autoloads.el
+SUB_LIST=	LISPDIR="${WEBMODE_LISPDIR}"
+WEBMODE_LISPDIR=	${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/web-mode
+PLIST_FILES=	%%EMACS_VERSION_SITE_LISPDIR%%/web-mode/web-mode.elc.gz \
+		%%EMACS_VERSION_SITE_LISPDIR%%/web-mode-autoloads.el
+
+post-install:
+	${INSTALL_DATA} ${WRKDIR}/web-mode-autoloads.el \
+	    ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
+
+.include <bsd.port.mk>

Added: head/editors/web-mode/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/web-mode/distinfo	Fri Dec 30 10:19:09 2016	(r429963)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1483092091
+SHA256 (fxbois-web-mode-v14_GH0.tar.gz) = 40ddc857211b575579e2054fcf056fb96e39680bee8f4479c37b1311a101dca0
+SIZE (fxbois-web-mode-v14_GH0.tar.gz) = 108282

Added: head/editors/web-mode/files/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/web-mode/files/Makefile	Fri Dec 30 10:19:09 2016	(r429963)
@@ -0,0 +1,15 @@
+# $FreeBSD$
+SRCS=	web-mode.el
+OBJS=	${SRCS:C/.el$/.elc/}
+
+.SUFFIXES:
+.SUFFIXES: .el .elc
+.el.elc:
+	${EMACS} -batch -q -f batch-byte-compile ${.IMPSRC}
+
+all: ${OBJS}
+
+install: ${OBJS}
+	mkdir -p ${DESTDIR}${LISPDIR}
+	${BSD_INSTALL_DATA} ${.ALLSRC} ${DESTDIR}${LISPDIR}
+	cd ${DESTDIR}${LISPDIR} && gzip -9 ${.ALLSRC}

Added: head/editors/web-mode/files/web-mode-autoloads.el.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/web-mode/files/web-mode-autoloads.el.in	Fri Dec 30 10:19:09 2016	(r429963)
@@ -0,0 +1,11 @@
+;; -*- lisp -*-
+;; $FreeBSD$
+;;
+(if (not (fboundp 'normal-top-level-add-subdirs-to-load-path))
+    (setq load-path (append '(
+        "%%LISPDIR%%"
+    ) load-path)))
+
+(autoload 'web-mode "web-mode" "Major mode to edit Javascript files." t)
+
+(provide 'web-mode-autoloads)

Added: head/editors/web-mode/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/web-mode/pkg-descr	Fri Dec 30 10:19:09 2016	(r429963)
@@ -0,0 +1,10 @@
+web-mode.el is an emacs major mode for editing web templates aka HTML
+files embedding parts (CSS/JavaScript) and blocks (pre rendered by
+client/server side engines).
+
+web-mode.el is compatible with many template engines: PHP, JSP, ASP,
+Django, Twig, Jinja, Mustache, ERB, FreeMarker, Velocity, Cheetah,
+Smarty, CTemplate, Mustache, Blade, ErlyDTL, Go Template, Dust.js,
+Google Closure (soy), React/JSX, Angularjs, ejs, Nunjucks, etc.
+
+WWW: http://web-mode.org



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