2013-04-06 22:27:16 +02:00
|
|
|
# $NetBSD: Makefile,v 1.28 2013/04/06 20:27:24 rodent Exp $
|
2000-11-27 00:35:17 +01:00
|
|
|
|
|
|
|
DISTNAME= calc-2.02f
|
2005-08-28 06:25:28 +02:00
|
|
|
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
|
2013-02-17 20:17:55 +01:00
|
|
|
PKGREVISION= 3
|
2000-11-27 00:35:17 +01:00
|
|
|
CATEGORIES= math
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=calc/}
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2010-11-13 22:08:54 +01:00
|
|
|
HOMEPAGE= http://directory.fsf.org/project/calc/
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= Advanced Calculator for GNU Emacs
|
2000-11-27 00:35:17 +01:00
|
|
|
|
2009-08-05 10:20:48 +02:00
|
|
|
EMACS_VERSIONS_ACCEPTED= emacs21 emacs21nox emacs20 \
|
2012-07-22 03:13:29 +02:00
|
|
|
xemacs215 xemacs215nox xemacs214 xemacs214nox
|
2009-08-05 10:20:48 +02:00
|
|
|
|
2008-10-11 11:31:54 +02:00
|
|
|
.include "../../editors/emacs/modules.mk"
|
2000-12-14 00:51:34 +01:00
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
MAKE_ENV+= EMACS=${EMACS_FLAVOR:Q}
|
2000-11-27 00:35:17 +01:00
|
|
|
|
2006-03-05 17:27:22 +01:00
|
|
|
USE_TOOLS+= makeinfo
|
2013-04-06 22:27:16 +02:00
|
|
|
INFO_FILES= yes
|
2002-02-20 19:06:08 +01:00
|
|
|
|
2006-04-06 01:01:15 +02:00
|
|
|
INSTALLATION_DIRS= ${EMACS_INFOPREFIX} ${EMACS_LISPPREFIX}/calc
|
2005-06-17 05:50:19 +02:00
|
|
|
|
2000-11-27 00:35:17 +01:00
|
|
|
do-install:
|
2008-03-04 18:57:17 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.el ${WRKSRC}/*.elc \
|
|
|
|
${WRKSRC}/calccard.tex ${DESTDIR}${EMACS_LISPPREFIX}/calc
|
2006-04-06 01:01:15 +02:00
|
|
|
cd ${WRKSRC}; for f in *.info *.info-[0-9]*; do \
|
|
|
|
${TEST} ! -f "$$f" || \
|
2008-03-04 18:57:17 +01:00
|
|
|
${INSTALL_DATA} "$$f" ${DESTDIR}${EMACS_INFOPREFIX}; \
|
2006-04-06 01:01:15 +02:00
|
|
|
done
|
2000-11-27 00:35:17 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|