freebsd-ports/lang/tuareg-mode.el/Makefile
Mathieu Arnold 07da776842 Update ports in the [i-m]* category to not use GH_COMMIT.
With minor cleanups to make things simpler.

With hat:	portmgr
Sponsored by:	Absolight
2015-05-07 16:32:43 +00:00

42 lines
909 B
Makefile

# Created by: dd
# $FreeBSD$
PORTNAME= tuareg-mode
PORTVERSION= 2.0.8
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= lang elisp
MAINTAINER= michipili@gmail.com
COMMENT= Emacs major mode for editing Caml code
LICENSE= GPLv2
USE_EMACS= yes
USE_GITHUB= yes
GH_ACCOUNT= ocaml
GH_PROJECT= tuareg
OPTIONS_DEFINE= DOCS
ELISP_FILES= ocamldebug.el tuareg.el
.for f in ${ELISP_FILES}
PLIST_FILES+= %%EMACS_SITE_LISPDIR%%/$f %%EMACS_SITE_LISPDIR%%/$fc
.endfor
PORTDOCS= README.md
do-build:
(cd ${WRKSRC} && \
${EMACS_CMD} -batch -q -f batch-byte-compile ${ELISP_FILES})
do-install:
@${MKDIR} ${STAGEDIR}${EMACS_SITE_LISPDIR}
.for tuareg_mode_f in ${ELISP_FILES}
${INSTALL_DATA} ${WRKSRC}/${tuareg_mode_f} ${WRKSRC}/${tuareg_mode_f}c \
${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:C|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>