# Ports collection makefile for:	emacs-calc
# Date created:		7/10/5
# Whom:			andrewb@cs.cmu.edu
#
# $FreeBSD: ports/math/emacs-calc/Makefile,v 1.2 2005/09/16 20:16:09 pav Exp $
#

PORTNAME=	calc
PORTVERSION=	2.02f
CATEGORIES=	math editors
MASTER_SITES=	${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR=	${PORTNAME}
PKGNAMEPREFIX=	emacs-

MAINTAINER=	andrewb@cs.cmu.edu
COMMENT=	Arbitrary-precision calculator for Emacs

RUN_DEPENDS=	emacs:${PORTSDIR}/editors/emacs
BUILD_DEPENDS=	emacs:${PORTSDIR}/editors/emacs

USE_REINPLACE=	yes
INFO=		calc

post-patch:
	@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/Makefile

.include <bsd.port.mk>
