ports/112106: New port: math/Wcalc A natural-expression command-line calculator

Amarendra Godbole amarendra.godbole at gmail.com
Wed Apr 25 05:40:05 UTC 2007


>Number:         112106
>Category:       ports
>Synopsis:       New port: math/Wcalc A natural-expression command-line calculator
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 25 05:40:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Amarendra Godbole
>Release:        6.2-RELEASE i386
>Organization:
>Environment:
FreeBSD zimbu.vxindia.veritas.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Tue Apr 10 21:00:32 IST 2007    root at zimbu.vxindia.veritas.com:/usr/obj/usr/src/sys/GENERIC.AIRCARD  i386
>Description:
Wcalc is a powerful arbitrary-precision calculator. It has standard functions 
(sin, asinh, logtwo, floor, etc), many pre-defined constants (pi, e, c, etc.), 
variables, "active" variables, command history, and hex/octal/binary i/o, 
conversions, and more.

WWW: http://w-calc.sourceforge.net/
>How-To-Repeat:

>Fix:
Added Wcalc.shar.txt as attachment

Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	Wcalc
#	Wcalc/distinfo
#	Wcalc/pkg-descr
#	Wcalc/Makefile
#
echo c - Wcalc
mkdir -p Wcalc > /dev/null 2>&1
echo x - Wcalc/distinfo
sed 's/^X//' >Wcalc/distinfo << 'END-of-Wcalc/distinfo'
XMD5 (Wcalc-2.2.2.tar.gz) = 6fc73c15f2b5fe5576f4d2ee70e6c13b
XSHA256 (Wcalc-2.2.2.tar.gz) = 77f231efa6831f1229e0a6dc48e02c781060837b4d0caf8cd7eb6c5a6683b8f4
XSIZE (Wcalc-2.2.2.tar.gz) = 285313
END-of-Wcalc/distinfo
echo x - Wcalc/pkg-descr
sed 's/^X//' >Wcalc/pkg-descr << 'END-of-Wcalc/pkg-descr'
XWcalc is a powerful arbitrary-precision calculator. It has standard functions 
X(sin, asinh, logtwo, floor, etc), many pre-defined constants (pi, e, c, etc.), 
Xvariables, "active" variables, command history, and hex/octal/binary i/o, 
Xconversions, and more.
X
XWWW: http://w-calc.sourceforge.net/
X
X-Amarendra Godbole
Xamarendra.godbole at gmail.com
END-of-Wcalc/pkg-descr
echo x - Wcalc/Makefile
sed 's/^X//' >Wcalc/Makefile << 'END-of-Wcalc/Makefile'
X# New ports collection makefile for:	Wcalc
X# Date created:			25-Apr-2007
X# Whom:					Amarendra Godbole <amarendra.godbole at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=			Wcalc
XPORTVERSION=		2.2.2
XCATEGORIES=			math
XMASTER_SITES=		${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	w-calc
X
XMAINTAINER=			amarendra.godbole at gmail.com
XCOMMENT=			A natural-expression command-line calculator
X
XLIB_DEPENDS=		gmp.7:${PORTSDIR}/math/libgmp4 \
X					mpfr.1:${PORTSDIR}/math/mpfr
X
XCFLAGS+=			-I${LOCALBASE}/include
XLDFLAGS+=			-L${LOCALBASE}/lib
X
XGNU_CONFIGURE=		yes
XCONFIGURE_ARGS+=	CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
X
XMAN1=				wcalc.1
X
XPLIST_FILES=		bin/wcalc
X
X.include <bsd.port.mk>
END-of-Wcalc/Makefile
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list