1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/math/ess/Makefile
Brendan Fabeny aa89760550 - update math/R-cran-psych to 1.2.1 [1]
- update math/R to 2.15.0, and adjust dependent ports
- minor changes to bsd.cran.mk [2]: rename MASTER_CRAN_SITES to
  MASTER_SITE_CRAN, as in bsd.sites.mk; make the install target more
  flexible and allow CRAN ports to override it; add a regression-test
  target; set USE_FORTRAN to match math/R; remove some of the
  redundant checks of USE_R_MOD; honor NOPORTDATA and NOPORTDOCS

Reviewed by:	thierry, tota, wen
Approved by:	D. Rue (maintainer) [1], wen [2]
2012-05-04 20:56:15 +00:00

59 lines
1.3 KiB
Makefile

# New ports collection makefile for: ess
# Date created: 06 March 2010
# Whom: Christopher J.s Ruwe
#
# $FreeBSD$
#
PORTNAME= ess
PORTVERSION= 12.04
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= http://ess.r-project.org/downloads/ess/
EXTRACT_SUFX= .tgz
MAINTAINER= cjr@cruwe.de
COMMENT= R support for Emacsen
LICENSE= GPLv2
RUN_DEPENDS= R:${PORTSDIR}/math/R
USE_EMACS= yes
USE_GMAKE= yes
.if !defined(NOPORTDOCS)
INFO= ess
.endif
post-patch:
${REINPLACE_CMD} -e "\|^PREFIX=|d" -e "\|^INSTALL=|d" \
-e "\|^EMACS=|s|=.*|=${EMACS_NAME}|" \
-e "\|^ETCDIR=|s|=.*|=${PREFIX}/${EMACS_LIBDIR}/etc/ess|" \
-e "\|^INFODIR=|s|=.*|=${PREFIX}/${INFO_PATH}|" \
-e "\|^LISPDIR=|s|=.*|=${PREFIX}/${EMACS_SITE_LISPDIR}|" \
${WRKSRC}/Makeconf
${REINPLACE_CMD} -e "\|cd doc; \$$(MAKE) \$$@|d" \
${WRKSRC}/Makefile
${REINPLACE_CMD} -e "s|\$$(INSTALL)|${INSTALL_DATA}|g" \
${WRKSRC}/doc/Makefile ${WRKSRC}/etc/Makefile
${REINPLACE_CMD} -e "s|\$$(INSTALL)|${INSTALL_SCRIPT}|g" \
${WRKSRC}/lisp/Makefile
.if !defined(NOPORTDOCS)
post-build:
@(cd ${WRKSRC}/doc; ${SETENV} ${MAKE_ENV} ${GMAKE} ${_MAKE_JOBS} \
${MAKE_ARGS} info)
.endif
post-install:
.if !defined(NOPORTDOCS)
@(cd ${WRKSRC}/doc; ${SETENV} ${MAKE_ENV} ${GMAKE} ${_MAKE_JOBS} \
${MAKE_ARGS} install-info)
.endif
@${ECHO_MSG} ""
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG} ""
.include <bsd.port.mk>