Index: head/math/Makefile =================================================================== --- head/math/Makefile +++ head/math/Makefile @@ -79,6 +79,7 @@ SUBDIR += algae SUBDIR += algotutor SUBDIR += alt-ergo + SUBDIR += amath SUBDIR += analitza SUBDIR += ann SUBDIR += apc Index: head/math/amath/Makefile =================================================================== --- head/math/amath/Makefile +++ head/math/amath/Makefile @@ -0,0 +1,25 @@ +# $FreeBSD$ + +PORTNAME= amath +PORTVERSION= 1.6.0 +CATEGORIES= math +MASTER_SITES= http://suyai.innolan.net/ + +MAINTAINER= cs@innolan.dk +COMMENT= Simple command line calculator + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +HAS_CONFIGURE= yes +MAKE_ARGS= CC=${CC} +PLIST_FILES= bin/${PORTNAME} +USE_GCC= yes + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +do-test: + ${WRKSRC}/${PORTNAME} test + +.include Index: head/math/amath/distinfo =================================================================== --- head/math/amath/distinfo +++ head/math/amath/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1468439952 +SHA256 (amath-1.6.0.tar.gz) = 82caf96dd59a72bf165892c9b8ec429c8f1bf6cecbaa4e9bbfc33b31537f3dbb +SIZE (amath-1.6.0.tar.gz) = 1073583 Index: head/math/amath/pkg-descr =================================================================== --- head/math/amath/pkg-descr +++ head/math/amath/pkg-descr @@ -0,0 +1,7 @@ +Features a case sensitive command line interface, internal IEEE 754 +calculations with 15 significant digits, calculations with real and +complex numbers, variables and user defined functions, logarithmic +and exponential functions, trigonometric and hyperbolic function +and selected mathematical constants and rounding functions. + +WWW: https://gitlab.com/rnger/amath/