File:  [cvs.NetBSD.org] / pkgsrc / math / amath / Makefile
Revision 1.5: download - view: text, annotated - select for diffs
Tue Jul 25 12:26:05 2017 UTC (7 years, 4 months ago) by leot
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, HEAD
Update math/amath to 1.8.3

Patch provided by Carsten Larsen via PR pkg/52428.

Changes:
v1.8.3 July 21 2017
- Updated help texts and man page.
- Fixed bug in ANSI switch.

# $NetBSD: Makefile,v 1.5 2017/07/25 12:26:05 leot Exp $

DISTNAME=	amath-1.8.3
CATEGORIES=	math
MASTER_SITES=	http://dist1.innolan.net/
MASTER_SITES+=	http://dist2.innolan.net/
MASTER_SITES+=	https://amath.innolan.net/

MAINTAINER=	cs@innolan.net
HOMEPAGE=	https://amath.innolan.net/
COMMENT=	Simple command line calculator
LICENSE=	2-clause-bsd

USE_LANGUAGES=		c c++
USE_TOOLS+=		gmake
HAS_CONFIGURE=		yes
CONFIGURE_ARGS+=	--prefix=${PREFIX}
CONFIGURE_ARGS+=	--mandir=man
CONFIGURE_ARGS+=	--with-libm
CONFIGURE_ARGS+=	CFLAGS=${CFLAGS:Q}
CONFIGURE_ARGS+=	CXXFLAGS=${CXXFLAGS:Q}
CONFIGURE_ARGS+=	LDFLAGS=${LDFLAGS:Q}

BUILD_TARGET=		static
INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/amath ${DESTDIR}${PREFIX}/bin/
	${INSTALL_MAN} ${WRKSRC}/amath.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/

do-test:
	${RUN} cd ${WRKSRC}; ${SETENV} ${TEST_ENV} ./amath test

.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>