freebsd-ports/devel/dash.el/Makefile
Joseph Mingrone ab463bdca9
*/*: Chase editors/emacs update
- Bump Emacs version in Mk/Uses/emacs.mk to update version-specific
  paths

- Bump PORTREVISION of ports with USES=emacs.  This is required for two
  reasons.  Emacs lisp files need to be byte compiled for the new Emacs
  version, and files installed under, e.g., EMACS_VERSION_SITE_LISPDIR
  need to be relocated.

Reviewed by:	ashish
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D43615
2024-01-27 18:33:05 -04:00

32 lines
792 B
Makefile

PORTNAME= dash.el
DISTVERSION= 2.19.1
PORTREVISION= 9
CATEGORIES= devel elisp
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
MAINTAINER= yasu@FreeBSD.org
COMMENT= Modern list library for Emacs
WWW= https://github.com/magnars/dash.el
LICENSE= GPLv3
USES= emacs
USE_GITHUB= yes
GH_ACCOUNT= magnars
NO_ARCH= yes
PLIST_FILES= ${EMACS_VERSION_SITE_LISPDIR}/dash-functional.el \
${EMACS_VERSION_SITE_LISPDIR}/dash-functional.elc \
${EMACS_VERSION_SITE_LISPDIR}/dash.el \
${EMACS_VERSION_SITE_LISPDIR}/dash.elc
do-build:
(cd ${WRKSRC} \
&& ${EMACS_CMD} -Q -batch -L . -f batch-byte-compile *.el)
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} *.el* \
${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR})
.include <bsd.port.mk>