freebsd-ports/editors/slime/Makefile
Joseph Mingrone bea2b0b802 editors/emacs: Update to version 27.1
Please refer to the 20200811 UPDATING entry when upgrading
dependent (*-emacs26-*) ports.

Port changes:

- depend on math/gmp
- match upstream by turning CAIRO, HARFBUZZ, and JSON options and on and
  turning MAGICK off by default
- remove OPENMP check for graphics/ImageMagick as the openmp is now
  included in base
- update EMACS_VER in Mk/Uses/emacs.mk
- bump USES=emacs ports or remove BROKEN for net-im/jabber.el and
  deskutils/howm, which now build

Submitted by:	HIROSE Yuuji <yuuji@gentei.org> (canna patch)
Reviewed by:	ashish
Differential Revision:	https://reviews.freebsd.org/D23966
2020-08-12 18:30:06 +00:00

48 lines
1.2 KiB
Makefile

# Created by: Dominic Mitchell
# $FreeBSD$
PORTNAME= slime
DISTVERSIONPREFIX= v
DISTVERSION= 2.23
PORTREVISION= 4
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>