ports/120494: Renew discontinued port lang/tuareg-mode.el

Michaël Le Barbier michael.le_barbier at laposte.net
Sun Feb 10 11:22:25 UTC 2008


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	tuareg-mode.el/
#	tuareg-mode.el/Makefile
#	tuareg-mode.el/pkg-descr
#	tuareg-mode.el/scripts
#	tuareg-mode.el/scripts/batch-compile.el
#	tuareg-mode.el/distinfo
#
echo c - tuareg-mode.el/
mkdir -p tuareg-mode.el/ > /dev/null 2>&1
echo x - tuareg-mode.el/Makefile
sed 's/^X//' >tuareg-mode.el/Makefile << 'END-of-tuareg-mode.el/Makefile'
X# New ports collection makefile for:	tuareg-mode
X# Date created:			28 October 2004
X# Whom:				dd
X#
X# $FreeBSD$
X#
X
XPORTNAME=	tuareg-mode
XPORTVERSION=	1.45.6
XPORTEPOCH=	1
XCATEGORIES=	lang elisp
XMASTER_SITES=	http://www-rocq.inria.fr/~acohen/tuareg/mode/
X
XMAINTAINER=	michael.grunewald at laposte.net
XCOMMENT=	Emacs major mode for editing Caml code
X
XUSE_EMACS=	yes
XUSE_BZIP2=	yes
X
XDOC_FILES=	README HISTORY append-tuareg.el custom-tuareg.el
XDOC_DIR=	share/doc/tuareg-mode
XELISP_FILES=	camldebug.el tuareg.el
X
XPLIST_FILES=	${ELISP_FILES:S/^/${EMACS_SITE_LISPDIR}\//} \
X		${ELISP_FILES:S/^/${EMACS_SITE_LISPDIR}\//S/$/c/} \
X		${DOC_FILES:S/^/${DOC_DIR}\//}
XPLIST_DIRS=	${DOC_DIR}
X
X# Note: append-tuareg.el and custom-tuareg.el are example files,
X# they are thus considered part of the documentation.
X
X#
X# Operations
X#
X
X# We do provide our own build and install procedures, instead of using
X# mainstream author's one.
X
Xdo-build:
X.for tuareg_mode_f in ${ELISP_FILES}
X	cd ${WRKSRC} &&\
X	  ${EMACS_CMD} -batch -q -l ${SCRIPTDIR}/batch-compile.el ${tuareg_mode_f}
X.endfor
X
Xdo-install:
X.for tuareg_mode_f in ${ELISP_FILES}
X	${INSTALL_DATA} ${WRKSRC}/${tuareg_mode_f} ${WRKSRC}/${tuareg_mode_f}c \
X		${PREFIX}/${EMACS_SITE_LISPDIR}
X.endfor
X	${MKDIR} ${PREFIX}/${DOC_DIR}
X.for tuareg_mode_f in ${DOC_FILES}
X	${INSTALL_DATA} ${WRKSRC}/${tuareg_mode_f} ${PREFIX}/${DOC_DIR}
X.endfor
X
X.include <bsd.port.mk>
END-of-tuareg-mode.el/Makefile
echo x - tuareg-mode.el/pkg-descr
sed 's/^X//' >tuareg-mode.el/pkg-descr << 'END-of-tuareg-mode.el/pkg-descr'
XFrom the web site:
X
X  Tuareg is a Caml mode for GNU Emacs and XEmacs. It handles automatic
X  indentation of Objective Caml and Camllight codes. Key parts of the
X  code are hilighted using Font-Lock. Support to run an interactive
X  Caml toplevel and debbuger is provided.
X
X  This mode attempts to give better results than the one provided in
X  the standard distribution OCaml 3.x. Indentation rules are slightly
X  different but closer to classical functional languages.
X
X  There is no relation with the Tuareg People, except their reputation
X  of great CAMEL riders and breeders.
X
XDocumentation is installed into share/doc/tuareg-mode
X
XWWW: http://www-rocq.inria.fr/~acohen/tuareg/
END-of-tuareg-mode.el/pkg-descr
echo c - tuareg-mode.el/scripts
mkdir -p tuareg-mode.el/scripts > /dev/null 2>&1
echo x - tuareg-mode.el/scripts/batch-compile.el
sed 's/^X//' >tuareg-mode.el/scripts/batch-compile.el << 'END-of-tuareg-mode.el/scripts/batch-compile.el'
X(setq load-path (cons "." load-path))
X(batch-byte-compile)
END-of-tuareg-mode.el/scripts/batch-compile.el
echo x - tuareg-mode.el/distinfo
sed 's/^X//' >tuareg-mode.el/distinfo << 'END-of-tuareg-mode.el/distinfo'
XMD5 (tuareg-mode-1.45.6.tar.bz2) = 75df362cba2d32e9828eebe80716009f
XSHA256 (tuareg-mode-1.45.6.tar.bz2) = 2f22834259a6b0c065a6528a519eda3d0164a9bf2de8a5f7c041d6a91777261b
XSIZE (tuareg-mode-1.45.6.tar.bz2) = 46822
END-of-tuareg-mode.el/distinfo
exit



More information about the freebsd-ports-bugs mailing list