aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbf <bf@FreeBSD.org>2011-06-22 16:22:51 +0800
committerbf <bf@FreeBSD.org>2011-06-22 16:22:51 +0800
commit8e38f7fab644ad7d7735bd65538b23d0fe9dc82e (patch)
tree9cdda7824b7c222963a826ebfe8463447877e7a6
parente054a635b2adc678b7121b147624600998112ab8 (diff)
downloadfreebsd-ports-gnome-8e38f7fab644ad7d7735bd65538b23d0fe9dc82e.tar.gz
freebsd-ports-gnome-8e38f7fab644ad7d7735bd65538b23d0fe9dc82e.tar.zst
freebsd-ports-gnome-8e38f7fab644ad7d7735bd65538b23d0fe9dc82e.zip
Add ess 5.13, R support for Emacsen.
-rw-r--r--math/Makefile1
-rw-r--r--math/ess/Makefile57
-rw-r--r--math/ess/distinfo2
-rw-r--r--math/ess/pkg-descr6
-rw-r--r--math/ess/pkg-message9
-rw-r--r--math/ess/pkg-plist131
6 files changed, 206 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 2255975f0b1e..db625c73a32c 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -69,6 +69,7 @@
SUBDIR += emacs-calc
SUBDIR += emc2
SUBDIR += entropy
+ SUBDIR += ess
SUBDIR += eukleides
SUBDIR += eval
SUBDIR += facile
diff --git a/math/ess/Makefile b/math/ess/Makefile
new file mode 100644
index 000000000000..c4e11a470ee5
--- /dev/null
+++ b/math/ess/Makefile
@@ -0,0 +1,57 @@
+# New ports collection makefile for: ess
+# Date created: 06 March 2010
+# Whom: Christopher J.s Ruwe
+#
+# $FreeBSD$
+#
+
+PORTNAME= ess
+PORTVERSION= 5.13
+CATEGORIES= math
+MASTER_SITES= http://ess.r-project.org/downloads/ess/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= cjr@cruwe.de
+COMMENT= R support for Emacsen
+
+RUN_DEPENDS= R:${PORTSDIR}/math/R
+
+LICENSE= GPLv2
+
+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>
diff --git a/math/ess/distinfo b/math/ess/distinfo
new file mode 100644
index 000000000000..0fa935291575
--- /dev/null
+++ b/math/ess/distinfo
@@ -0,0 +1,2 @@
+SHA256 (ess-5.13.tgz) = 26e78fb207f034e9f08f07073589faaa1e4d66a886de3e46769b79fd5e1072c4
+SIZE (ess-5.13.tgz) = 7245294
diff --git a/math/ess/pkg-descr b/math/ess/pkg-descr
new file mode 100644
index 000000000000..148997566676
--- /dev/null
+++ b/math/ess/pkg-descr
@@ -0,0 +1,6 @@
+Emacs Speaks Statistics (ESS) is an add-on package for emacs text editors
+such as GNU Emacs and XEmacs. It is designed to support editing of scripts
+and interaction with various statistical analysis programs such as R, S-Plus,
+SAS, Stata and JAGS.
+
+WWW: http://ess.r-project.org
diff --git a/math/ess/pkg-message b/math/ess/pkg-message
new file mode 100644
index 000000000000..c5bf77f00d8b
--- /dev/null
+++ b/math/ess/pkg-message
@@ -0,0 +1,9 @@
+*****************************************************************************
+For convenience, users may want to add:
+
+;;;Emacs ESS
+ (require 'ess-site)
+
+to their ~/.emacs or ~/.xemacs/init.el file.
+
+*****************************************************************************
diff --git a/math/ess/pkg-plist b/math/ess/pkg-plist
new file mode 100644
index 000000000000..d9a0c068ee87
--- /dev/null
+++ b/math/ess/pkg-plist
@@ -0,0 +1,131 @@
+%%EMACS_LIBDIR%%/etc/ess/BACKBUG5.BAT
+%%EMACS_LIBDIR%%/etc/ess/BACKBUGS.BAT
+%%EMACS_LIBDIR%%/etc/ess/backbug5
+%%EMACS_LIBDIR%%/etc/ess/backbugs
+%%EMACS_LIBDIR%%/etc/ess/config.guess
+%%EMACS_LIBDIR%%/etc/ess/ess-s4.S
+%%EMACS_LIBDIR%%/etc/ess/ess-sas-sh-command
+%%EMACS_LIBDIR%%/etc/ess/ess-sp3.S
+%%EMACS_LIBDIR%%/etc/ess/function-outline.S
+%%EMACS_LIBDIR%%/etc/ess/icons/rbuffer.xpm
+%%EMACS_LIBDIR%%/etc/ess/icons/rfunction.xpm
+%%EMACS_LIBDIR%%/etc/ess/icons/rline.xpm
+%%EMACS_LIBDIR%%/etc/ess/icons/rregion.xpm
+%%EMACS_LIBDIR%%/etc/ess/icons/splus_letter_small.xpm
+%%EMACS_LIBDIR%%/etc/ess/icons/splus_letters_large.xpm
+%%EMACS_LIBDIR%%/etc/ess/icons/spluslogo.xpm
+%%EMACS_LIBDIR%%/etc/ess/icons/startr.xpm
+%%EMACS_LIBDIR%%/etc/ess/icons/switch_ess.xpm
+%%EMACS_LIBDIR%%/etc/ess/icons/switchr.xpm
+%%EMACS_LIBDIR%%/etc/ess/icons/switchs.xpm
+%%EMACS_LIBDIR%%/etc/ess/sas-keys.doc
+%%EMACS_LIBDIR%%/etc/ess/sas-keys.ps
+%%EMACS_LIBDIR%%/etc/ess/sas-keys.rtf
+%%EMACS_SITE_LISPDIR%%/ChangeLog
+%%EMACS_SITE_LISPDIR%%/ess-arc-d.el
+%%EMACS_SITE_LISPDIR%%/ess-arc-d.elc
+%%EMACS_SITE_LISPDIR%%/ess-bugs-d.el
+%%EMACS_SITE_LISPDIR%%/ess-bugs-d.elc
+%%EMACS_SITE_LISPDIR%%/ess-bugs-l.el
+%%EMACS_SITE_LISPDIR%%/ess-bugs-l.elc
+%%EMACS_SITE_LISPDIR%%/ess-comp.el
+%%EMACS_SITE_LISPDIR%%/ess-comp.elc
+%%EMACS_SITE_LISPDIR%%/ess-compat.el
+%%EMACS_SITE_LISPDIR%%/ess-compat.elc
+%%EMACS_SITE_LISPDIR%%/ess-custom.el
+%%EMACS_SITE_LISPDIR%%/ess-custom.elc
+%%EMACS_SITE_LISPDIR%%/ess-dde.el
+%%EMACS_SITE_LISPDIR%%/ess-dde.elc
+%%EMACS_SITE_LISPDIR%%/ess-eldoc.el
+%%EMACS_SITE_LISPDIR%%/ess-eldoc.elc
+%%EMACS_SITE_LISPDIR%%/ess-font-lock.el
+%%EMACS_SITE_LISPDIR%%/ess-font-lock.elc
+%%EMACS_SITE_LISPDIR%%/ess-help.el
+%%EMACS_SITE_LISPDIR%%/ess-help.elc
+%%EMACS_SITE_LISPDIR%%/ess-inf.el
+%%EMACS_SITE_LISPDIR%%/ess-inf.elc
+%%EMACS_SITE_LISPDIR%%/ess-jags-d.el
+%%EMACS_SITE_LISPDIR%%/ess-jags-d.elc
+%%EMACS_SITE_LISPDIR%%/ess-lsp-l.el
+%%EMACS_SITE_LISPDIR%%/ess-lsp-l.elc
+%%EMACS_SITE_LISPDIR%%/ess-menu.el
+%%EMACS_SITE_LISPDIR%%/ess-menu.elc
+%%EMACS_SITE_LISPDIR%%/ess-mode.el
+%%EMACS_SITE_LISPDIR%%/ess-mode.elc
+%%EMACS_SITE_LISPDIR%%/ess-mouse.el
+%%EMACS_SITE_LISPDIR%%/ess-mouse.elc
+%%EMACS_SITE_LISPDIR%%/ess-noweb.el
+%%EMACS_SITE_LISPDIR%%/ess-noweb.elc
+%%EMACS_SITE_LISPDIR%%/ess-omg-d.el
+%%EMACS_SITE_LISPDIR%%/ess-omg-d.elc
+%%EMACS_SITE_LISPDIR%%/ess-omg-l.el
+%%EMACS_SITE_LISPDIR%%/ess-omg-l.elc
+%%EMACS_SITE_LISPDIR%%/ess-r-args.el
+%%EMACS_SITE_LISPDIR%%/ess-r-args.elc
+%%EMACS_SITE_LISPDIR%%/ess-r-d.el
+%%EMACS_SITE_LISPDIR%%/ess-r-d.elc
+%%EMACS_SITE_LISPDIR%%/ess-rd.el
+%%EMACS_SITE_LISPDIR%%/ess-rd.elc
+%%EMACS_SITE_LISPDIR%%/ess-rdired.el
+%%EMACS_SITE_LISPDIR%%/ess-rdired.elc
+%%EMACS_SITE_LISPDIR%%/ess-roxy.el
+%%EMACS_SITE_LISPDIR%%/ess-roxy.elc
+%%EMACS_SITE_LISPDIR%%/ess-rutils.el
+%%EMACS_SITE_LISPDIR%%/ess-rutils.elc
+%%EMACS_SITE_LISPDIR%%/ess-s-l.el
+%%EMACS_SITE_LISPDIR%%/ess-s-l.elc
+%%EMACS_SITE_LISPDIR%%/ess-s3-d.el
+%%EMACS_SITE_LISPDIR%%/ess-s3-d.elc
+%%EMACS_SITE_LISPDIR%%/ess-s4-d.el
+%%EMACS_SITE_LISPDIR%%/ess-s4-d.elc
+%%EMACS_SITE_LISPDIR%%/ess-sas-a.el
+%%EMACS_SITE_LISPDIR%%/ess-sas-a.elc
+%%EMACS_SITE_LISPDIR%%/ess-sas-d.el
+%%EMACS_SITE_LISPDIR%%/ess-sas-d.elc
+%%EMACS_SITE_LISPDIR%%/ess-sas-l.el
+%%EMACS_SITE_LISPDIR%%/ess-sas-l.elc
+%%EMACS_SITE_LISPDIR%%/ess-site.el
+%%EMACS_SITE_LISPDIR%%/ess-site.elc
+%%EMACS_SITE_LISPDIR%%/ess-sp3-d.el
+%%EMACS_SITE_LISPDIR%%/ess-sp3-d.elc
+%%EMACS_SITE_LISPDIR%%/ess-sp4-d.el
+%%EMACS_SITE_LISPDIR%%/ess-sp4-d.elc
+%%EMACS_SITE_LISPDIR%%/ess-sp5-d.el
+%%EMACS_SITE_LISPDIR%%/ess-sp5-d.elc
+%%EMACS_SITE_LISPDIR%%/ess-sp6-d.el
+%%EMACS_SITE_LISPDIR%%/ess-sp6-d.elc
+%%EMACS_SITE_LISPDIR%%/ess-sp6w-d.el
+%%EMACS_SITE_LISPDIR%%/ess-sp6w-d.elc
+%%EMACS_SITE_LISPDIR%%/ess-sta-d.el
+%%EMACS_SITE_LISPDIR%%/ess-sta-d.elc
+%%EMACS_SITE_LISPDIR%%/ess-sta-l.el
+%%EMACS_SITE_LISPDIR%%/ess-sta-l.elc
+%%EMACS_SITE_LISPDIR%%/ess-swv.el
+%%EMACS_SITE_LISPDIR%%/ess-swv.elc
+%%EMACS_SITE_LISPDIR%%/ess-toolbar.el
+%%EMACS_SITE_LISPDIR%%/ess-toolbar.elc
+%%EMACS_SITE_LISPDIR%%/ess-trns.el
+%%EMACS_SITE_LISPDIR%%/ess-trns.elc
+%%EMACS_SITE_LISPDIR%%/ess-utils.el
+%%EMACS_SITE_LISPDIR%%/ess-utils.elc
+%%EMACS_SITE_LISPDIR%%/ess-vst-d.el
+%%EMACS_SITE_LISPDIR%%/ess-vst-d.elc
+%%EMACS_SITE_LISPDIR%%/ess-xls-d.el
+%%EMACS_SITE_LISPDIR%%/ess-xls-d.elc
+%%EMACS_SITE_LISPDIR%%/ess.el
+%%EMACS_SITE_LISPDIR%%/ess.elc
+%%EMACS_SITE_LISPDIR%%/essd-els.el
+%%EMACS_SITE_LISPDIR%%/essd-els.elc
+%%EMACS_SITE_LISPDIR%%/make-regexp.el
+%%EMACS_SITE_LISPDIR%%/make-regexp.elc
+%%EMACS_SITE_LISPDIR%%/mouseme.el
+%%EMACS_SITE_LISPDIR%%/mouseme.elc
+%%EMACS_SITE_LISPDIR%%/msdos.el
+%%EMACS_SITE_LISPDIR%%/msdos.elc
+%%EMACS_SITE_LISPDIR%%/noweb-font-lock-mode.el
+%%EMACS_SITE_LISPDIR%%/noweb-font-lock-mode.elc
+%%EMACS_SITE_LISPDIR%%/noweb-mode.el
+%%EMACS_SITE_LISPDIR%%/noweb-mode.elc
+@dirrm %%EMACS_LIBDIR%%/etc/ess/icons
+@dirrm %%EMACS_LIBDIR%%/etc/ess
+@dirrmtry %%EMACS_LIBDIR%%/etc