Skip to content

Commit

Permalink
textproc/yaml.el: New port: YAML parser in Elisp
Browse files Browse the repository at this point in the history
PR:		256879
Approved by:	lwhsu (mentor)
  • Loading branch information
Yasuhiro Kimura authored and yzgyyang committed Jun 30, 2021
1 parent cfcf76e commit e2fdcc2
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions textproc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1951,6 +1951,7 @@
SUBDIR += yali
SUBDIR += yamcha
SUBDIR += yaml-mode.el
SUBDIR += yaml.el
SUBDIR += ydiff
SUBDIR += yelp-tools
SUBDIR += yelp-xsl
Expand Down
30 changes: 30 additions & 0 deletions textproc/yaml.el/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
PORTNAME= yaml.el
DISTVERSIONPREFIX= v
DISTVERSION= 0.3.3
CATEGORIES= textproc elisp
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}

MAINTAINER= yasu@utahime.org
COMMENT= YAML parser in Elisp

LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE

USES= emacs
USE_GITHUB= yes
GH_ACCOUNT= zkry

NO_ARCH= yes
PLIST_FILES= ${EMACS_VERSION_SITE_LISPDIR}/yaml.el \
${EMACS_VERSION_SITE_LISPDIR}/yaml.elc

do-build:
(cd ${WRKSRC} \
&& ${EMACS_CMD} -Q -batch -L . -f batch-byte-compile yaml.el)

do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} yaml.el* \
${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR})

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions textproc/yaml.el/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TIMESTAMP = 1624917207
SHA256 (zkry-yaml.el-v0.3.3_GH0.tar.gz) = 82399187c1d982d6de02e94b49f907ada50bb7afadb008ec931e464d8474c5cb
SIZE (zkry-yaml.el-v0.3.3_GH0.tar.gz) = 43264
5 changes: 5 additions & 0 deletions textproc/yaml.el/pkg-descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
yaml.el is a YAML parser written in Emacs List without any external
dependencies. It provides an interface similar to the Emacs JSON
parsing utility.

WWW: https://github.com/zkry/yaml.el

0 comments on commit e2fdcc2

Please sign in to comment.