summaryrefslogtreecommitdiff
path: root/math/moo/Makefile
blob: d4643ef406318712511d1d5abb352766ecbb39a2 (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
PORTNAME=	moo
PORTVERSION=	1.5
PORTREVISION=	2
CATEGORIES=	math

MAINTAINER=	skreuzer@FreeBSD.org
COMMENT=	Calculator that accepts C-like syntax as input
WWW=		https://github.com/raylai/moo

LICENSE=	PD

USE_GITHUB=	yes
GH_ACCOUNT=	raylai

PLIST_FILES=	bin/moo share/man/man1/moo.1.gz

.if exists(/usr/include/sys/capsicum.h) && exists(/usr/include/capsicum_helpers.h)
CFLAGS+=	-DHAVE_CAPSICUM
.endif

MAKE_JOBS_UNSAFE=	yes

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/moo ${STAGEDIR}${PREFIX}/bin/
	${INSTALL_MAN} ${WRKSRC}/moo.1 ${STAGEDIR}${PREFIX}/share/man/man1

.include <bsd.port.mk>