6f38a01a1e
This is a major release. Significant changes include: * calc may be built with static or dynamic shared libraries * overhauled Makefiles to use system targets - replaced compiler sets with host targets - targets include: linux, OS X, FreeBSD, simple, default - many changes to Makefile variables * calc source static and extern variables declared with CPP symbols - to make it easier to compile under certain Windoz environments - to assist those who are developing a multi-threaded calc lib * calc library makes it easier to control parse and scan messages * added Makefile.simple for hosts without GNU Make * added custom registers - when calc is run with the -C flag * dropped support of md5 and sha-0 hashes * calc supports real and complex exponentiation bases and exponents - i.e., 2.5 ^ 3.5, 0.5i ^ 0.25, 2.5 ^ 2.718i, 3.13145i ^ 0.30103i added TEST_TARGET
22 lines
611 B
Makefile
22 lines
611 B
Makefile
# $NetBSD: Makefile,v 1.33 2007/09/18 19:40:19 drochner Exp $
|
|
#
|
|
|
|
DISTNAME= calc-2.12.2
|
|
PKGNAME= capc-${DISTNAME:S/t/./}
|
|
CATEGORIES= math
|
|
MASTER_SITES= http://www.isthe.com/chongo/src/calc/ \
|
|
http://prdownloads.sourceforge.net/calc/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.isthe.com/chongo/tech/comp/calc/
|
|
COMMENT= C arbitrary precision calculator
|
|
|
|
USE_TOOLS+= gmake
|
|
BUILD_TARGET= calc-static-only
|
|
MAKE_ENV+= BLD_TYPE=calc-static-only target=pkgsrc
|
|
|
|
TEST_TARGET= check
|
|
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|