blob: c98794e2ad4c7dfecbef35f979b2e7bf6c248f0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
PORTNAME= web-mode
PORTVERSION= 15.1
DISTVERSIONPREFIX= v
PORTREVISION= 17
CATEGORIES= editors elisp
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Autonomous Emacs major-mode for editing web templates
WWW= https://web-mode.org
LICENSE= GPLv2
USES= emacs
USE_GITHUB= yes
GH_ACCOUNT= fxbois
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>
|