mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
578f568f8d
PR: ports/182608 Submitted by: Horia Racoviceanu <horia@racoviceanu.com> (maintainer) [1] Approved by: wg (mentor)
30 lines
687 B
Makefile
30 lines
687 B
Makefile
# 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}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|