freebsd-ports/textproc/yaml.el/Makefile
2021-10-01 19:55:27 -03:00

31 lines
694 B
Makefile

PORTNAME= yaml.el
DISTVERSIONPREFIX= v
DISTVERSION= 0.3.4
PORTREVISION= 1
CATEGORIES= textproc elisp
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
MAINTAINER= yasu@FreeBSD.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>