opnsense-ports/math/ess/Makefile
Franco Fichtner d9a3ce89d2 */*: sync with upstream
Taken from: HardenedBSD
2019-08-01 12:10:42 +02:00

38 lines
736 B
Makefile

# Created by: Christopher J. Ruwe
# $FreeBSD$
PORTNAME= ess
DISTVERSION= 17.11
PORTREVISION= 6
CATEGORIES= math
MASTER_SITES= http://ess.r-project.org/downloads/ess/ \
http://stat.ethz.ch/ESS/downloads/ess/
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
MAINTAINER= rhurlin@gwdg.de
COMMENT= R support for Emacsen
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= R:math/R
NO_ARCH= yes
USES= emacs gmake makeinfo perl5 tar:tgz
USE_PERL5= build
INFO= ess
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e \
's|^DESTDIR|#DESTDIR| ; \
s|^PREFIX|#PREFIX| ; \
s|=$$(PREFIX)|=$$(DESTDIR)$$(PREFIX)|' \
${WRKSRC}/Makeconf
@${REINPLACE_CMD} -e \
'/^PDFs/s|=.*|=|' ${WRKSRC}/doc/Makefile
.include <bsd.port.mk>