mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
bea2b0b802
Please refer to the 20200811 UPDATING entry when upgrading dependent (*-emacs26-*) ports. Port changes: - depend on math/gmp - match upstream by turning CAIRO, HARFBUZZ, and JSON options and on and turning MAGICK off by default - remove OPENMP check for graphics/ImageMagick as the openmp is now included in base - update EMACS_VER in Mk/Uses/emacs.mk - bump USES=emacs ports or remove BROKEN for net-im/jabber.el and deskutils/howm, which now build Submitted by: HIROSE Yuuji <yuuji@gentei.org> (canna patch) Reviewed by: ashish Differential Revision: https://reviews.freebsd.org/D23966
43 lines
942 B
Makefile
43 lines
942 B
Makefile
# Created by: dd
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tuareg-mode
|
|
PORTVERSION= 2.0.8
|
|
PORTREVISION= 7
|
|
PORTEPOCH= 1
|
|
CATEGORIES= lang elisp
|
|
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
|
|
|
|
MAINTAINER= michipili@gmail.com
|
|
COMMENT= Emacs major mode for editing Caml code
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= emacs
|
|
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>
|