aboutsummaryrefslogtreecommitdiff
path: root/math/ent/Makefile
blob: 853c540c03bb9f327aea9fa07fb5ff3d4bc96018 (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
# Created by: Horia Racoviceanu <horia@racoviceanu.com>
# $FreeBSD$

PORTNAME=	ent
PORTVERSION=	0.20080128
CATEGORIES=	math
MASTER_SITES=	http://www.fourmilab.ch/random/
DISTNAME=	random
DIST_SUBDIR=	${PORTNAME}/${PORTVERSION}

MAINTAINER=	horia@racoviceanu.com
COMMENT=	Entropy calculation and analysis of putative random sequences

USE_ZIP=	yes
NO_WRKSUBDIR=	yes
ALL_TARGET=	ent
PLIST_FILES=	bin/ent

regression-test: build
	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check)

post-patch:
	${REINPLACE_CMD} -e '/CC = /d' -e '/CFLAGS = /s,$$, ${CFLAGS},' \
		${WRKSRC}/Makefile

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

.include <bsd.port.mk>