25 lines
640 B
Makefile
25 lines
640 B
Makefile
# $OpenBSD: Makefile,v 1.8 2017/07/13 07:36:05 bcallah Exp $
|
|
# Original from: Kyle Wheeler <kyle@memoryhole.net>
|
|
|
|
COMMENT = natural-expression command-line calculator
|
|
|
|
DISTNAME = wcalc-2.5
|
|
CATEGORIES = math
|
|
HOMEPAGE = http://w-calc.sourceforge.net/
|
|
MAINTAINER = Amarendra Godbole <amarendra.godbole@gmail.com>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=w-calc/}
|
|
|
|
WANTLIB = c m readline termcap gmp>=7 mpfr>=0.2
|
|
LIB_DEPENDS = devel/gmp devel/mpfr
|
|
|
|
USE_GMAKE = Yes
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ENV += LDFLAGS="-L${LOCALBASE}/lib" \
|
|
CPPFLAGS="-I${LOCALBASE}/include"
|
|
|
|
.include <bsd.port.mk>
|