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