2015-06-12 12:48:20 +02:00
|
|
|
# $NetBSD: Makefile,v 1.30 2015/06/12 10:50:27 wiz Exp $
|
2003-06-05 13:51:10 +02:00
|
|
|
|
2014-02-06 10:49:15 +01:00
|
|
|
DISTNAME= ess-13.09-1
|
|
|
|
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME:S/-1$/.1/}
|
2015-06-12 12:48:20 +02:00
|
|
|
PKGREVISION= 3
|
2003-06-05 13:51:10 +02:00
|
|
|
CATEGORIES= math
|
2007-06-11 16:16:25 +02:00
|
|
|
MASTER_SITES= http://ess.r-project.org/downloads/ess/
|
|
|
|
EXTRACT_SUFX= .tgz
|
2003-06-05 13:51:10 +02:00
|
|
|
|
2003-07-17 23:41:05 +02:00
|
|
|
MAINTAINER= markd@NetBSD.org
|
2007-06-11 16:16:25 +02:00
|
|
|
HOMEPAGE= http://ess.r-project.org/
|
2003-06-05 13:51:10 +02:00
|
|
|
COMMENT= Emacs Speaks Statistics
|
|
|
|
|
2014-02-06 10:49:15 +01:00
|
|
|
USE_TOOLS+= makeinfo perl gmake
|
2006-03-31 06:29:51 +02:00
|
|
|
EMACS_MODULES= base
|
2013-04-06 22:27:16 +02:00
|
|
|
INFO_FILES= yes
|
2007-06-11 16:16:25 +02:00
|
|
|
|
2011-11-10 22:31:49 +01:00
|
|
|
MAKE_JOBS_SAFE= no
|
2003-06-05 13:51:10 +02:00
|
|
|
MAKE_ENV+= LISPDIR=${EMACS_LISPPREFIX}/ess
|
2006-03-31 06:29:51 +02:00
|
|
|
MAKEFLAGS+= EMACS=${EMACS_BIN:Q}
|
|
|
|
|
2007-06-20 13:49:39 +02:00
|
|
|
SUBST_CLASSES+= etcdir
|
|
|
|
SUBST_STAGE.etcdir= pre-patch
|
|
|
|
SUBST_FILES.etcdir= lisp/ess-site.el
|
|
|
|
SUBST_SED.etcdir= -e 's,"./etc/"),"./etc/" "../../../ess/"),'
|
|
|
|
|
2006-03-31 06:29:51 +02:00
|
|
|
INSTALLATION_DIRS= ${EMACS_INFOPREFIX} ${EMACS_LISPPREFIX}/ess
|
2007-06-20 13:49:39 +02:00
|
|
|
INSTALLATION_DIRS+= ${EMACS_ETCPREFIX}/ess ${EMACS_ETCPREFIX}/ess/icons
|
2014-02-19 10:19:01 +01:00
|
|
|
INSTALLATION_DIRS+= ${EMACS_ETCPREFIX}/ess/ESSR/R
|
2003-06-05 13:51:10 +02:00
|
|
|
|
2007-10-09 14:24:04 +02:00
|
|
|
post-extract:
|
|
|
|
cd ${WRKSRC} && chmod u+w doc/*/
|
|
|
|
|
2003-06-05 13:51:10 +02:00
|
|
|
do-install:
|
2008-03-04 18:57:17 +01:00
|
|
|
cd ${WRKSRC}/lisp && ${INSTALL_DATA} *.el* \
|
|
|
|
${DESTDIR}${EMACS_LISPPREFIX}/ess
|
2007-06-11 16:16:25 +02:00
|
|
|
cd ${WRKSRC}/doc/info; for f in ess.info ess.info-[0-9]*; do \
|
2006-03-31 06:29:51 +02:00
|
|
|
${TEST} ! -f "$$f" || \
|
2008-03-04 18:57:17 +01:00
|
|
|
${INSTALL_DATA} "$$f" ${DESTDIR}${EMACS_INFOPREFIX}; \
|
2006-03-31 06:29:51 +02:00
|
|
|
done
|
2008-03-04 18:57:17 +01:00
|
|
|
cd ${WRKSRC}/etc && ${INSTALL_DATA} icons/*.xpm \
|
|
|
|
${DESTDIR}${EMACS_ETCPREFIX}/ess/icons
|
|
|
|
cd ${WRKSRC}/etc && ${INSTALL_DATA} *.S \
|
|
|
|
${DESTDIR}${EMACS_ETCPREFIX}/ess
|
|
|
|
cd ${WRKSRC}/etc && ${INSTALL_SCRIPT} ess-sas-sh-command \
|
|
|
|
${DESTDIR}${EMACS_ETCPREFIX}/ess
|
2014-02-19 10:19:01 +01:00
|
|
|
cd ${WRKSRC}/etc/ESSR && ${INSTALL_DATA} LOADREMOTE VERSION \
|
|
|
|
${DESTDIR}${EMACS_ETCPREFIX}/ess/ESSR
|
|
|
|
cd ${WRKSRC}/etc/ESSR/R && ${INSTALL_DATA} *.R .*.R \
|
|
|
|
${DESTDIR}${EMACS_ETCPREFIX}/ess/ESSR/R
|
2003-06-05 13:51:10 +02:00
|
|
|
|
2008-10-11 11:31:54 +02:00
|
|
|
.include "../../editors/emacs/modules.mk"
|
2003-06-05 13:51:10 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|