summaryrefslogtreecommitdiff
path: root/math/amath/Makefile
blob: 06c9db114aa1e6b719729fe3939bfd9059097a95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $NetBSD: Makefile,v 1.1 2017/01/30 19:49:26 leot Exp $

DISTNAME=	amath-1.6.2
CATEGORIES=	math
MASTER_SITES=	http://suyai.innolan.net/

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

HAS_CONFIGURE=	yes
USE_LANGUAGES=	c c++

INSTALLATION_DIRS=	bin
BINNAME=		amath

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${BINNAME} ${DESTDIR}${PREFIX}/bin/${BINNAME}

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

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