diff options
author | markd <markd@pkgsrc.org> | 2007-06-20 11:49:39 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2007-06-20 11:49:39 +0000 |
commit | 9b2a24136aeda6a8e8690faa15cbb0c727198e90 (patch) | |
tree | c6f5754d8facd3349e978c0f2deb72a21efb6e4f /math/ess/Makefile | |
parent | b7f57d1477c9738a96200371ddc7e7e627337a26 (diff) | |
download | pkgsrc-9b2a24136aeda6a8e8690faa15cbb0c727198e90.tar.gz |
Fix installation of package etc directory. Bump PKGREVISION.
Diffstat (limited to 'math/ess/Makefile')
-rw-r--r-- | math/ess/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/math/ess/Makefile b/math/ess/Makefile index 0233beed085..88e9ead3c6b 100644 --- a/math/ess/Makefile +++ b/math/ess/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.14 2007/06/11 14:16:25 markd Exp $ +# $NetBSD: Makefile,v 1.15 2007/06/20 11:49:39 markd Exp $ DISTNAME= ess-5.3.4 PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME} +PKGREVISION= 1 CATEGORIES= math MASTER_SITES= http://ess.r-project.org/downloads/ess/ EXTRACT_SUFX= .tgz @@ -14,11 +15,16 @@ USE_TOOLS+= makeinfo perl EMACS_MODULES= base INFO_FILES= # PLIST - 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 do-install: cd ${WRKSRC}/lisp && ${INSTALL_DATA} *.el* ${EMACS_LISPPREFIX}/ess @@ -26,6 +32,9 @@ do-install: ${TEST} ! -f "$$f" || \ ${INSTALL_DATA} "$$f" ${EMACS_INFOPREFIX}; \ done + cd ${WRKSRC}/etc && ${INSTALL_DATA} icons/*.xpm ${EMACS_ETCPREFIX}/ess/icons + cd ${WRKSRC}/etc && ${INSTALL_DATA} *.S ${EMACS_ETCPREFIX}/ess + cd ${WRKSRC}/etc && ${INSTALL_SCRIPT} ess-sas-sh-command ${EMACS_ETCPREFIX}/ess .include "../../mk/emacs.mk" .include "../../mk/bsd.pkg.mk" |