freebsd-ports/editors/slime/Makefile
Joseph Mingrone ced1e88d5e editors/emacs-devel: Update to latest master branch commit, 4f2b415
This update includes an Emacs major version change from 27.0.50 to 28.0.50.
Ports that may depend on editors/emacs-devel must chase this update
with a PORTREVISION bump.

Submitted by:	ashish (maintainer)
Differential Revision:	https://reviews.freebsd.org/D23012
2020-01-07 04:55:40 +00:00

47 lines
1.2 KiB
Makefile

# Created by: Dominic Mitchell
# $FreeBSD$
PORTNAME= slime
DISTVERSIONPREFIX= v
DISTVERSION= 2.23
PORTREVISION= 3
CATEGORIES= editors elisp
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
MAINTAINER= joe@thrallingpenguin.com
COMMENT= Superior Lisp Interaction Mode for Emacs
LICENSE= PD
BUILD_DEPENDS= texinfo>=5.2:print/texinfo
USES= emacs gmake
USE_GITHUB= yes
ALL_TARGET= all contrib-compile doc-slime.info
INFO= slime
NO_ARCH= yes
PORTDOCS= CONTRIBUTING.md NEWS PROBLEMS README.md
SUB_FILES= pkg-message
SUB_LIST= SLIME_LISPDIR="${SLIME_LISPDIR}"
OPTIONS_DEFINE= DOCS
SLIME_LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/slime
do-install:
@${MKDIR} ${STAGEDIR}${SLIME_LISPDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${SLIME_LISPDIR} \
"! ( -name CONTRIBUTING.md -o -name NEWS -o -name PROBLEMS \
-o -name README.md -o -name Makefile -o -name doc \
-o -path \./doc/* )")
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${INSTALL_WRKSRC}/contrib/README.md \
${STAGEDIR}${DOCSDIR}/README-contrib.md
(cd ${INSTALL_WRKSRC}/doc && ${INSTALL_DATA} slime-refcard.pdf \
slime-small.pdf ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>