freebsd-ports/editors/web-mode/Makefile
Joseph Mingrone 3f98bcd00c Chase editors/emacs update to version 25.2
Reported by:	des
Approved by:	ashish (emacs maintainer), swills (mentor, implicit)
Differential Revision:	https://reviews.freebsd.org/D10534
2017-04-29 14:50:53 +00:00

31 lines
832 B
Makefile

# $FreeBSD$
PORTNAME= web-mode
PORTVERSION= 14
PORTREVISION= 1
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>