summaryrefslogtreecommitdiff
path: root/editors/web-mode/Makefile
blob: 65da24ed71f9b01a0b77978af9cef71e25ad843a (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
32
# $FreeBSD$

PORTNAME=	web-mode
PORTVERSION=	15.1
DISTVERSIONPREFIX=	v
PORTREVISION=	8
CATEGORIES=	editors elisp
PKGNAMESUFFIX=	${EMACS_PKGNAMESUFFIX}

MAINTAINER=	hrs@FreeBSD.org
COMMENT=	Autonomous Emacs major-mode for editing web templates

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>