2011-06-22 08:22:51 +00:00
|
|
|
# New ports collection makefile for: ess
|
2012-04-13 06:44:41 +00:00
|
|
|
# Date created: 06 March 2010
|
2012-06-16 09:59:45 +00:00
|
|
|
# Whom: Christopher J. Ruwe
|
2011-06-22 08:22:51 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ess
|
2012-06-16 09:59:45 +00:00
|
|
|
DISTVERSION= 12.04-4
|
2012-09-04 17:05:43 +00:00
|
|
|
PORTREVISION= 4
|
2011-06-22 08:22:51 +00:00
|
|
|
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
|
|
|
|
|
2011-08-08 18:35:36 +00:00
|
|
|
RUN_DEPENDS= R:${PORTSDIR}/math/R
|
|
|
|
|
2012-06-16 09:59:45 +00:00
|
|
|
CONFLICTS= noweb-[0-9]*
|
|
|
|
|
2011-06-22 08:22:51 +00:00
|
|
|
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>
|