blob: 73ea00f24278ca96bec581147c727af51c951b7e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# New ports collection makefile for: sml-mode.el
# Version required: 3.3
# Date created: 23 December 1999
# Whom: J Koshy <jkoshy@freebsd.org>
#
# $FreeBSD$
#
DISTNAME= sml-mode-3.3
CATEGORIES= lang elisp
MASTER_SITES= ftp://ftp.research.bell-labs.com/dist/smlnj/contrib/emacs/ \
http://www.freebsd.org/~jkoshy/PORTS/
EXTRACT_SUFX= .tar.Z
MAINTAINER= jkoshy@FreeBSD.org
NO_BUILD= yes
#
# Install configuration
#
ELISP_SUBDIR= share/emacs/site-lisp/
SMLMODE_ELISPDIR= ${ELISP_SUBDIR}/sml-mode
SMLMODE_DOCDIR= share/doc/sml-mode
SMLMODE_DIR_ENTRY=* SML-mode: (sml-mode). A mode for editing Standard ML programs.
do-install:
-${MKDIR} ${PREFIX}/${SMLMODE_ELISPDIR}
${INSTALL_DATA} ${WRKSRC}/*.el ${PREFIX}/${SMLMODE_ELISPDIR}/
(cd ${PREFIX}/${ELISP_SUBDIR} && \
${LN} -sf sml-mode/sml-site.el .)
.if !defined(NOPORTDOCS)
-${MKDIR} ${PREFIX}/${SMLMODE_DOCDIR}
${INSTALL_DATA} ${WRKSRC}/sml-mode.html ${PREFIX}/${SMLMODE_DOCDIR}
${INSTALL_DATA} ${WRKSRC}/sml-mode.ps ${PREFIX}/${SMLMODE_DOCDIR}
${INSTALL_DATA} ${WRKSRC}/sml-mode.info ${PREFIX}/info/
install-info --section="The Emacs editor and associated tools" \
--entry="${SMLMODE_DIR_ENTRY}" ${PREFIX}/info/sml-mode.info \
${PREFIX}/info/dir
.endif
.include <bsd.port.mk>
|