1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00
freebsd-ports/editors/slime/Makefile
Andrey Slusar dcb238d457 editors/slime is compatible with Emacs 22.
Remove EMACS_PORT_NAME to use system default emacs.

PR:		ports/115421
Submitted by:	NIIMI Satoshi <sa2c@sa2c.net>
Approved by:	maintainer timeout (1 month 6 days)
2007-09-16 17:40:51 +00:00

51 lines
1.1 KiB
Makefile

# New ports collection makefile for: slime
# Date created: 13 Nov 2004
# Whom: Dominic Mitchell
#
# $FreeBSD$
#
PORTNAME= slime
PORTVERSION= 2.0
PORTREVISION= 2
CATEGORIES= editors elisp
MASTER_SITES= http://common-lisp.net/project/slime/
EXTRACT_SUFX= .tgz
MAINTAINER= dom@happygiraffe.net
COMMENT= Superior Lisp Interaction Mode for Emacs
USE_GMAKE= yes
USE_EMACS= yes
INFO= slime
PORTDOCS= ChangeLog HACKING NEWS PROBLEMS README
SLIME_LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/slime
do-build:
cd ${WRKSRC}/doc && ${GMAKE} slime.info
cd ${WRKSRC} && ${EMACS_CMD} -batch \
-eval '(setq load-path (cons nil load-path))' \
-f batch-byte-compile *.el
pre-install:
@${MKDIR} ${SLIME_LISPDIR}
do-install:
cd ${INSTALL_WRKSRC}; \
${INSTALL_DATA} ChangeLog ${SLIME_LISPDIR}; \
${INSTALL_DATA} *.el ${SLIME_LISPDIR}; \
${INSTALL_DATA} *.elc ${SLIME_LISPDIR}; \
${INSTALL_DATA} *.lisp ${SLIME_LISPDIR}
${INSTALL_DATA} ${INSTALL_WRKSRC}/doc/slime.info ${PREFIX}/${INFO_PATH}
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for F in ${PORTDOCS}
${INSTALL_DATA} ${INSTALL_WRKSRC}/${F} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>