83fef6bef7
xcalc is a scientific calculator X11 client that can emulate a TI-30 or an HP-10C. This minor maintenance release includes a couple years worth of build improvements, code cleanups, and bug fixes. Alan Coopersmith (9): Remove unused min & max macros from math.c Replace sprintf & strcpy calls with snprintf & strlcpy Remove redundant redeclaration of ‘factorial’ Rename "e" arguments to "ev" to avoid shadowing e() function Mark functions noreturn as suggested by gcc -Wmissing-noreturn configure: Drop AM_MAINTAINER_MODE autogen.sh: Honor NOCONFIGURE=1 Replace index() call with strchr() xcalc 1.0.6 Gaetan Nadon (2): Assume signal handlers return void, as C89 requires Replace signal_t with void Stéphane Aulery (3): Drop CRAY support Use the new M_PI symbol from math.h Use the new M_E symbol from math.h
21 lines
500 B
Makefile
21 lines
500 B
Makefile
# $NetBSD: Makefile,v 1.11 2015/01/20 09:23:09 wiz Exp $
|
|
|
|
DISTNAME= xcalc-1.0.6
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ${MASTER_SITE_XORG:=app/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= joerg@NetBSD.org
|
|
HOMEPAGE= http://xorg.freedesktop.org/
|
|
COMMENT= Scientific calculator for X
|
|
LICENSE= mit
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= pkg-config
|
|
|
|
CONFIGURE_ENV+= APP_MAN_SUFFIX=1
|
|
|
|
MAKE_FLAGS+= appdefaultdir=${PREFIX}/lib/X11/app-defaults
|
|
|
|
.include "../../x11/libXaw/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|