pkgsrc/math/calc/Makefile

34 lines
917 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.28 2013/04/06 20:27:24 rodent Exp $
DISTNAME= calc-2.02f
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
PKGREVISION= 3
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GNU:=calc/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://directory.fsf.org/project/calc/
COMMENT= Advanced Calculator for GNU Emacs
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
.include "../../editors/emacs/modules.mk"
MAKE_ENV+= EMACS=${EMACS_FLAVOR:Q}
USE_TOOLS+= makeinfo
INFO_FILES= yes
INSTALLATION_DIRS= ${EMACS_INFOPREFIX} ${EMACS_LISPPREFIX}/calc
do-install:
${INSTALL_DATA} ${WRKSRC}/*.el ${WRKSRC}/*.elc \
${WRKSRC}/calccard.tex ${DESTDIR}${EMACS_LISPPREFIX}/calc
cd ${WRKSRC}; for f in *.info *.info-[0-9]*; do \
${TEST} ! -f "$$f" || \
${INSTALL_DATA} "$$f" ${DESTDIR}${EMACS_INFOPREFIX}; \
done
.include "../../mk/bsd.pkg.mk"