7eeb51b534
Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
53 lines
1.7 KiB
Makefile
53 lines
1.7 KiB
Makefile
# $NetBSD: Makefile,v 1.29 2014/05/29 23:36:52 wiz Exp $
|
|
|
|
DISTNAME= ess-13.09-1
|
|
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME:S/-1$/.1/}
|
|
PKGREVISION= 2
|
|
CATEGORIES= math
|
|
MASTER_SITES= http://ess.r-project.org/downloads/ess/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= markd@NetBSD.org
|
|
HOMEPAGE= http://ess.r-project.org/
|
|
COMMENT= Emacs Speaks Statistics
|
|
|
|
USE_TOOLS+= makeinfo perl gmake
|
|
EMACS_MODULES= base
|
|
INFO_FILES= yes
|
|
|
|
MAKE_JOBS_SAFE= no
|
|
MAKE_ENV+= LISPDIR=${EMACS_LISPPREFIX}/ess
|
|
MAKEFLAGS+= EMACS=${EMACS_BIN:Q}
|
|
|
|
SUBST_CLASSES+= etcdir
|
|
SUBST_STAGE.etcdir= pre-patch
|
|
SUBST_FILES.etcdir= lisp/ess-site.el
|
|
SUBST_SED.etcdir= -e 's,"./etc/"),"./etc/" "../../../ess/"),'
|
|
|
|
INSTALLATION_DIRS= ${EMACS_INFOPREFIX} ${EMACS_LISPPREFIX}/ess
|
|
INSTALLATION_DIRS+= ${EMACS_ETCPREFIX}/ess ${EMACS_ETCPREFIX}/ess/icons
|
|
INSTALLATION_DIRS+= ${EMACS_ETCPREFIX}/ess/ESSR/R
|
|
|
|
post-extract:
|
|
cd ${WRKSRC} && chmod u+w doc/*/
|
|
|
|
do-install:
|
|
cd ${WRKSRC}/lisp && ${INSTALL_DATA} *.el* \
|
|
${DESTDIR}${EMACS_LISPPREFIX}/ess
|
|
cd ${WRKSRC}/doc/info; for f in ess.info ess.info-[0-9]*; do \
|
|
${TEST} ! -f "$$f" || \
|
|
${INSTALL_DATA} "$$f" ${DESTDIR}${EMACS_INFOPREFIX}; \
|
|
done
|
|
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
|
|
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
|
|
|
|
.include "../../editors/emacs/modules.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|