c0ecf1a087
User visible changes: Fixed a documentation bug for the sgn() builtin. Added the 1<<8/2 evaluation example to "help unexpected". That expression evalutes to 128, not 16 as some C programmers might expect. Fixed a bug in solve.cal where high was not returned in some situations. Fixed a bug reported by Paul & Karen Tomlinson (paulnkaz at pktomlinson dot fsnet dot co dot uk) where calling log multiple times with different values of epsilon resulted in an incorrect value. Fixed a bug where an certains typos (e.g., calling an unknown function) would previously cause calc to exit.
29 lines
705 B
Makefile
29 lines
705 B
Makefile
# $NetBSD: Makefile,v 1.40 2009/09/03 09:59:09 asau Exp $
|
|
#
|
|
|
|
DISTNAME= calc-2.12.4.0
|
|
PKGNAME= capc-${DISTNAME:S/t/./}
|
|
CATEGORIES= math
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=calc/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.isthe.com/chongo/tech/comp/calc/
|
|
COMMENT= C arbitrary precision calculator
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
USE_TOOLS+= gmake
|
|
BUILD_TARGET= calc-static-only
|
|
MAKE_ENV+= BLD_TYPE=calc-static-only target=pkgsrc
|
|
MAKE_ENV+= DEBUG=${CFLAGS:M*:Q}
|
|
|
|
INSTALL_MAKE_FLAGS+= T=${DESTDIR}
|
|
|
|
TEST_TARGET= check
|
|
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|