summaryrefslogtreecommitdiff
path: root/math/calc/Makefile
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2000-11-26 23:35:17 +0000
committerjtb <jtb@pkgsrc.org>2000-11-26 23:35:17 +0000
commit3c104a023e8f791658c2dcea64f0844360d457a8 (patch)
tree36f8916f6d7067053d406ebd461067c6ba34ea9d /math/calc/Makefile
parent9617b9de5edeffe143444588eaded5f7c53f9f74 (diff)
downloadpkgsrc-3c104a023e8f791658c2dcea64f0844360d457a8.tar.gz
Initial import of new "calc" package:
Advanced Calculator for GNU Emacs
Diffstat (limited to 'math/calc/Makefile')
-rw-r--r--math/calc/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/math/calc/Makefile b/math/calc/Makefile
new file mode 100644
index 00000000000..0b9fffd5b0e
--- /dev/null
+++ b/math/calc/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/11/26 23:35:17 jtb Exp $
+
+DISTNAME= calc-2.02f
+CATEGORIES= math
+MASTER_SITES= ${MASTER_SITE_GNU:=calc/}
+
+MAINTAINER= jtb@netbsd.org
+HOMEPAGE= http://www.gnu.org/software/calc/calc.html
+
+DEPENDS+= emacs>=20.0:../../editors/emacs
+
+EVAL_PREFIX+= PREFIX=emacs
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp/calc
+ @(cd ${WRKSRC}; for i in *.el *.elc calccard.tex; do \
+ ${INSTALL_DATA} $$i ${PREFIX}/share/emacs/site-lisp/calc ; \
+ done)
+ ${INSTALL_DATA} ${WRKSRC}/calc.info* ${PREFIX}/info
+ @install-info --dir-file=${PREFIX}/info/dir \
+ --info-file=${PREFIX}/info/calc.info
+
+.include "../../mk/bsd.pkg.mk"