aboutsummaryrefslogtreecommitdiffstats
path: root/math/amath/Makefile
blob: 71e06704dd53e39a1e58b717db892bd22d7399ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $FreeBSD$

PORTNAME=   amath
PORTVERSION=    1.6.2
CATEGORIES= math
MASTER_SITES=   http://suyai.innolan.net/

MAINTAINER= cs@innolan.dk
COMMENT=    Simple command line calculator

LICENSE=    BSD2CLAUSE
LICENSE_FILE=   ${WRKSRC}/LICENSE

HAS_CONFIGURE=  yes
CONFIGURE_ARGS= -Wno-inline-new-delete
MAKE_ARGS=  CC=${CC} CXX=${CXX}
PLIST_FILES=    bin/${PORTNAME}
ONLY_FOR_ARCHS= aarch64 amd64 arm armv6 i386 powerpc

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

do-test:
    ${WRKSRC}/${PORTNAME} test

BROKEN_aarch64=     Fails to compile: must define endianness
BROKEN_armv6=       Fails to configure: what cpu is this ?!

.include <bsd.port.mk>