diff options
author | seb <seb@pkgsrc.org> | 2002-12-23 12:50:12 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2002-12-23 12:50:12 +0000 |
commit | 7e93ce38fe948425b3eff4f5f5009cb4a63d42a8 (patch) | |
tree | b5e1fc8564a51ac91c4f28abd8762d1cd8eaa9e1 /math/calc/Makefile | |
parent | b0028941c7cc0906c8242fad8cfa632c93d42021 (diff) | |
download | pkgsrc-7e93ce38fe948425b3eff4f5f5009cb4a63d42a8.tar.gz |
Make this package work with the various emacsen and xemacsen we have in
pkgsrc.
Use emacs.mk. Bump PKGREVISION.
Diffstat (limited to 'math/calc/Makefile')
-rw-r--r-- | math/calc/Makefile | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/math/calc/Makefile b/math/calc/Makefile index 1b459219b89..79271e3c9c6 100644 --- a/math/calc/Makefile +++ b/math/calc/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.6 2002/02/20 18:10:29 seb Exp $ +# $NetBSD: Makefile,v 1.7 2002/12/23 12:50:12 seb Exp $ DISTNAME= calc-2.02f +PKGREVISION= 1 CATEGORIES= math MASTER_SITES= ${MASTER_SITE_GNU:=calc/} @@ -10,25 +11,16 @@ COMMENT= Advanced Calculator for GNU Emacs .include "../../mk/bsd.prefs.mk" -.if defined(USE_XEMACS) -MAKE_ENV+= EMACS=xemacs -DEPENDS+= xemacs-[0-9]*:../../editors/xemacs -SITE_LISP= lib/xemacs/xemacs-packages/lisp -.else -MAKE_ENV+= EMACS=emacs -DEPENDS+= emacs-[0-9]*:../../editors/emacs -SITE_LISP= share/emacs/site-lisp -.endif +.include "../../mk/emacs.mk" -PLIST_SUBST+= SITE_LISP=${SITE_LISP} +MAKE_ENV+= EMACS=${EMACS_FLAVOR} INFO_FILES= calc.info do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/${SITE_LISP} - ${INSTALL_DATA_DIR} ${PREFIX}/${SITE_LISP}/calc + ${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/calc ${INSTALL_DATA} ${WRKSRC}/*.el ${WRKSRC}/*.elc \ - ${WRKSRC}/calccard.tex ${PREFIX}/${SITE_LISP}/calc + ${WRKSRC}/calccard.tex ${EMACS_LISPPREFIX}/calc ${INSTALL_DATA} ${WRKSRC}/calc.info* ${PREFIX}/info .include "../../mk/texinfo.mk" |