1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00
freebsd-ports/lang/tuareg-mode.el/Makefile
Andrey Slusar 9cb4a4ffc5 Update to 1.46.0
PR:		ports/97097
Submitted by:	miwi
Approved by:	maintainer timeout(1 month 18 days)
2006-06-27 21:29:27 +00:00

48 lines
1.1 KiB
Makefile

# New ports collection makefile for: tuareg-mode
# Date created: 28 October 2004
# Whom: dd
#
# $FreeBSD$
#
PORTNAME= tuareg-mode
PORTVERSION= 1.46.0
CATEGORIES= lang elisp
MASTER_SITES= http://www-rocq.inria.fr/~acohen/tuareg/mode/
MAINTAINER= dd@FreeBSD.org
COMMENT= Emacs major mode for editing Caml code
USE_EMACS= yes
EMACS_PORT_NAME?= emacs20
USE_BZIP2= yes
DOC_FILES= README HISTORY append-tuareg.el custom-tuareg.el
DOC_DIR= share/doc/tuareg-mode
ELISP_FILES= camldebug.el tuareg.el
ELISP_DIR= share/emacs/site-lisp
PLIST_FILES= ${ELISP_FILES:S/^/${ELISP_DIR}\//} \
${ELISP_FILES:S/^/${ELISP_DIR}\//S/$/c/} \
${DOC_FILES:S/^/${DOC_DIR}\//}
PLIST_DIRS= ${DOC_DIR}
do-build:
.for __f in ${ELISP_FILES}
cd ${WRKSRC} && echo '(setq load-path (cons "." load-path)) \
(batch-byte-compile)' | \
${EMACS_CMD} -batch -q -l /dev/stdin ${__f} 2> /dev/null
.endfor
do-install:
.for __f in ${ELISP_FILES}
${INSTALL_DATA} ${WRKSRC}/${__f} ${WRKSRC}/${__f}c \
${PREFIX}/${ELISP_DIR}
.endfor
${MKDIR} ${PREFIX}/${DOC_DIR}
.for __f in ${DOC_FILES}
${INSTALL_DATA} ${WRKSRC}/${__f} ${PREFIX}/${DOC_DIR}
.endfor
.include <bsd.port.mk>