d4fbd62e87
The 'when' argument of `make-obsolete` and related functions was recently made mandatory. [1] Apply an upstream patch to a `define-obsolete-function-alias' call to fix the build. [2] [1] https://github.com/emacs-mirror/emacs/commit/32c6732d16385f242b1109517f25e9aefd6caa5c [2] https://github.com/emacs-ess/ESS/commit/9cc5520e1998d03f5dec0fbb1fe71b7cdec38b65 Reported by: tcberner Approved by: rhurlin (maintainer) Differential Revision: https://reviews.freebsd.org/D28285
42 lines
862 B
Makefile
42 lines
862 B
Makefile
# Created by: Christopher J. Ruwe
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ess
|
|
DISTVERSION= 18.10.2
|
|
PORTREVISION= 4
|
|
CATEGORIES= math
|
|
MASTER_SITES= http://ess.r-project.org/downloads/ess/ \
|
|
http://stat.ethz.ch/ESS/downloads/ess/
|
|
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
|
|
|
|
MAINTAINER= rhurlin@FreeBSD.org
|
|
COMMENT= R support for Emacsen
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
RUN_DEPENDS= R:math/R
|
|
|
|
USES= emacs gmake makeinfo perl5 tar:tgz
|
|
USE_PERL5= build
|
|
|
|
NO_ARCH= yes
|
|
|
|
INFO= ess
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|^DESTDIR|#DESTDIR| ; \
|
|
s|^PREFIX|#PREFIX| ; \
|
|
s|=$$(PREFIX)|=$$(DESTDIR)$$(PREFIX)| ; \
|
|
s|share/info|${INFO_PATH}|' ${WRKSRC}/Makeconf
|
|
@${REINPLACE_CMD} -e \
|
|
'/^PDFs/s|=.*|=|' ${WRKSRC}/doc/Makefile
|
|
|
|
post-install:
|
|
@${CP} ${WRKSRC}/lisp/*.el ${STAGEDIR}${PREFIX}/share/emacs/site-lisp/ess/
|
|
|
|
.include <bsd.port.mk>
|