freebsd-ports/lang/elixir-mode.el/Makefile
Mathieu Arnold e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00

33 lines
639 B
Makefile

# $FreeBSD$
PORTNAME= elixir-mode.el
DISTVERSIONPREFIX= v
PORTVERSION= 2.3.1
PORTREVISION= 3
CATEGORIES= lang
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
MAINTAINER= erlang@FreeBSD.org
COMMENT= Emacs major mode for Elixir
LICENSE= GPLv3
USES= emacs
USE_GITHUB= yes
GH_ACCOUNT= elixir-lang
GH_PROJECT= emacs-elixir
NO_ARCH= yes
NO_BUILD= yes
OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
${INSTALL_DATA} ${WRKSRC}/*.el ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.md ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>