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