# ex:ts=8
# New ports collection makefile for:	gexpr
# Date created:			Jun 14, 2001
# Whom:				ijliao
#
# $FreeBSD: ports/math/gexpr/Makefile,v 1.3 2003/03/07 06:06:02 ade Exp $
#

PORTNAME=	gexpr
PORTVERSION=	2.0.2
CATEGORIES=	math
MASTER_SITES=	${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR=	apps/math/calc

MAINTAINER=	ijliao@FreeBSD.org
COMMENT=	A shell calculator

LIB_DEPENDS=	gnugetopt:${PORTSDIR}/devel/libgnugetopt

USE_REINPLACE=	yes

MAN1=	gexpr.1

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

.include <bsd.port.mk>
