aboutsummaryrefslogtreecommitdiff
path: root/textproc/markdown-mode.el/Makefile
blob: 10b6a4372eef7c95655fbfb95e0112af2ce78901 (plain) (blame)
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
33
34
35
36
37
38
PORTNAME=	markdown-mode.el
DISTVERSIONPREFIX=	v
DISTVERSION=	2.5
PORTREVISION=	1
CATEGORIES=	textproc elisp
PKGNAMESUFFIX=	${EMACS_PKGNAMESUFFIX}

MAINTAINER=	olgeni@FreeBSD.org
COMMENT=	Emacs major mode for editing Markdown-formatted text

LICENSE=	GPLv3+

USES=		emacs gmake

USE_GITHUB=	yes
GH_ACCOUNT=	jrblevin
GH_PROJECT=	markdown-mode

NO_ARCH=	yes

PLIST_FILES=	${EMACS_VERSION_SITE_LISPDIR}/markdown-mode.el \
		${EMACS_VERSION_SITE_LISPDIR}/markdown-mode.elc
PORTDOCS=	CHANGES.md CONTRIBUTING.md README.md

OPTIONS_DEFINE=	DOCS

do-install:
	@${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
	${INSTALL_DATA} ${WRKSRC}/*.el ${WRKSRC}/*.elc \
		${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}

do-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>